Commit Graph

1139 Commits

Author SHA1 Message Date
Tomas Votruba
c390fa85ec Updated Rector to commit 4e9214f313edac16dbb4ff6ac48da2d1d706a360
4e9214f313 Copy tests from symplify/autowire-array-parameter (#3152)
2022-12-04 14:35:28 +00:00
Tomas Votruba
83accd4a98 Updated Rector to commit efd09bbb400b2382be39effc206551e6964fa5ea
efd09bbb40 Compatibility with BetterReflection 6.x on ClassFromEnumFactory (#3150)
2022-12-04 13:15:14 +00:00
Tomas Votruba
d2a6e3f136 Updated Rector to commit 06cb6754d6f04703093905fbaddbbbe4f9546a22
06cb6754d6 move package ci status directly to README to make easier to discovery
2022-12-03 10:51:45 +00:00
Tomas Votruba
91e646a878 Updated Rector to commit 7648780936ffae358b4f79230923ee61dde30e14
7648780936 Use Symfony 6.1 to avoid BC break now (#3142)
2022-12-02 14:00:07 +00:00
Tomas Votruba
9181dd5876 Updated Rector to commit 076642f73eee5814a096552c33b28740fbbd48ce
076642f73e [Scoper] Remove manual register DowngradeEnumToConstantListClassRector on config-downgrade.php (#3138)
2022-12-02 12:41:23 +00:00
Tomas Votruba
91f18482f3 Updated Rector to commit 076642f73eee5814a096552c33b28740fbbd48ce
076642f73e [Scoper] Remove manual register DowngradeEnumToConstantListClassRector on config-downgrade.php (#3138)
2022-12-02 12:28:08 +00:00
Tomas Votruba
949696b350 Updated Rector to commit 076642f73eee5814a096552c33b28740fbbd48ce
076642f73e [Scoper] Remove manual register DowngradeEnumToConstantListClassRector on config-downgrade.php (#3138)
2022-12-02 12:17:17 +00:00
Tomas Votruba
6a49e0a4b7 Updated Rector to commit 3699f33c2b928990e05fc17a1f2aec80966dfaec
3699f33c2b Remove symfony/property-access from require-dev (#3140)
2022-12-02 12:15:57 +00:00
Tomas Votruba
3d2c841cea Updated Rector to commit 4e15a691a006b0ee95df856ac18f8a2b399ccfad
4e15a691a0 temporarily skip list
2022-12-01 18:01:51 +00:00
Tomas Votruba
09f8be2dde Updated Rector to commit f387890dbeba0617f9a4f98f44ac1c8f08e6c1b0
f387890dbe [build] add enum to const list downgrade
2022-12-01 16:57:08 +00:00
Tomas Votruba
ff75474d25 Updated Rector to commit 39f43c01cbc34a8bb064f056d39f1b8d2bd7a152
39f43c01cb Use Symfony ~6.1.x to avoid crash on update vendor-patch (#3134)
2022-12-01 14:10:32 +00:00
Tomas Votruba
05f2f137c6 Updated Rector to commit 2b35d2e75ea03ffe643c012485952ec6df3ea2ba
2b35d2e75e [TypeDeclaration] Move Rector Enterprise TypeDeclaration rules here (#3125)
2022-11-29 10:19:51 +00:00
Tomas Votruba
cbd1da8466 Updated Rector to commit 2b35d2e75ea03ffe643c012485952ec6df3ea2ba
2b35d2e75e [TypeDeclaration] Move Rector Enterprise TypeDeclaration rules here (#3125)
2022-11-28 20:42:41 +00:00
Tomas Votruba
bcdfbe4726 Updated Rector to commit 6014da46149a6f8312c1931534eea48bafeda12d
6014da4614 Remove NonInformativeReturnTagRemover (#3121)
2022-11-28 14:43:16 +00:00
Tomas Votruba
060a00ccd9 Updated Rector to commit 93e87a1574bf15cb21a9d5eb0ef84d6a91a30f07
93e87a1574 [Php80] Do not remove existing attribute on NestedAnnotationToAttributeRector (#3116)
2022-11-28 10:38:42 +00:00
Tomas Votruba
105da345bb Updated Rector to commit ab670b487796369245cef17254d310b56805633c
ab670b4877 note
2022-11-28 00:21:32 +00:00
Tomas Votruba
116d294510 Updated Rector to commit 5eff14fcc51da2ba72b763be5cd60183b9db46bc
5eff14fcc5 Deprecated and remove AddArrayParamDocTypeRector to work with strict type declarations only (#3112)
2022-11-28 00:05:06 +00:00
Tomas Votruba
f0d81253f6 Updated Rector to commit 10c76b3d85cc21a8834cd8952ff47a6bbcbf5915
10c76b3d85 [TypeDeclaration] Add AddParamTypeSplFixedArrayRector (#3105)
2022-11-27 21:07:35 +00:00
Tomas Votruba
3b829bfdce Updated Rector to commit 07b529abc4a1e8cd8ebe0ea90333a15016ab5062
07b529abc4 [BetterPhpDocParser] Call phpdocInfo->markAsChanged() on change param/return type on PhpDocTypeChanger (#3099)
2022-11-26 13:08:12 +00:00
Tomas Votruba
96db1edee6 Updated Rector to commit 8ef808705cd8f467602f2411ec831552648295ae
8ef808705c deprecate createShortClassConstFetch() as the FQN must be used by convention (#3092)
2022-11-25 15:33:24 +00:00
Tomas Votruba
bd5d4027f7 Updated Rector to commit 8ef808705cd8f467602f2411ec831552648295ae
8ef808705c deprecate createShortClassConstFetch() as the FQN must be used by convention (#3092)
2022-11-25 15:17:49 +00:00
Tomas Votruba
aecb5f86de Updated Rector to commit 8ef808705cd8f467602f2411ec831552648295ae
8ef808705c deprecate createShortClassConstFetch() as the FQN must be used by convention (#3092)
2022-11-25 15:06:04 +00:00
Tomas Votruba
d446f7302b Updated Rector to commit 7842486329539de6901544f0e50707b6a2aea29e
7842486329 Fix few rules reporting in case of no change (#3090)
2022-11-24 14:41:27 +00:00
Tomas Votruba
c856b5faf0 Updated Rector to commit a9372bb3e90aa966412b2deab075a44769bb119c
a9372bb3e9 Add list-rules command for tool interoperabtility (#3087)
2022-11-23 11:11:18 +00:00
Tomas Votruba
8b12bd8a12 Updated Rector to commit 335d593e34bbc124a505bdb150eb971fb92a0e87
335d593e34 [TypeDeclaration] Handle return self on TypedPropertyFromStrictGetterMethodReturnTypeRector on php 8.0 feature enabled (#3088)
2022-11-23 10:02:01 +00:00
Tomas Votruba
ed44a0660b Updated Rector to commit 30afbb8da236ab0935851b91a7fb4b5cf26aa2e8
30afbb8da2 Fix StrContainsRector when strpos offset is set (#3086)
2022-11-23 07:31:53 +00:00
Tomas Votruba
fde9488adf Updated Rector to commit 30afbb8da236ab0935851b91a7fb4b5cf26aa2e8
30afbb8da2 Fix StrContainsRector when strpos offset is set (#3086)
2022-11-22 20:11:10 +00:00
Tomas Votruba
d164f1a05f Updated Rector to commit eddc376c77b1211e055e7cdbc8214c3d1dae3d8a
eddc376c77 [Core] Remove RectifiedNode value object for RectifiedAnalyzer (#3079)
2022-11-21 16:16:00 +00:00
Tomas Votruba
957a902ebd Updated Rector to commit eddc376c77b1211e055e7cdbc8214c3d1dae3d8a
eddc376c77 [Core] Remove RectifiedNode value object for RectifiedAnalyzer (#3079)
2022-11-21 14:49:30 +00:00
Tomas Votruba
a5406b6411 Updated Rector to commit eddc376c77b1211e055e7cdbc8214c3d1dae3d8a
eddc376c77 [Core] Remove RectifiedNode value object for RectifiedAnalyzer (#3079)
2022-11-20 12:34:31 +00:00
Tomas Votruba
e5b061e232 Updated Rector to commit 23c2282d9aecc36c9123656be3b39dc8edca795e
23c2282d9a [ci] run phpstan on packages too to detect bugs in configs (#3081)
2022-11-19 12:05:34 +00:00
Tomas Votruba
75e646ce54 Updated Rector to commit 6c7caa63c4025b47a382cd2e28b6f05fbcb55e71
6c7caa63c4 Reverts Use MethodCallRename directly (#3080)
2022-11-19 11:50:17 +00:00
Tomas Votruba
8360fa1a7a Updated Rector to commit a8f322ad7e93f7902fca0a057e8d604482f71080
a8f322ad7e [Core] Remove BetterStandardPrinter::pStmt_Class() (#3072)
2022-11-17 10:44:46 +00:00
Tomas Votruba
e6a22bed57 Updated Rector to commit c12f90964a75280c3803eb1c147c51d570411985
c12f90964a Make Rector PHPOffice optional package, as only migrates ~7 years old version (#3061)
2022-11-14 15:07:52 +00:00
Tomas Votruba
46ee9a173a Rector 0.14.8 2022-11-14 14:09:49 +00:00
Tomas Votruba
3495067553 Updated Rector to commit 2be958b4e4db947c63777443eafb886274a5c7c7
2be958b4e4 [Core] Fix resolve scope handling when parent Node just re-printed (#3056)
2022-11-12 18:05:41 +00:00
Tomas Votruba
142e95d9c7 Updated Rector to commit 295c489f26f3509e9980ea0529137e710e7227e3
295c489f26 Update PHP-Parser to ^4.15.2 (#3057)
2022-11-12 17:44:08 +00:00
Tomas Votruba
d72c3a41d9 Updated Rector to commit 8ede862b8de3239aafea64484802903aaa6d5e95
8ede862b8d Update phpstan message (#3042)
2022-11-10 16:47:52 +00:00
Tomas Votruba
b7d3b6ee6d Updated Rector to commit baf8394798205ee0d9c6f27e72f018e0996e624f
baf8394798 Fix var/property usage for RemoveUnusedNonEmptyArrayBeforeForeachRector. (#3040)
2022-11-10 14:51:25 +00:00
Tomas Votruba
728e63c6c2 Updated Rector to commit baf8394798205ee0d9c6f27e72f018e0996e624f
baf8394798 Fix var/property usage for RemoveUnusedNonEmptyArrayBeforeForeachRector. (#3040)
2022-11-10 13:29:01 +00:00
Tomas Votruba
1d6c26bf79 Updated Rector to commit 5aa424865a1cadfa260a14d101d46fda76ec087e
5aa424865a [Core] Typo fix on @param callable on ForeachManipulator and BinaryOpManipulator (#3035)
2022-11-07 09:33:09 +00:00
Tomas Votruba
0d82d6bf1d Updated Rector to commit 64d0a8375814c9da2fe93036e4c0fa5fbf06aa25
64d0a83758 [Php80][CodeQuality] Handle crash on ExplicitMethodCallOverMagicGetSetRector+ChangeSwitchToMatchRector (#3034)
2022-11-05 11:30:02 +00:00
Tomas Votruba
f9414241aa Updated Rector to commit 64d0a8375814c9da2fe93036e4c0fa5fbf06aa25
64d0a83758 [Php80][CodeQuality] Handle crash on ExplicitMethodCallOverMagicGetSetRector+ChangeSwitchToMatchRector (#3034)
2022-11-05 11:18:42 +00:00
Tomas Votruba
ce3c134b0d Updated Rector to commit a5051ff31121d95ac2ccf7db351ea486024a0b3f
a5051ff311 Bump to PHPStan ^1.9.0 (#3033)
2022-11-04 07:12:49 +00:00
Tomas Votruba
896854b9a6 Updated Rector to commit 92a5c65cc2ce07fcdffecce0344c4878184cb7cb
92a5c65cc2 [Php81] Skip on Array Destructuring on ReadOnlyPropertyRector (#3030)
2022-11-02 13:07:49 +00:00
Tomas Votruba
ddc864eff4 Updated Rector to commit 7b7d5a4b8bb61b52a298cbf941b7df131897f55b
7b7d5a4b8b Revert string specific identifier values on Type Mappers (#3024)
2022-11-01 14:15:38 +00:00
Tomas Votruba
b7fb4398da Updated Rector to commit 997e5f4ae8c388b8a12d16539e8109fe821e8fd6
997e5f4ae8 [TypeDeclaration] Skip intersection with iterable on ReturnTypeDeclarationRector on php 8.1 feature enabled (#3022)
2022-10-29 10:54:11 +00:00
Tomas Votruba
34ee94e559 Updated Rector to commit 81d79a85ee8b75e8e61800aefffb3286e870109b
81d79a85ee [PHPStan] Fix Multiple services of type PHPStan\Rules\PHPUnit\CoversHelper on require phpstan-phpunit ^1.2.1 (#3020)
2022-10-28 09:01:53 +00:00
Tomas Votruba
52256749df Updated Rector to commit 40ab9ab2b4d529c8d465d5730c29b09efd5ed3ba
40ab9ab2b4 Move Rector Laravel to the community (#3019)
2022-10-27 17:45:09 +00:00
Tomas Votruba
37117895cd Updated Rector to commit 478cf1456091c3c095870588ebf2cd7a94672264
478cf14560 pin phpstan/phpstan-phpunit to 1.1.3 (#3018)
2022-10-27 12:57:23 +00:00
Tomas Votruba
ccac2c982e Updated Rector to commit b46d5f50092e61888943960a5320e77822e047c3
b46d5f5009 [DeadCode] Handle crash on has first class callable on RemoveUnusedConstructorParamRector (#3015)
2022-10-26 09:00:10 +00:00
Tomas Votruba
39e69b0939 Updated Rector to commit a59fd4879215f2c831e863894fe3447144d5feaf
a59fd48792 Upgrade deprecated set-* (#3013)
2022-10-25 14:01:23 +00:00
Tomas Votruba
b9c04e2a17 Updated Rector to commit a59fd4879215f2c831e863894fe3447144d5feaf
a59fd48792 Upgrade deprecated set-* (#3013)
2022-10-24 17:38:27 +00:00
Tomas Votruba
f9e1eca05d Updated Rector to commit 5131abdb5a98a12658c4d13af3c2be655456bf43
5131abdb5a [EarlyReturn] Handle crash on RemoveAlwaysElseRector+ReturnEarlyIfVariableRector (#3011)
2022-10-24 16:11:57 +00:00
Tomas Votruba
c07fbf550b Updated Rector to commit f915a1f1c9c178fa40f7443dab547397245be278
f915a1f1c9 [Php80] Skip callable type different definition on ClassPropertyAssignToConstructorPromotionRector (#3010)
2022-10-24 08:19:06 +00:00
Tomas Votruba
48bf5c84cd Updated Rector to commit befc5441a1ef5c19cabf9cae0619d5c2cd23a028
befc5441a1 Add real path to filePaths when not false (#3004)
2022-10-21 10:12:40 +00:00
Tomas Votruba
edd2c3657d Updated Rector to commit 71ffc807faa4ee0ec144d5a7b6051a7c86c730c8
71ffc807fa Update all classlike pseudo rector (#3002)
2022-10-18 11:35:10 +00:00
Tomas Votruba
5929517b01 Updated Rector to commit ac76ba0e96b5fe71e38ee28e1a63e81e412199ab
ac76ba0e96 Split test fixture (#2996)
2022-10-16 14:22:53 +00:00
Tomas Votruba
ee8ab57a67 Updated Rector to commit f4f758c7431f66bc97a019eb53055d05c15705c6
f4f758c743 Fix missing extra import on NestedAnnotationToAttributeRector (#2989)
2022-10-15 22:31:48 +00:00
Tomas Votruba
a018694585 Updated Rector to commit ee04ee1dc59ff0a6c3ff5d6558612dce7757a8f2
ee04ee1dc5 Fix multi property default assign (#2986)
2022-10-14 16:51:28 +00:00
Tomas Votruba
0427ebc0e1 Updated Rector to commit 84a720bc93a7ecbce501f2afdff755ac12174a72
84a720bc93 [Core][Symfony] Handle crash on get dynamic value ClassConstFetch by method call on ChangeStringCollectionOptionToConstantRector (#2984)
2022-10-13 23:35:13 +00:00
Tomas Votruba
c694bb8a08 Updated Rector to commit c304b15884418eeba88cebd2a8f090e0abafbaa1
c304b15884 [Core] Remove second param on ClassLikeAstResolver::resolveClassFromClassReflection() (#2975)
2022-10-13 11:06:06 +00:00
Tomas Votruba
cf91d46f0b Updated Rector to commit 2ba0aa6297b0ccc405564cb76c9f9fb939ac8348
2ba0aa6297 syntax
2022-10-13 02:02:59 +00:00
Tomas Votruba
078b535f61 Updated Rector to commit 68a349061e4733a1708ee272bce2f75a35042021
68a349061e [Privatization] Skip Property unsetted on ChangeReadOnlyPropertyWithDefaultValueToConstantRector (#2981)
2022-10-09 10:55:25 +00:00
Tomas Votruba
32c7260742 Updated Rector to commit 1d88337fd2a40fec23671eb7e8662d4ad95a3187
1d88337fd2 [TypeDeclaration] Handle Parent ClassMethod has no Return_ stmt on ReturnTypeDeclarationRector (#2980)
2022-10-07 23:55:31 +00:00
Tomas Votruba
edf6290721 Updated Rector to commit d2ff17ea434ef68e13e62126ec463002e861eaba
d2ff17ea43 [Php81] Skip assigned after defined as constructor promotion on ReadOnlyPropertyRector (#2976)
2022-10-05 09:16:10 +00:00
Tomas Votruba
76b7ca392f Updated Rector to commit 3e9dbc1ffdc6f28322ab796f566174675cadf559
3e9dbc1ffd remove CakePHP from checked CI docs
2022-10-02 21:51:23 +00:00
Tomas Votruba
e87c848801 Updated Rector to commit ff4d797c73a51a3fb12cb644c6911ecd7313ec1b
ff4d797c73 [DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector+RemoveAlwaysElseRector (#2964)
2022-10-02 20:24:31 +00:00
Tomas Votruba
528876da35 Updated Rector to commit 5a6be73baf8c5293e0395a74264335f1e6a02655
5a6be73baf Bump composer dependencies (#2960)
2022-09-29 11:05:10 +00:00
Tomas Votruba
89cb1be74d Updated Rector to commit eeacb4fb2889cd04a4ef532c59337089dc8ecb7c
eeacb4fb28 Add support for interface in AnnotationToAttributeRector rule (#2958)
2022-09-27 14:38:17 +00:00
Tomas Votruba
2395bb1685 Updated Rector to commit 54ff28da2aebcbb38d1f740be83dc839deeb4a99
54ff28da2a Skip short class names on StringClassNameToClassConstantRector, as mostly internal classes or strings (#2950)
2022-09-23 10:18:07 +00:00
Tomas Votruba
34e47ea0dd Updated Rector to commit b54c62993056f984ca68d75c654b98794f931582
b54c629930 Fix typo github worklfow (#2944)
2022-09-22 13:29:36 +00:00
Tomas Votruba
72df4482bd Updated Rector to commit 603502724909905922d0c18646fb86b51d844fc9
6035027249 Skip magic methods for StaticCallOnNonStaticToInstanceCallRector. (#2941)
2022-09-20 05:49:46 +00:00
Tomas Votruba
7f4c965d08 Updated Rector to commit 35b0d39f63b1d8dff169ee673c6e6de1268304b3
35b0d39f63 Skip method of abstract class for StaticCallOnNonStaticToInstanceCallRector. (#2938)
2022-09-19 21:06:34 +00:00
Tomas Votruba
c4794ecd48 Updated Rector to commit 5cd60b2607153f45ea7f113768593f9a364a1291
5cd60b2607 Add rector/rector-php-parser to require in composer.json (#2932)
2022-09-17 09:09:04 +00:00
Tomas Votruba
39cbc1f731 Updated Rector to commit c119bba7b1d7332fa79859d66b51f9b4f287dc6d
c119bba7b1 [Visibility] Does not turn abstraction into static from implicit public abstractions in ExplicitPublicClassMethodRector (#7483) (#2930)
2022-09-16 18:01:57 +00:00
Tomas Votruba
618cb0cb34 Updated Rector to commit 73aa7e3d68d74fc0b9b26fc543bf1207cfc8d0dd
73aa7e3d68 [CodingStyle] Skip has non-printable chars on SymplifyQuoteEscapeRector (#2926)
2022-09-13 13:01:08 +00:00
Tomas Votruba
b425e6ab95 Updated Rector to commit 73aa7e3d68d74fc0b9b26fc543bf1207cfc8d0dd
73aa7e3d68 [CodingStyle] Skip has non-printable chars on SymplifyQuoteEscapeRector (#2926)
2022-09-13 12:50:28 +00:00
Tomas Votruba
445140f239 Updated Rector to commit a41ab99080e117c96cfb7107f58ab7b6d9281aa9
a41ab99080 Fix VarAnnotationIncorrectNullableRector, add support for closure params when generating php doc (#2922)
2022-09-12 07:32:44 +00:00
Tomas Votruba
f2017153a1 Updated Rector to commit effe4d38f68cfe64a38f7c2422befed3a872142e
effe4d38f6 [Skipper] Handle provide direct relative path in Skipper (#2921)
2022-09-11 14:23:52 +00:00
Tomas Votruba
d1c230fe39 Updated Rector to commit effe4d38f68cfe64a38f7c2422befed3a872142e
effe4d38f6 [Skipper] Handle provide direct relative path in Skipper (#2921)
2022-09-11 12:05:24 +00:00
Tomas Votruba
5a43eee340 Updated Rector to commit 2975a1bb0cc1a9e76c4cf09ad9b32494ac90d4e0
2975a1bb0c Skip first class callables in NullToStrictStringFuncCallArgRector (#2919)
2022-09-08 10:45:43 +00:00
Tomas Votruba
c5b7bc6035 Updated Rector to commit 90adbf0431d2f63e80bbb10807ff2786e19f068c
90adbf0431 [DeadCode] Skip assign if cond on RemoveUnusedNonEmptyArrayBeforeForeachRector (#2918)
2022-09-07 10:25:01 +00:00
Tomas Votruba
ed362f4e21 Updated Rector to commit 3de25c9cd3e7efcfa92c94f3cbdc533fdd6a115b
3de25c9cd3 [DeadCode] Handle assign empty array on if cond on RemoveUnusedNonEmptyArrayBeforeForeachRector (#2917)
2022-09-07 08:32:58 +00:00
Tomas Votruba
857e65fe7a Updated Rector to commit e5d927505714bcffd0d8a1a334bd07aa6361ed1c
e5d9275057 [Doctrine] Handle Partial removal annotation has annotation below on RemoveRedundantDefaultPropertyAnnotationValuesRector (#2914)
2022-09-06 03:16:21 +00:00
Tomas Votruba
c58bcae308 Updated Rector to commit e5d927505714bcffd0d8a1a334bd07aa6361ed1c
e5d9275057 [Doctrine] Handle Partial removal annotation has annotation below on RemoveRedundantDefaultPropertyAnnotationValuesRector (#2914)
2022-09-06 03:11:46 +00:00
Tomas Votruba
94c101e7d9 Updated Rector to commit a638a676b4c23c70ed65e52463a4c193d72d2c7d
a638a676b4 [PHP 7.4] Fix literator separator string/int missmatch in PHPStan type (#2913)
2022-09-05 17:52:37 +00:00
Tomas Votruba
c33b229cb8 Updated Rector to commit f06d901e5135d1f7d61d0374d570b7b944b95779
f06d901e51 [Down_To_PHP71] Handle both parent and child typed for trailing comma downgrade on DowngradeLevelSetList::DOWN_TO_PHP_71 (#2910)
2022-09-05 11:33:38 +00:00
Tomas Votruba
03d636ba97 Updated Rector to commit 87d8ac84d83e29f2d1d7479cdde69272bdf8a9e9
87d8ac84d8 Explain how to persist Rector caches between CI runs (#2906)
2022-09-04 16:03:29 +00:00
Tomas Votruba
463e8128b4 Updated Rector to commit 40c546e1835ebd452b0375e8529861b926e151ae
40c546e183 Update nikic/php-parser to 4.15.1 (#2903)
2022-09-04 09:51:45 +00:00
Tomas Votruba
62e856362b Updated Rector to commit a39844ee53169fb0b6d1184672eeb1869a541dd2
a39844ee53 [misc] Add Expr type to value resolver, remove RemoveFuncCallRector as niche feature, cleanup ClassManipulator from unused methods (#2900)
2022-09-03 08:03:15 +00:00
Tomas Votruba
2f2c1d1b5f Updated Rector to commit 3820e0075152c72f618226ff213faf847e3d39f7
3820e00751 [CodeQuality] Skip static::class on InlineConstructorDefaultToPropertyRector (#2899)
2022-09-03 07:04:14 +00:00
Tomas Votruba
c220ca0b07 Updated Rector to commit bfa8e983a341a6acc3d9980b521cb7a1a404ec70
bfa8e983a3 [Testing] Remove AbstractRectorTestCase::yieldFilePathsFromDirectory (#2894)
2022-09-02 11:06:50 +00:00
Tomas Votruba
eea65cd62a Updated Rector to commit 6fa3ade0c296e366490d1e4bcc642dc53ad92674
6fa3ade0c2 [tests] Keep original methods naming for easier upgrade (#2893)
2022-09-02 10:27:12 +00:00
Tomas Votruba
277e853737 Updated Rector to commit dc22a952fe92e3574a27c8e9e7de3d9aead42a4f
dc22a952fe [Scoped] Clean up SmartFileInfo (#2889)
2022-09-01 22:05:56 +00:00
Tomas Votruba
72019c1f5a Updated Rector to commit 88b75c6180cab29f49e7ec6567df80b052987978
88b75c6180 [Console] Move color differ here (#2887)
2022-09-01 20:56:47 +00:00
Tomas Votruba
7211a6c632 Updated Rector to commit 6cdebe40bd259e25f5832c01c8ef65117cf3c010
6cdebe40bd [DX] Remove PackageBuilder classes (#2885)
2022-09-01 20:10:11 +00:00
Tomas Votruba
4e3847e1bc Updated Rector to commit 3c07468691132d0246e55627495a1e7d4cd76a8d
3c07468691 [DX] Localize few PackageBuilder classes (#2884)
2022-09-01 19:50:06 +00:00
Tomas Votruba
28c719d1fb Updated Rector to commit 8961d20f56fa4b39bb21feec1f24422398f13dba
8961d20f56 [DX] Localize multi instance checker and privates accessor from Symplify + bump to PHPStan 1.8.3 (#2883)
2022-09-01 19:30:48 +00:00
Tomas Votruba
5466f0a888 Updated Rector to commit 1ac8dd340121f640d489479995e3b66051009ae9
1ac8dd3401 [tests] note about doTestFileInfo() deprecation
2022-09-01 09:43:09 +00:00
Tomas Votruba
2518d99664 Updated Rector to commit 84a48e5e10be865e5fe6f0bbdcab3a7fc300a886
84a48e5e10 [tests] Use file paths over value objects in tests to improve performance (#2878)
2022-09-01 09:37:14 +00:00
Tomas Votruba
6c20d257e3 Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
d3d18d442c keep relative paths
2022-09-01 09:30:44 +00:00
Tomas Votruba
31ff77efb6 Updated Rector to commit 2ffad9317d2038e4c625341b338ab3cbd77f54cc
2ffad9317d Inline Skipper (#2877)
2022-08-31 21:51:50 +00:00
Tomas Votruba
88b26b2c9b Updated Rector to commit e7c96a405bb28d1720b3b0e34bb4ce771dc22604
e7c96a405b bump
2022-08-31 11:41:10 +00:00
Tomas Votruba
d0fd2796b0 Updated Rector to commit 95d0a8e14840c33c27e810591a4ed1d8bc0b4cdd
95d0a8e148 [DX] Remove symplify/symplify-kernel package (#2874)
2022-08-31 11:18:37 +00:00
Tomas Votruba
da925822fa Updated Rector to commit d2abf114ed5388698cc580a295899110570463ce
d2abf114ed [DX] remove composer-json-manipulator (#2871)
2022-08-31 10:13:06 +00:00
Tomas Votruba
4a341c0b42 Updated Rector to commit f91dba4a7f015ce11123abf065e43c7b0b53e243
f91dba4a7f [DX] Remove only use case of exclusive file fixture, keep it simple (#2866)
2022-08-31 08:46:08 +00:00
Tomas Votruba
3a10283d3a Updated Rector to commit 86ccf3f6854c78c6b7b06b8471d922724cb6542b
86ccf3f685 [Testing] Use own FixtureFileFinder to keep dependency low (#2858)
2022-08-30 16:45:20 +00:00
Tomas Votruba
f251f578f6 Updated Rector to commit bb3ced496fe923594d4af178fdf61328dd731608
bb3ced496f [DX] Cleanup of text file processor, unused MultipleFilesChangedTrait and misc (#2861)
2022-08-30 14:19:19 +00:00
Tomas Votruba
ab9b0db366 Updated Rector to commit cf65fcab69af90371b4a803e6b8cab8eb621c964
cf65fcab69 Add rector-debugging to require-dev (#2857)
2022-08-30 07:53:17 +00:00
Tomas Votruba
785f5e3b06 Updated Rector to commit 74f6b181e82f191c1e471d446a029a06dff16619
74f6b181e8 [DX] Remove upgrade RectorConfig set, as last 2 version use only PHP (#2852)
2022-08-29 21:45:23 +00:00
Tomas Votruba
5edd3689a8 Updated Rector to commit bb59a7c99ad30770689fe011c89377402bf6c7ba
bb59a7c99a [DX] Inline symplify/astral to use only active classes (#2851)
2022-08-29 20:49:28 +00:00
Tomas Votruba
3ad817dad5 Updated Rector to commit a6dfb049d7100c6bb5aa93735199f8434381d210
a6dfb049d7 [DX] Make generator only part of core (#2849)
2022-08-29 18:19:15 +00:00
Tomas Votruba
7823b6a978 Updated Rector to commit 6770dad95ec2b82fa739eb134042589b810e87cd
6770dad95e restore
2022-08-29 16:47:25 +00:00
Tomas Votruba
41129d129c Updated Rector to commit 58a577c5b3d34cc70ba6ea713e7a6c7bbe66354e
58a577c5b3 [automated] Re-Generate Nodes/Rectors Documentation (#2845)
2022-08-29 08:14:50 +00:00
Tomas Votruba
28e29c8294 Updated Rector to commit 58a577c5b3d34cc70ba6ea713e7a6c7bbe66354e
58a577c5b3 [automated] Re-Generate Nodes/Rectors Documentation (#2845)
2022-08-28 00:39:05 +00:00
Tomas Votruba
8af39d268b Updated Rector to commit 0c0007a75f8e0c873ee51b58a2beef7abe7b28aa
0c0007a75f Update branch alias to 0.14-dev (#2844)
2022-08-26 12:33:35 +00:00
Tomas Votruba
6795a511a5 Updated Rector to commit 21695e77a8906dbdce7ada865b140ccbf73dca56
21695e77a8 [Php80] Handle single quoted is_granted on AnnotationToAttributeRector (#2842)
2022-08-26 06:47:21 +00:00
Tomas Votruba
acdbc7be1b Updated Rector to commit 041f41fd4e1d58ffb45d10e2348e62014ce9c0da
041f41fd4e [docs] Remove post Rectors from generated docs (#2833)
2022-08-24 10:32:35 +00:00
Tomas Votruba
e1e0f2856e Updated Rector to commit e66447b7087642b54199d462faee81c43129e3e5
e66447b708 [Transform] Remove ServiceGetterToConstructorInjectionRector, only for risky doctrine case, that should be handled manually (#2832)
2022-08-24 09:50:03 +00:00
Tomas Votruba
6c1c0cfa19 Updated Rector to commit 54feb0dcfaeaafe177d1268ca2117a7fb1a7da1a
54feb0dcfa [EarlyReturn] Handle crash on assign in if else before on RemoveAlwaysElseRector (#2822)
2022-08-23 20:55:52 +00:00
Tomas Votruba
53770fa84f Updated Rector to commit 8e753106800cd314b736e0c54e88be715c63cb25
8e75310680 Little cleanup (#2810)
2022-08-20 20:57:03 +00:00
Tomas Votruba
402dbe5a36 Updated Rector to commit a33b200e615b9451ba091e2724ab707f39198da7
a33b200e61 [BetterPhpDocParser] Add ArrayItemNode to improve value transfer in annotation curly lists (#2786)
2022-08-20 20:49:07 +00:00
Tomas Votruba
6b02618a3b Updated Rector to commit 4bc378bb1846b292946f8c241092a79e863268f7
4bc378bb18 [PHP 8.0] Move more logic to MatchFactory (#2802)
2022-08-19 13:01:36 +00:00
Tomas Votruba
3aae40faed Updated Rector to commit b9f83c87dacd1aa09ea343a4996683ebc424c630
b9f83c87da add fixture with FQN name (#2783)
2022-08-18 19:53:39 +00:00
Tomas Votruba
cdbe494753 Updated Rector to commit b8549f547ab72234078416e53f62ba16ab8582c6
b8549f547a [PHP 8.0] Add NestedAnnotationToAttributeRector (#2781)
2022-08-18 18:02:46 +00:00
Tomas Votruba
d2c2df7ac2 Updated Rector to commit b8549f547ab72234078416e53f62ba16ab8582c6
b8549f547a [PHP 8.0] Add NestedAnnotationToAttributeRector (#2781)
2022-08-18 17:55:50 +00:00
Tomas Votruba
ffd02c6255 Updated Rector to commit f41acb3fc880f7553f2c058fb35d69b3d5a18642
f41acb3fc8 [CodeQuality] Fix out-of-order items removal in UnusedForeachValueToArrayKeysRector (#2779)
2022-08-18 13:19:33 +00:00
Tomas Votruba
e82274c2bf Updated Rector to commit f936077f5fd5428f97d49e58f1e2a22db2c78978
f936077f5f Fix performance issue (#2774)
2022-08-18 11:58:01 +00:00
Tomas Votruba
616efdc680 Updated Rector to commit 27b891b219cc9bfed6540a6abfbfa762e1cc2aaf
27b891b219 Make ServiceGetterToConstructorInjectionRector report only if node has changed, retarget to Class_ node with higher priority (#2772)
2022-08-17 13:56:19 +00:00
Tomas Votruba
050ff0c044 Updated Rector to commit 27b891b219cc9bfed6540a6abfbfa762e1cc2aaf
27b891b219 Make ServiceGetterToConstructorInjectionRector report only if node has changed, retarget to Class_ node with higher priority (#2772)
2022-08-17 09:48:06 +00:00
Tomas Votruba
1539934554 Updated Rector to commit 244fb1cebce834698e9d6f5a67a3d3552addf49d
244fb1cebc [DeadCode] Fix RemoveUnusedPrivateMethodParameterRector args keys re-order (#2770)
2022-08-17 08:52:30 +00:00
Tomas Votruba
6c0394fa59 Updated Rector to commit 128cc91038c48bb5a10901447820bcf9676512ba
128cc91038 [Doc] Update count rules 500+ -> 400+ in readme (#2765)
2022-08-14 12:43:17 +00:00
Tomas Votruba
a67329d33a Updated Rector to commit 3c88742dd13d49ba51c84817d746a9e2b59500e9
3c88742dd1 [CodeQuality][Up_TO_PHP_81] Handle crash indentation on combination LevelSetList::UP_TO_PHP_81 with SetList::CODE_QUALITY (#2760)
2022-08-13 13:45:27 +00:00
Tomas Votruba
4100d6e660 Updated Rector to commit 47d25befa5ca7aa348e9a27125edebc6e62eaf68
47d25befa5 [Php73] Skip escaped Dash on RegexDashEscapeRector (#2753)
2022-08-12 17:18:44 +00:00
Tomas Votruba
26bacab80c Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:46:08 +00:00
Tomas Votruba
967bbc6b59 Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:29:35 +00:00
Tomas Votruba
dce47c75f3 Updated Rector to commit 93b63b0a86e26cb9d15bcc61c3d840f703a1472c
93b63b0a86 [Php54][Php80] Handle no scope on LongArrayToShortArrayRector+AnnotationToAttributeRector (#2749)
2022-08-09 20:46:41 +00:00
Tomas Votruba
420929251c Updated Rector to commit 17257b860adf08f36e4504b6d7a444e5eef987a2
17257b860a remove duplicated test
2022-08-09 20:16:51 +00:00
Tomas Votruba
9348cb36bc Updated Rector to commit c8c3e82a05436c4c128fd6a5bb2a7207c24a7c53
c8c3e82a05 Move Nette extension from the core to the community (#2746)
2022-08-09 20:03:15 +00:00
Tomas Votruba
8885e287b6 Updated Rector to commit b9cc90c058942d82f84a68f3d1971b2db6b1601d
b9cc90c058 Make use of new types by fixed rector/phpstan-rules extensions (#2748)
2022-08-09 19:37:14 +00:00
Tomas Votruba
f7bb838601 Updated Rector to commit f0425bc3cb3d5855da1bff9c38b872a9003e357b
f0425bc3cb Improve scope, PHPStan extension types (#2747)
2022-08-09 13:39:17 +00:00
Tomas Votruba
83bdde50fe Updated Rector to commit 07b54b48ec70f8349a36239316ecf5fb2b79798a
07b54b48ec improve PhpDocInfo generics to local only
2022-08-09 10:07:17 +00:00
Tomas Votruba
ba5ca07800 Updated Rector to commit b8fec6418f6bab31d807fc9eef4167aa74277847
b8fec6418f cleanup
2022-08-07 23:37:28 +00:00
Tomas Votruba
c79a46ee2a Updated Rector to commit d68bc4ccf6fca72f748cb3b9b80264901094b3d6
d68bc4ccf6 bump deps
2022-08-07 12:27:55 +00:00
Tomas Votruba
eb23cc5b15 Updated Rector to commit 86682e4848dcfaecdb6dac7d07ffcb4cd47e69bf
86682e4848 Less doc, move from NodeRemover from AbstractRector - use directly or remove nodes right at the moment - that creates safer tree (#2741)
2022-08-06 23:18:58 +00:00
Tomas Votruba
b9ad506421 Updated Rector to commit 86682e4848dcfaecdb6dac7d07ffcb4cd47e69bf
86682e4848 Less doc, move from NodeRemover from AbstractRector - use directly or remove nodes right at the moment - that creates safer tree (#2741)
2022-08-06 22:58:46 +00:00
Tomas Votruba
089ad6e357 Updated Rector to commit 86682e4848dcfaecdb6dac7d07ffcb4cd47e69bf
86682e4848 Less doc, move from NodeRemover from AbstractRector - use directly or remove nodes right at the moment - that creates safer tree (#2741)
2022-08-06 21:53:15 +00:00
Tomas Votruba
ac89ac3559 Updated Rector to commit 502d0ad3805984c4e3c0a8c6636c1174068169fc
502d0ad380 [DeadCode] Handle assign in If_ cond on RemoveUnusedNonEmptyArrayBeforeForeachRector (#2734)
2022-08-05 09:27:15 +00:00
Tomas Votruba
80bfee9246 Updated Rector to commit 685dc702a0dc6c8490bf1d9c39f8a8072e4333f0
685dc702a0 Ability to yield files with names (#2732)
2022-08-04 19:19:43 +00:00