Commit Graph

1268 Commits

Author SHA1 Message Date
Tomas Votruba
4ded5a660a Updated Rector to commit 9df1445de8c8cb5eed5a85446628226f9b03ed76
9df1445de8 [DX] Remove SimplifyForeachToArrayFilterRector as it turns typed functions to string and make code worse (#4424)
2023-07-05 15:32:48 +00:00
Tomas Votruba
e534d832ec Updated Rector to commit b4ff32ef246fe2c36351701995759ee4fc21f370
b4ff32ef24 [TypeDeclaration] Remove aliased object type from MethodCall/StaticCall on ObjectTypeSpecifier (#4421)
2023-07-05 09:25:45 +00:00
Tomas Votruba
7251a47b0d Updated Rector to commit 93a4b2b15eec15c506ae55c25b23a40dd0390cff
93a4b2b15e [NodeTypeResolver] Remove parent attribute on PHPStanNodeScopeResolver for after UnreachableStatementNode detector (#4415)
2023-07-04 08:36:47 +00:00
Tomas Votruba
493a57e478 Updated Rector to commit df5a7bbfbf4e01f4b485603bacab0f1fd807b7f7
df5a7bbfbf [DX] Kick of SimpleParameterProvider (#4405)
2023-07-03 13:55:43 +00:00
Tomas Votruba
6981c70c9a Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
9ed8c21b12 [DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector (#4388)
2023-07-01 09:41:56 +00:00
Tomas Votruba
687d1218b1 Updated Rector to commit 8324cf427656e1d81f8c0e782885ca65bf592481
8324cf4276 [TypeDeclaration] Add StrictArrayParamDimFetchRector (#4384)
2023-06-30 16:33:30 +00:00
Tomas Votruba
4bb7391372 Updated Rector to commit 715561ce71380357545db851fd44ad8b55948b6d
715561ce71 Introduces AddSensitiveParameterAttributeRector rule (#4342)
2023-06-26 18:55:49 +00:00
Tomas Votruba
b30224c249 Updated Rector to commit d50368339398499bb767e80634a4987577c44df5
d503683393 [NodeCollector] Remove parent attribute usage on ArrayCallableMethodMatcher (#4354)
2023-06-26 18:07:52 +00:00
Tomas Votruba
39599829a2 Updated Rector to commit f8bc487500b703f33bc66806f151a7757f4be3dc
f8bc487500 [ReadWrite] Reduce parent attribut usage on JustReadExprAnalyzer (#4350)
2023-06-26 13:30:41 +00:00
Tomas Votruba
e5f365df87 Updated Rector to commit 0afc961f2b1e7d3d1f86250fe795e3176e6527b3
0afc961f2b Update actions/checkout v2 to v3 (#4348)
2023-06-26 07:17:54 +00:00
Tomas Votruba
03d30f2c86 Updated Rector to commit 0efdd58b4d0fcc06e66841c7b7235724e8d6bedf
0efdd58b4d  [Renaming] Reduce parent attribute on ClassRenamer take 1  (#4340)
2023-06-25 09:59:06 +00:00
Tomas Votruba
9bda775f8d Updated Rector to commit 3f8c7e9fb52ba2356912ce938c6b7183c5fbcc07
3f8c7e9fb5  [PhpParser] Remove parent lookup on ValueResolver  (#4337)
2023-06-24 16:09:30 +00:00
Tomas Votruba
e2e3e333e5 Updated Rector to commit fe0f45e10f1127571424f35ec57dec52c3154a10
fe0f45e10f add symfony sets to check in missing-in-set
2023-06-24 14:33:20 +00:00
Tomas Votruba
1ed51827b0 Updated Rector to commit f5a5780031301ae8678d92c28ca537bf70951498
f5a5780031 [CodeQuality] Use AbstractRector on ForeachItemsAssignToEmptyArrayToAssignRector (#4336)
2023-06-24 13:18:21 +00:00
Tomas Votruba
7bb62202c8 Updated Rector to commit f5a5780031301ae8678d92c28ca537bf70951498
f5a5780031 [CodeQuality] Use AbstractRector on ForeachItemsAssignToEmptyArrayToAssignRector (#4336)
2023-06-24 09:35:12 +00:00
Tomas Votruba
9ce469b35c Updated Rector to commit f5a5780031301ae8678d92c28ca537bf70951498
f5a5780031 [CodeQuality] Use AbstractRector on ForeachItemsAssignToEmptyArrayToAssignRector (#4336)
2023-06-24 09:24:54 +00:00
Tomas Votruba
fe7f82b7e5 Updated Rector to commit d772b433c19e2c4ff64befed3ac4517f9645c54b
d772b433c1 [DX] Make rectors public/autowired directly, drop redundant compiler passes (#4324)
2023-06-23 10:41:59 +00:00
Tomas Votruba
7a6a298311 Updated Rector to commit b6650fa8bebfc08299b4075f4c8d9cce1a4c072d
b6650fa8be [ScopeNestingComparator] Remove ScopeNestingComparator to remove parent lookup (#4316)
2023-06-22 16:15:01 +00:00
Tomas Votruba
f41e5dc13b Updated Rector to commit df459e711ae5bd8f359df40fbef863cc386bf107
df459e711a Handle AlwaysRememberedExpr in deep Expr (#4310)
2023-06-21 09:44:12 +00:00
Tomas Votruba
577f0343f5 Updated Rector to commit 57e2712bd04d491826cc60afa9e003c54e8add96
57e2712bd0 Move AddMethodParentCallRector to Symfony Rector (#4301)
2023-06-20 08:35:19 +00:00
Tomas Votruba
ba7a1a55c4 Updated Rector to commit c20828965125f2afbde8367f68dab0f9ae983cf1
c208289651 add sin float fixture (#4300)
2023-06-20 08:30:39 +00:00
Tomas Votruba
a32e799655 Updated Rector to commit eaf68d45ead20912a9658dc5006f463e1063334a
eaf68d45ea [TypeDeclaration] Add NumericReturnTypeFromStrictScalarReturnsRector (#4296)
2023-06-19 21:00:27 +00:00
Tomas Votruba
f9aed43e7b Updated Rector to commit 9e8925edfd766a78d2cc20684863899d64df9586
9e8925edfd [TypeDeclaration] Remove parent attribute on ObjectTypeSpecifier (#4290)
2023-06-19 17:26:32 +00:00
Tomas Votruba
10dcb93b50 Updated Rector to commit fc423fd69f9a96932ae62d09c6f01812678651cc
fc423fd69f [NodeTypeResolver] Add ContextNodeVisitor to remove parent lookup on inside loop detection (#4270)
2023-06-18 06:01:13 +00:00
Tomas Votruba
901ae42dc7 Updated Rector to commit 282ba30ece0c31f03c5a5825c5b9520218c7db8c
282ba30ece Restore RemoveMethodCallParamRector as used (#4244)
2023-06-16 14:39:03 +00:00
Tomas Votruba
5a6b4888cf Updated Rector to commit e87ee7e0b358fcbdb752bac8ec8b870dde54a7d3
e87ee7e0b3 Move LocallyCalledStaticMethodToNonStaticRector to CodeQuality namespace, to avoid dumping removed static set (#4242)
2023-06-16 14:09:13 +00:00
Tomas Votruba
5712e3dd40 Updated Rector to commit b4eb417407360b419e71eaa7609209a1597441e2
b4eb417407 Remove ReturnArrayClassMethodToYieldRector, add to PHPUnit Rector (#4213)
2023-06-13 16:24:24 +00:00
Tomas Votruba
1890d4835a Updated Rector to commit 91cf7cc721c70ec8914c1bc4855a810bb85b640c
91cf7cc721 Remove CachedContainerBuilder (#4211)
2023-06-13 13:29:32 +00:00
Tomas Votruba
00783a90ea Updated Rector to commit 91cf7cc721c70ec8914c1bc4855a810bb85b640c
91cf7cc721 Remove CachedContainerBuilder (#4211)
2023-06-13 12:34:33 +00:00
Tomas Votruba
887ce448ac Updated Rector to commit a86eb69c59af5dd1e3ea3b7ab994b017dcccd6b4
a86eb69c59 Move PreferThisOrSelfMethodCallRector to PHPUnit rector package, to handle exact cases (#4194)
2023-06-12 11:51:15 +00:00
Tomas Votruba
ff28aaca4c Updated Rector to commit 21f8014b30f4a4230f787ca1698a2c53d6d5f18a
21f8014b30 [DI] Autowire annotation to attribute mapper via tags (#4190)
2023-06-12 10:45:32 +00:00
Tomas Votruba
1b3ee4f289 Updated Rector to commit 7a61135453ff9fa595966f0265cb2a3c28c13656
7a61135453 [CodeQuality] Remove direct return STOP_TRAVERSAL on SetTypeToCastRector (#4187)
2023-06-12 10:13:36 +00:00
Tomas Votruba
a6399d5acf Updated Rector to commit 914171511561fab6062f5df923b12c276725c0b5
9141715115 Add failing test case for STOP_TRAVERSAL directly on refactor (#4185)
2023-06-12 00:49:37 +00:00
Tomas Votruba
503a6059f8 Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
a8922f7431 skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba
3313a231b7 Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
bb609b28e3 [Core] Always reset stopTraversal to false on next Rector visit (#4182)
2023-06-11 14:17:34 +00:00
Tomas Votruba
99469d703d Updated Rector to commit a394e5ea44ef09812ec1224aa0f402a483400d73
a394e5ea44 Split instance of check to 2 rules (#4165)
2023-06-10 18:53:37 +00:00
Tomas Votruba
53778ac6ff Updated Rector to commit 77aeaa4dcc2fc99070999af7a28d17c4d078a4b5
77aeaa4dcc Remove RemoveEmptyMethodCallRector as better handled by PHPStan (#4161)
2023-06-10 13:02:37 +00:00
Tomas Votruba
484965351d Updated Rector to commit 21a233dac32e82d493a60fad86d2eb72cd568838
21a233dac3 Skipping: Use plain string functions instead of regex matching (#4153)
2023-06-10 08:40:50 +00:00
Tomas Votruba
b0e2693e28 Updated Rector to commit 8fe22e43b593963c405fac48c5d093e1575afd49
8fe22e43b5 Remove RemoveDelegatingParentCallRector as overly complex and usually on purpose (#4136)
2023-06-09 15:42:29 +00:00
Tomas Votruba
fc7326e2ba Updated Rector to commit e5e33ebc3be86879d802690ee851bcc923a5e5f6
e5e33ebc3b Use class reflection do work with enum suffix (#4134)
2023-06-09 15:36:48 +00:00
Tomas Votruba
5518ca1f6b Updated Rector to commit 390730a9c40cfad8ca6a089e2dee1b7e158e076e
390730a9c4 Remove propperty to add collector, add them directly or as a constructor dependency (#4131)
2023-06-09 12:23:12 +00:00
Tomas Votruba
d95266b60b Updated Rector to commit 390730a9c40cfad8ca6a089e2dee1b7e158e076e
390730a9c4 Remove propperty to add collector, add them directly or as a constructor dependency (#4131)
2023-06-09 12:03:39 +00:00
Tomas Votruba
f790a093ec Updated Rector to commit 390730a9c40cfad8ca6a089e2dee1b7e158e076e
390730a9c4 Remove propperty to add collector, add them directly or as a constructor dependency (#4131)
2023-06-09 11:00:38 +00:00
Tomas Votruba
ad74348451 Updated Rector to commit 390730a9c40cfad8ca6a089e2dee1b7e158e076e
390730a9c4 Remove propperty to add collector, add them directly or as a constructor dependency (#4131)
2023-06-09 10:52:53 +00:00
Tomas Votruba
c0ebeabf68 Updated Rector to commit 2d13bc9773c3b7b91598312087c236c14b002d28
2d13bc9773 Remove NewArgToMethodCallRector as unused (#4130)
2023-06-08 23:27:12 +00:00
Tomas Votruba
08a4332d59 Updated Rector to commit 059783fb07cbe5bd2259d4634d32f563ce862de0
059783fb07 Remove MethodCallToMethodCallRector as unused (#4128)
2023-06-08 22:54:12 +00:00
Tomas Votruba
b9a035cc96 Updated Rector to commit 2c13033108f884fb007ccfa74d29e85cc726b985
2c13033108 Remove UnsetAndIssetToMethodCallRector as unused (#4123)
2023-06-08 22:35:24 +00:00
Tomas Votruba
cdb2d0ed3f Updated Rector to commit f2509fa341525d3939073c5b4513f47ab8362fda
f2509fa341 Remove DoctrineAnnotationClassToAttributeRector as made for custom project, not useful for general use (#4127)
2023-06-08 22:24:02 +00:00
Tomas Votruba
f82e30a026 Updated Rector to commit ae874efa148e6d5a031503892a6307824b4d7003
ae874efa14 Remove SourceLocatorProviderInterface as unused (#4126)
2023-06-08 22:00:17 +00:00
Tomas Votruba
8b89240eee Updated Rector to commit ade49b3e9088c027b4a1a35d2e4228ae3375a00d
ade49b3e90 Various cleanups (#4125)
2023-06-08 21:35:09 +00:00