Commit Graph

1257 Commits

Author SHA1 Message Date
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
Tomas Votruba
04c348a97e Updated Rector to commit e012a3eb766f41016090dfa0aa982d9abd74a1e4
e012a3eb76 Make use of RenameClassNonPhpRector (#4124)
2023-06-08 21:03:14 +00:00
Tomas Votruba
7ceca5a857 Updated Rector to commit bf2fe78378130e72970cd41c8a4cc2f1807ab951
bf2fe78378 Various cleanup (#4121)
2023-06-08 19:43:06 +00:00
Tomas Votruba
fdf6a88b62 Updated Rector to commit aebd3118751ebf1bf21e300b6de2ee35052a01ef
aebd311875 Remove RemoveAllowDynamicPropertiesAttributeRector as attribute is a comment on lower PHP versions, also rather downgrade rule (#4120)
2023-06-08 18:34:29 +00:00
Tomas Votruba
b9a2e1cfb3 Updated Rector to commit 923b590fd5aca0b1fd7033963332d3c3845af1c7
923b590fd5 Remove RemoveMethodCallParamRector, as unused (#4119)
2023-06-08 18:32:28 +00:00
Tomas Votruba
f6e608f751 Updated Rector to commit 6c3eb864d7a543b9e6f0379959bb98de489ab853
6c3eb864d7 Remove MultipleClassFileToPsr4ClassesRector as only PSR4 rule, bit risky and better handled with PHPStan + remove adding/removing files logic, use printer instead (#4117)
2023-06-08 17:22:43 +00:00
Tomas Votruba
7f654942fd Updated Rector to commit 18a2a0f37852ed6f5fb52c07e2c1137cf556f5b4
18a2a0f378 Add STRICT_BOOLEANS set (#4116)
2023-06-08 16:22:20 +00:00
Tomas Votruba
850512e46d Updated Rector to commit 4457cfad19971c45ff953b238f456590bb6fd67f
4457cfad19 Remove ConstantListClassToEnumRector as custom-made, not practical for enum upgrades (#4115)
2023-06-08 15:39:22 +00:00
Tomas Votruba
f486676c12 Updated Rector to commit 16b60d0f84d824f2eaafadd52650bd4ea84798e5
16b60d0f84 Make ConvertStaticPrivateConstantToSelfRector work for non-final classes, make part of code-quality set (#4114)
2023-06-08 14:55:39 +00:00
Tomas Votruba
9e103260ec Updated Rector to commit 2f3e9be0ae108c75f9de8fbf2ea92f0393ad9839
2f3e9be0ae [DX] Test BetterNodeFinder with Laravel container (#4106)
2023-06-08 14:23:03 +00:00
Tomas Votruba
1a06fc6c7b Updated Rector to commit b0873f7667fe9e5c2b178ce7bc8ce8007c105168
b0873f7667 Remove ActionInjectionToConstructorInjectionRector as rather for demo purposes, not practical (#4113)
2023-06-08 14:20:09 +00:00
Tomas Votruba
1fdcfc8e63 Updated Rector to commit 3c9a2453294bed3e258935aad37d355c8251db4f
3c9a245329 Make SimplifyRegexPatternRector work without parent nodes + deprecate BetterNodeFinder and findParent* methods (#4105)
2023-06-07 12:49:26 +00:00