2469 Commits

Author SHA1 Message Date
Tomas Votruba
a23b777a9a Updated Rector to commit 3a96b9097d6fbc29085210f2d85dd5d95755ef31
3a96b9097d [DeadCode] Skip fluent return  on RemoveEmptyMethodCallRector (#521)
2021-07-27 11:16:44 +00:00
Tomas Votruba
9d2869edb7 Updated Rector to commit e5d95bda102dc870e822f2ba7b97f95ec54e62c1
e5d95bda10 [TypeDeclaration] Handle Recursive multiple class string array on CompleteVarDocTypePropertyRector (#520)
2021-07-26 23:57:06 +00:00
Tomas Votruba
211eb8ce3c Updated Rector to commit 834ea497963dbc20a452b0ebabab141ac8ef6681
834ea49796 [TypeDeclaration] Skip multiple class-string[] array on CompleteVarDocTypePropertyRector (#518)
2021-07-26 16:43:00 +00:00
Tomas Votruba
97c6e16a85 Updated Rector to commit b47f2c980dac6f39c680c393489c843c3d6a5498
b47f2c980d [TypeDeclaration] Keep simple class on auto import for CompleteVarDocTypePropertyRector (#513)
2021-07-26 13:23:18 +00:00
Tomas Votruba
6ead7ed41b Updated Rector to commit 970769d3f91d6d020e3ab8d8863f4af0e06ca498
970769d3f9 [TypeDeclaration] Handle numeric string check on CompleteVarDocTypePropertyRector (#516)
2021-07-26 13:13:36 +00:00
Tomas Votruba
516a748cf7 Updated Rector to commit b47f2c980dac6f39c680c393489c843c3d6a5498
b47f2c980d [TypeDeclaration] Keep simple class on auto import for CompleteVarDocTypePropertyRector (#513)
2021-07-26 13:12:59 +00:00
Tomas Votruba
c231e32779 Updated Rector to commit eb91c61b9537167d6e07a08eae8874ad2c294f5d
eb91c61b95 [Config] Clean up rector.php config (#514)
2021-07-26 09:06:10 +00:00
Tomas Votruba
dfa7a8133f Updated Rector to commit 923bb729839db311cdc77f3105164949a9da61a7
923bb72983 [Naming] Remove MakeBoolPropertyRespectIsHasWasMethodNamingRector, not reliable and rather PHPStan scope (#511)
2021-07-25 16:57:05 +00:00
Tomas Votruba
3e96cfde08 Updated Rector to commit ba990a2ec7a4569d996ee70e2b6ef1d7d19adef3
ba990a2ec7 [Php74] Skip cast (string) on ReflectionType on ChangeReflectionTypeToStringToGetNameRector (#510)
2021-07-25 14:35:58 +00:00
Tomas Votruba
c4c84e0db7 Updated Rector to commit 34fff11f804db752790ca22c7fd5e69bbf51f037
34fff11f80 Remove deprecated addConstructorDependencyToClass() from AbstractRector class, use PropertyToAddCollector directly instaed (#506)
2021-07-25 11:42:11 +00:00
Tomas Votruba
3f2ea1ec26 Updated Rector to commit dfbd366b74df51ca25f509c779499cd9978b5045
dfbd366b74 [Transform] Add MethodCallToMethodCallRector (#505)
2021-07-25 11:10:57 +00:00
Tomas Votruba
8f07228ff7 Updated Rector to commit 93add0f6c9aef0d30a46c16be1ac1ad013b6d3e4
93add0f6c9 [TypeDeclaration] Return null when  is null on AllAssignNodePropertyTypeInferer::inferProperty() (#504)
2021-07-25 11:00:04 +00:00
Tomas Votruba
4a70b89e41 Updated Rector to commit 4456c4690bbe679448a02e20ebc521b1fa9b6b48
4456c4690b extend AutowiredClassMethodAnalyzer with property
2021-07-25 07:47:04 +00:00
Tomas Votruba
4c03335bdf Updated Rector to commit 771a3390b05887e1ff9443cb8b697b3a7455b4ca
771a3390b0 [TypeDeclaration] Handle simple class name as string for non-native class (#501)
2021-07-24 11:53:32 +00:00
Tomas Votruba
bdc5fdd9c5 Updated Rector to commit e3a1f9399b380bc3dd7b6371eeb270aaa14adf96
e3a1f9399b Fix trait check in ClassManipulator (#497)
2021-07-23 12:47:55 +00:00
Tomas Votruba
27e4e06416 Updated Rector to commit 5967ffa2674cda52c5487be141a0b5297e913035
5967ffa267 Fix along other packages gha (#492)
2021-07-23 06:16:10 +00:00
Tomas Votruba
a3e534ff19 Updated Rector to commit db2e76b99cfca0c66d190410f2011a073451e7dc
db2e76b99c load stubs in config
2021-07-22 23:37:17 +00:00
Tomas Votruba
de7dc26c17 Updated Rector to commit 0f9dd92f6c206568dbeb948f98355ecaaff3d205
0f9dd92f6c Fix ClassPropertyAssignToConstructorPromotionRector to skip properties that have attributes (#468)
2021-07-22 17:17:29 +00:00
Tomas Votruba
918f365f5d Updated Rector to commit 17db5110437df6b5610ff1090d9519372bae8e9b
17db511043 [TypeDeclaration] Handle nullable array param type on AddArrayParamDocTypeRector (#485)
2021-07-22 17:04:20 +00:00
Tomas Votruba
29db7ec980 Updated Rector to commit 1747d9899af2115e6aa0af488a106b3abc8ea413
1747d9899a [DeadCode] Skip next used as variable variable on RemoveUnusedVariableAssignRector (#486)
2021-07-22 14:50:45 +00:00
Tomas Votruba
8b47bb5ba9 Updated Rector to commit bba606c609ede6368a7cd1a84c73b9d86b1480aa
bba606c609 Fix alias object imports (#480)
2021-07-21 14:23:45 +00:00
Tomas Votruba
aae88d8c24 Updated Rector to commit dc10595b7c60fef8de68ab6981264dff075a1b23
dc10595b7c [Privatization] Handle empty construct change property to local variable on ChangeLocalPropertyToVariableRector (#479)
2021-07-21 13:50:51 +00:00
Tomas Votruba
e3f99041de Updated Rector to commit 24a32dfefb21f925bbf48ad58b3d834d7988ca40
24a32dfefb Fix docs double import (#478)
2021-07-21 13:46:30 +00:00
Tomas Votruba
d15985c4e5 Updated Rector to commit 242fa166104396ce6835c07b69eef3cd0936c653
242fa16610 avoid using deprecated method directly
2021-07-21 09:38:33 +00:00
Tomas Votruba
1127b0c4e2 Updated Rector to commit bc9d2d48d5c7bd9fe011377e46b0dca464c8dceb
bc9d2d48d5 [DX] Add MissedRectorDueVersionChecker (#465)
2021-07-21 09:35:57 +00:00
Tomas Votruba
843b27c4dc Updated Rector to commit 83419c4376e36680d869e5569482127662372250
83419c4376 [CodeQuality] Handle both ExplicitBoolCompareRector + CountArrayToEmptyArrayComparisonRector usage (#474)
2021-07-21 08:48:08 +00:00
Tomas Votruba
7483b5a016 Updated Rector to commit 692e9e3db43bf4786fcd8fd7980ff6b239344620
692e9e3db4 Rector 7.0 Native init steps (#475)
2021-07-21 08:41:12 +00:00
Tomas Votruba
7d162cbaa1 Updated Rector to commit 9953c4f59cd3ac1122d9d50461324e338cee725a
9953c4f59c fix cs
2021-07-20 20:58:53 +00:00
Tomas Votruba
8e2ec60a86 Updated Rector to commit 7427f6df2aa3ea658a82491d8ded778fd91b694d
7427f6df2a [DowngradePhp80] Allow FuncCall on DowngradeNamedArgumentRector (#466)
2021-07-20 20:57:20 +00:00
Tomas Votruba
85c097bb56 Updated Rector to commit 0fe1656da65f6f53ae2b0cacf42b3b21317ae662
0fe1656da6 [DeadCode] Fix RemoveUnusedPromotedPropertyRector for private trait-used promoted param (#470)
2021-07-20 20:56:20 +00:00
Tomas Votruba
9e4b848150 Updated Rector to commit 48ccb539d49aede106e02c5a855b51f8548f3c07
48ccb539d4 [DeadCode] Handle null start token position attribute in NodeByTypeAndPositionCollector (#469)
2021-07-20 14:23:43 +00:00
Tomas Votruba
cad500c817 Updated Rector to commit 0d3e54357f39cef2be8581d78596be1a9e252313
0d3e54357f extract VendorLocationDetector (#462)
2021-07-19 20:57:26 +00:00
Tomas Votruba
1c8f0de25b Updated Rector to commit 9da4597c9a6d76d8c0d83ec13410a9d479526b71
9da4597c9a Improve attribute order rule (#460)
2021-07-19 09:21:13 +00:00
Tomas Votruba
550e40fa60 Updated Rector to commit 1c76f252599680d1ea8d3cd934c0a47a0cdfcbb0
1c76f25259 [Privatization][TypeDeclaration] Invalid return type on use RepeatedLiteralToClassConstantRector + ReturnTypeDeclarationRector (#457)
2021-07-19 08:07:40 +00:00
Tomas Votruba
767752c16e Updated Rector to commit bb41d721161826eb0fc18373b1ec99cd2e01a25d
bb41d72116 [CodingStyle] Add OrderAttributesRector (#459)
2021-07-19 06:34:07 +00:00
Tomas Votruba
0ead874fad Updated Rector to commit 75c06eab69f50725add0c315bc6dfaf4a7b2f5c5
75c06eab69 Fix match static method name in annotation (#446)
2021-07-19 05:06:26 +00:00
Tomas Votruba
fcdb802092 Updated Rector to commit 10e545fc241963b482f9621915c8bdaacc15d8f9
10e545fc24 [TypeDeclaration] Handle nullable return static type on ReturnTypeDeclarationRector (#456)
2021-07-18 15:29:48 +00:00
Tomas Votruba
f111676d1e Updated Rector to commit aaa5b3adcef942882c3b216c39296f05ab7c8642
aaa5b3adce [TypeDeclaration] Fixes Return Type static in ReturnTypeDeclarationRector (#454)
2021-07-18 11:06:04 +00:00
Tomas Votruba
e6402f8fb3 Updated Rector to commit dd72a0e149a71c8981afe4b3b3c595a5934c391d
dd72a0e149 [TypeDeclaration] Skip nullable typed on AddArrayParamDocTypeRector (#455)
2021-07-18 11:04:49 +00:00
Tomas Votruba
d77b300a95 Updated Rector to commit 2fc18bd2c0f1a0f5a3183e9115abd597e87f2241
2fc18bd2c0 [Rectify] Manual twice run rector against rules directory (#448)
2021-07-18 02:11:18 +00:00
Tomas Votruba
2a4b9bb9b2 Updated Rector to commit 747e026bfd1b0af8001ae0348ce0b10f9de45478
747e026bfd fix cs
2021-07-17 17:26:06 +00:00
Tomas Votruba
7b2bf95199 Updated Rector to commit d3f814ca27b9cd41b65c9eb455761ee316b3fa01
d3f814ca27 cleanup
2021-07-17 17:24:05 +00:00
Tomas Votruba
e3f781999f Updated Rector to commit 2a28758894a0a5668f6d369714c5d731737ec6fd
2a28758894 [Core] Fix --no-progress-bar option not applied (#447)
2021-07-17 03:01:09 +00:00
Tomas Votruba
e71a1c12e1 Updated Rector to commit b001e388ccfb37f8af1f4873c63212a0155f642a
b001e388cc [TypeDeclaration] Skip ReturnTypeFromStrictTypedCallRector on possible no return (#441)
2021-07-16 16:43:25 +00:00
Tomas Votruba
9d280b5757 Updated Rector to commit 40fbe10f105f92d3c895750d1c37c977be951e82
40fbe10f10 [Generics] Remove GenericsPHPStormMethodAnnotationRector, now native in PHPStorm (#444)
2021-07-16 14:37:41 +00:00
Tomas Votruba
dd04e0a00c Updated Rector to commit 9c19b3a1027d1fbb674c98f4d2606420f70f25b3
9c19b3a102 Fix PHPStan notice (#443)
2021-07-16 10:06:10 +00:00
Tomas Votruba
cc15e42d73 Updated Rector to commit a0f2ad97896e7b0afc830e0f51c89679948dd2be
a0f2ad9789 [Privatization] Skip ChangeGlobalVariablesToPropertiesRector on read only global variable (#442)
2021-07-16 09:16:38 +00:00
Tomas Votruba
81db79d69e Updated Rector to commit b2c0a05d56fafa8c2690261e28aa515163f5c7eb
b2c0a05d56 [DeadCode] Skip RemoveAssignOfVoidReturnFunctionRector on used in next statement (#434)
2021-07-15 23:10:57 +00:00
Tomas Votruba
cae21ff247 Updated Rector to commit acabcfc4565c3691eb1f2076db85524edc583a9b
acabcfc456 [TypeDeclaration] Do not add return type on parent Closure for deep closure has return type on ReturnTypeFromStrictTypedCallRector (#439)
2021-07-15 22:20:38 +00:00
Tomas Votruba
65a21970aa Updated Rector to commit f7ba2752e3c9731621d9b81e535dc7d998c4aa1d
f7ba2752e3 Cleanup (#438)
2021-07-15 10:36:02 +00:00