Tomas Votruba
a93d572d86
Updated Rector to commit ebd4c3fee68fd84af59218fc0b0c4d744f2c7929
...
ebd4c3fee6
[Renaming] Skip renaming method call on RenameMethodRector when both old and new exists, which implements interface as config (#2276 )
2022-05-11 00:39:05 +00:00
Tomas Votruba
7ada631151
Updated Rector to commit 1dd739aab6964f4409b58c4ca59b8b9673e92069
...
1dd739aab6
Update RemoveAlwaysTrueConditionSetInConstructorRector to return stmts (#2280 )
2022-05-10 16:36:06 +00:00
Tomas Votruba
5a70fb04b1
Updated Rector to commit 27476c0909954feb7681318c66626408f0b9f396
...
27476c0909
add few fixtures (#2279 )
2022-05-10 16:31:36 +00:00
Tomas Votruba
9306ff041a
Updated Rector to commit fa073d440863d477d2ee844c1dfb6bf481a2ff1f
...
fa073d4408
[CodeQuality] Add SimplifyIfExactValueReturnValueRector (#2278 )
2022-05-10 16:14:43 +00:00
Tomas Votruba
d72f56e566
Updated Rector to commit 30f2f9190987a0209e3e4aad209cce622c47595d
...
30f2f91909
[CodeQuality][DeadCode] Handle SimplifyUselessVariableRector+RemoveOverriddenValuesRector (#2277 )
2022-05-10 12:38:09 +00:00
Tomas Votruba
447f9a972f
Updated Rector to commit e5a45afba3becb12d8acbb6216dbeba623986c21
...
e5a45afba3
[CodeQuality][CodingStyle] Handle Scope not available error on CallableThisArrayToAnonymousFunctionRector+CountArrayToEmptyArrayComparisonRector (#2274 )
2022-05-09 20:16:44 +00:00
Tomas Votruba
0632acb74b
Updated Rector to commit 3c41b72a6b042f91645448d44200101b4b7d0be3
...
3c41b72a6b
cleanup phpstan.neon (#2273 )
2022-05-09 11:32:47 +00:00
Tomas Votruba
377fd1911e
Updated Rector to commit a99574d6c57102de33751a50df726ed6cbabd6f9
...
a99574d6c5
Mini optimizations (#2272 )
2022-05-09 11:16:33 +00:00
Tomas Votruba
0070cfd0cc
Updated Rector to commit 4468743419d944b511ec2bcb5697c9a8a636b725
...
4468743419
[FEAT] refacto OrderAttributesRector (#2243 )
2022-05-09 10:52:19 +00:00
Tomas Votruba
fa402052ff
Updated Rector to commit 97a33aa69494836b44ce68e0803e2568233f3e06
...
97a33aa694
[Core] Remove is_string() check on glob loop data (#2267 )
2022-05-09 09:51:17 +00:00
Tomas Votruba
ec43ca03ec
Updated Rector to commit 97a33aa69494836b44ce68e0803e2568233f3e06
...
97a33aa694
[Core] Remove is_string() check on glob loop data (#2267 )
2022-05-09 06:43:28 +00:00
Tomas Votruba
bb468e29f5
Updated Rector to commit 97a33aa69494836b44ce68e0803e2568233f3e06
...
97a33aa694
[Core] Remove is_string() check on glob loop data (#2267 )
2022-05-08 23:26:26 +00:00
Tomas Votruba
56775932a2
Updated Rector to commit 60708d4501e143a77f70119bd2609df50782934e
...
60708d4501
[Core] Clean up repetitive is_file and manual register stub on BootstrapFilesIncluder (#2264 )
2022-05-08 23:16:31 +00:00
Tomas Votruba
aa0465d388
Updated Rector to commit 975fdf113fab99b6120383211e997da2c820bd0a
...
975fdf113f
[DX] Add StmtsAwareInterface to catch node by type (#2269 )
2022-05-08 20:57:50 +00:00
Tomas Votruba
5b56a7d2ca
Updated Rector to commit 5a122e2b821bdf496cb19abc59c3d13c4db7ed7a
...
5a122e2b82
[CodingStyle] Ensure node changed when return on SymplifyQuoteEscapeRector (#2268 )
2022-05-08 13:28:44 +00:00
Tomas Votruba
6dd3060af0
Updated Rector to commit ae2e38ed988ab87ed45bd9c4524a8f8b6a90c33e
...
ae2e38ed98
[CodeQuality] Skip empty array push args and no 2nd arg on ChangeArrayPushToArrayAssignRector (#2266 )
2022-05-08 11:21:43 +00:00
Tomas Votruba
374898f010
Updated Rector to commit 88c9b8e20dbd62bbc371c933c81bd61e9283d555
...
88c9b8e20d
Make ChangeArrayPushToArrayAssignRector use stmts (#2265 )
2022-05-08 10:54:09 +00:00
Tomas Votruba
52fecaf9ca
Updated Rector to commit e341cc26fe62e54810ebbaaa11aa45f098d3aa84
...
e341cc26fe
[NodeNameResolver] Remove NodeNameResolver::isLocalPropertyFetchNamed() method, already handled at PropertyFetchAnalyzer::isLocalPropertyFetchName() (#2263 )
2022-05-08 08:49:04 +00:00
Tomas Votruba
992aade98a
Updated Rector to commit d89c23267c908bc128352cad5fd5763a0f413db5
...
d89c23267c
[automated] Re-Generate Nodes/Rectors Documentation (#2262 )
2022-05-08 00:33:36 +00:00
Tomas Votruba
f958d0a9c9
Updated Rector to commit fb8260c3a171ae29ac3a7c01e0dcb91ffb1077a0
...
fb8260c3a1
[DeadCode] Ensure no stmts check on RemovePhpVersionIdCheckRector (#2260 )
2022-05-07 18:51:48 +00:00
Tomas Votruba
f63eef01d0
Updated Rector to commit 2dd8c6b81436f32ff91cabeb6ca658d89a7cae47
...
2dd8c6b814
[CodeQuality][DeadCode] Add For_, Closure, and Finally_, Case_, Catch_ to NodeTypeGroup::STMTS_AWARE (#2258 )
2022-05-07 18:33:57 +00:00
Tomas Votruba
0f7f24ba96
Updated Rector to commit 333933b2d37035134f71f29af0f2e923caaef45a
...
333933b2d3
Change RemovePhpVersionIdCheckRector to work with direct If_ (#2259 )
2022-05-07 18:21:39 +00:00
Tomas Votruba
ae706b6205
Updated Rector to commit e97288c13e76eadb2265145d9d680d757924a194
...
e97288c13e
[Scoped] Rollback Symplify\SmartFileSystem\SmartFileInfo require at bootstrap.php (#2256 )
2022-05-07 13:44:50 +00:00
Tomas Votruba
b4e0bff933
Updated Rector to commit 6baafbc5a6ec38b51a642f55101a3760bd50c0f9
...
6baafbc5a6
[Scoper] Remove SmartFileInfo and ContainerConfigurator setup on bootstrap.php (#2253 )
2022-05-07 11:00:41 +00:00
Tomas Votruba
4b5a7031be
Updated Rector to commit 3135f293622611407e6fb403b335077d16bfee74
...
3135f29362
[DeadCode] Ensure has stmts on RemoveDeadInstanceOfRector (#2252 )
2022-05-07 10:26:06 +00:00
Tomas Votruba
fe23d4f8ca
Updated Rector to commit c91f3ad6299b08583c2b994e6c09592f6ddfc200
...
c91f3ad629
refactor RemoveDeadInstanceOfRector to direct return (#2251 )
2022-05-07 09:38:38 +00:00
Tomas Votruba
e1b8b2e468
Updated Rector to commit 81ba0c90bd2ce5a56e5a1fd5df3fc4277357ed88
...
81ba0c90bd
[Scoper] Remove PHPStanStubLoader: move to dedicated file to define native classes (#2249 )
2022-05-07 09:29:04 +00:00
Tomas Votruba
2786be52f6
Updated Rector to commit c2ade0583ccd8fe1413be641924f5b1576ffad8b
...
c2ade0583c
[DX] Refactor ChangeNestedIfsToEarlyReturnRector to direct return (#2250 )
2022-05-07 09:28:12 +00:00
Tomas Votruba
755d463439
Updated Rector to commit 1f6c7a6a20563e0b808da14688098c4c0ed592fb
...
1f6c7a6a20
[Scoper] Clean up bootstrap.php: move enum definitions to dedicated file and require in BootstrapFilesIncluder (#2248 )
2022-05-07 08:49:37 +00:00
Tomas Votruba
3178565814
Updated Rector to commit b54fb770735f26d457370a95e64915d3d039b93c
...
b54fb77073
[Scoper] Remove PHPStanStubLoader->loadStubs() call on config-downgrade (#2247 )
2022-05-07 07:13:23 +00:00
Tomas Votruba
24318b9a19
Updated Rector to commit 26cad67b1ccfc7051ed0d311e20619b71a995e09
...
26cad67b1c
[CodingStyle] Clean up getParents() call on MakeInheritedMethodVisibilitySameAsParentRector (#2246 )
2022-05-07 00:18:08 +00:00
Tomas Votruba
010ad20f65
Updated Rector to commit 6d814fb385195c2f0099b9816ceeebb5879fc1e6
...
6d814fb385
Refactor DowngradePipeToMultiCatchExceptionRector to work directly with stmts (#2245 )
2022-05-06 22:55:21 +00:00
Tomas Votruba
6a2c9a5de2
Updated Rector to commit 176d6d7e2a2c5b417f1821dace72d3867e4cecdc
...
176d6d7e2a
Refactor ChangeAndIfToEarlyReturnRector to work with stmts (#2244 )
2022-05-06 22:31:31 +00:00
Tomas Votruba
7885ef1835
Updated Rector to commit 712237ec22769c8b256cd9e8356e8dc99bdcb819
...
712237ec22
Error message improvements (#2242 )
2022-05-06 07:42:42 +00:00
Tomas Votruba
a548c62cde
Updated Rector to commit ede1106a69f3ef7aa665fcfada9906e56029bd28
...
ede1106a69
[DX] Improve DowngradeCatchThrowableRector to return nodes directly (#2241 )
2022-05-06 07:17:49 +00:00
Tomas Votruba
c3266af645
Updated Rector to commit 74b404e1d1f0d11d09c16eb542c951bc9d8078df
...
74b404e1d1
[DX] Change SplitListAssignToSeparateLineRector to direct return (#2240 )
2022-05-05 18:07:01 +00:00
Tomas Votruba
d59bf7cd51
Updated Rector to commit 561e3963e101e8b09bfe0124c159129e9b25d73e
...
561e3963e1
Use refactorWithScope() in MakeInheritedMethodVisibilitySameAsParentRector (#2236 )
2022-05-05 17:42:23 +00:00
Tomas Votruba
7242caf99b
Updated Rector to commit 7f5acb613bb4dc72aef2a8aef14fb16d8281c4e5
...
7f5acb613b
[Core] Add BetterNodeFinder::findFirstInlinedPrevious() (#2238 )
2022-05-05 13:58:33 +00:00
Tomas Votruba
29c4bbb97a
Updated Rector to commit aa6524e8423b91079f941d8225e830b964c0a8d3
...
aa6524e842
[Core] Improve PropertyFetchAnalyzer::PropertyFetchAnalyzer() to check against Variable and Name (#2237 )
2022-05-05 10:19:49 +00:00
Tomas Votruba
4b66436386
Updated Rector to commit d8c523625c1f22f1924cf5767002e1e282d2e88e
...
d8c523625c
Various property + class context improvements (#2234 )
2022-05-05 09:39:03 +00:00
Tomas Votruba
b674e4a170
Updated Rector to commit 4701b70f5a384cd39fc80b1f572a46214fde4dc0
...
4701b70f5a
Clean up ComplexNodeRemover::resolvePropertyFetchFromDimFetch() (#2235 )
2022-05-05 09:37:41 +00:00
Tomas Votruba
07a94318c5
Updated Rector to commit a19b983ce9cd70e1230501704b51e604e4b9179b
...
a19b983ce9
[DeadCode] Add StaticPropertyFetch removal support on RemoveUnusedPrivatePropertyRector (#2233 )
2022-05-05 08:58:28 +00:00
Tomas Votruba
427d04477e
Updated Rector to commit 3184d554770adfa8c32f11518ab8bee06b3ef2b5
...
3184d55477
[DX] Use direct return of multi nodes instead of 2 addNode before/after node (#2232 )
2022-05-05 08:32:20 +00:00
Tomas Votruba
2c62b5ccdc
Updated Rector to commit dd178deaa62be3605fa13f666592f17fa09a66f4
...
dd178deaa6
[DeadCode] Do not remove unused param in middle on RemoveUnusedConstructorParamRector (#2231 )
2022-05-05 07:46:45 +00:00
Tomas Votruba
a2cfc4196f
Updated Rector to commit 0175838a0c50a16c68a7b1640de91b70f5d4628d
...
0175838a0c
[DX] Cleanup ComplexNodeRemover (#2230 )
2022-05-05 06:11:24 +00:00
Tomas Votruba
975a637463
Updated Rector to commit 2d167364142aea78585903571977f181a4d60c81
...
2d16736414
[DX] Remove poorly designed NodeToReplacePostRector, return changed nodes directly in the current rule (#2229 )
2022-05-04 22:24:14 +00:00
Tomas Votruba
ebc3a0684d
Updated Rector to commit 767e7692e18836cdf8c36e47c4bd2b6f5647e476
...
767e7692e1
[Experimental] Add refactorWithScope() method to get typed Scope easily and required (#2227 )
2022-05-04 15:20:50 +00:00
Tomas Votruba
770e1b0adc
Updated Rector to commit 267d27bcd7cf2d81a86c70ab2713dcd9ad8fb60d
...
267d27bcd7
[Test] Remove PHPStanStubLoader::loadStubs() and require constants in tests bootstrap (#2228 )
2022-05-04 13:49:45 +00:00
Tomas Votruba
476869ebf4
Updated Rector to commit 129ce269d3ca0d762b7481d5e1ac47129dac9c74
...
129ce269d3
[Core] Use ReflectionResolver to get ClassReflection when possible (#2226 )
2022-05-04 10:46:11 +00:00
Tomas Votruba
b11fa96b09
Updated Rector to commit 6327904617df939cbc81793cdbaab5cc726d3688
...
6327904617
[CodingStyle] Skip override parent method on UnSpreadOperatorRector (#2223 )
2022-05-04 07:09:23 +00:00