4482 Commits

Author SHA1 Message Date
Tomas Votruba
b326a57561 Updated Rector to commit 805b7b7d39fcd989873452ddbbd57e2a76150022
805b7b7d39 [Performance] Do not traverse current and children on context check Break_ and If_ (#4271)
2023-06-18 06:22:16 +00:00
Tomas Votruba
a80b7eaeaf Updated Rector to commit 3d07c26d3efc4c0c16cbbe1fb347114e0178cc5e
3d07c26d3e [Php70] Remove parent lookup for Break_ inside Switch_ on BreakNotInLoopOrSwitchToReturnRector (#4269)
2023-06-18 05:21:33 +00:00
Tomas Votruba
950bd50ad1 Updated Rector to commit 392898c5de7e25ceeb83072eb951939ddf1c7150
392898c5de [Performance] Remove NODES_TO_MATCH constant on RemoveNonExistingVarAnnotationRector (#4267)
2023-06-18 03:50:55 +00:00
Tomas Votruba
fba1230ae5 Updated Rector to commit 0d9828f9d90ee0dd4b50f759c150575785cce6b8
0d9828f9d9 [automated] Apply Coding Standard (#4265)
2023-06-18 00:34:36 +00:00
Tomas Votruba
f157e8fdfc Updated Rector to commit d036eeb6e6a09eed0286272da58299a90c818675
d036eeb6e6 [TypeDeclaration] Remove parent lookup on AllAssignNodePropertyTypeInferer (#4264)
2023-06-17 20:36:34 +00:00
Tomas Votruba
a0d8cc6508 Updated Rector to commit 8550c092de01d1167d95922a77490c282f3154d5
8550c092de [Ast] Use ClassLikeAstResolver directly when possible (#4262)
2023-06-17 19:37:05 +00:00
Tomas Votruba
084bcaaa18 Updated Rector to commit ad65e0445c0a68393d7031067f095ea9f8b1cbde
ad65e0445c [CodingStyle] Remove parent lookup on ShortNameResolver (#4260)
2023-06-17 18:24:04 +00:00
Tomas Votruba
d3f1b27d37 Updated Rector to commit 96dc30676a52c8c1b66b664bcdd76b88f5540514
96dc30676a [Performance] Remove findFirst on AliasUsesResolver and UsedImportsResolver (#4259)
2023-06-17 18:02:56 +00:00
Tomas Votruba
38260ff6c5 Updated Rector to commit 8cb7e850459ec7c5685e718a772a5c89db5700c2
8cb7e85045 [CodingStyle] Remove parent lookup on AliasUsesResolver (#4257)
2023-06-17 16:01:00 +00:00
Tomas Votruba
127dce50b1 Updated Rector to commit 906a774db471fc98867c6e88a211386a829418ea
906a774db4 [DeadCode] Remove parent lookup on IsClassMethodUsedAnalyzer::isInArrayMap() (#4256)
2023-06-17 15:39:12 +00:00
Tomas Votruba
e00ac02415 Updated Rector to commit 3122f5ec7f47d275de30bfbc44f61607dbc9cc64
3122f5ec7f [Php71] Remove parent lookup on CountableAnalyzer (#4251)
2023-06-17 09:37:22 +00:00
Tomas Votruba
84c306dbf2 Updated Rector to commit a4096b224e7bed199991b87f4bdf88ccfbdb8cd9
a4096b224e [Performance] Use STOP_TRAVERSAL inside SimpleCallableNodeTraverser on ConstructorAssignDetector (#4247)
2023-06-16 15:53:17 +00:00
Tomas Votruba
52e59fd992 Updated Rector to commit 765450f3e2c7ae1ebfb07a708f20640a66681bb9
765450f3e2 [TypeDeclaration] Remove parent lookup on ReturnedNodesReturnTypeInfererTypeInferer (#4246)
2023-06-16 15:32:00 +00:00
Tomas Votruba
6630b94daa Updated Rector to commit 06d1d0817a56a9422363beaf2fded111baa92514
06d1d0817a [CodingStyle] Remove parent lookup on UsedImportsResolver (#4245)
2023-06-16 14:53:58 +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
03abca7861 Updated Rector to commit 37b10c6db20c61c11f8d6e17933aaff378b9344d
37b10c6db2 [TypeDeclaration] Remove parent lookup on ParamTypeByMethodCallTypeRector (#4243)
2023-06-16 14:35:33 +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
8ae00bd588 Updated Rector to commit a8339a34c179105fe8073266998abdc5479486dd
a8339a34c1 Use `FunctionLike` contract instead of union of function-like concrete implementations (#4241)
2023-06-16 14:04:59 +00:00
Tomas Votruba
2042d4bd59 Updated Rector to commit 6488506a36f117e947056eff9f27157a82bf102b
6488506a36 [DeadCode] Remove parent lookup on DeadReturnTagValueNodeAnalyzer (#4235)
2023-06-16 03:38:29 +00:00
Tomas Votruba
d793888f8a Updated Rector to commit 53c6c5fcaf92b3ff40b6f45e476ff981b9028e95
53c6c5fcaf Remove Kind from doc mapper, as used just once (#4234)
2023-06-16 03:34:15 +00:00
Tomas Votruba
708954a81f Updated Rector to commit 2694671fccfefc21daf1bd17353cd7d42b4af023
2694671fcc LocallyCalledStaticMethodToNonStaticRector with method args (#4233)
2023-06-14 15:32:20 +00:00
Tomas Votruba
12ed8d9e0a Updated Rector to commit 7753562da21cfa9e31560aedfd94f108fdbae673
7753562da2 [Naming] Remove parent lookup on PropertyRenameFactory (#4232)
2023-06-14 15:26:13 +00:00
Tomas Votruba
688a917dc7 Updated Rector to commit dfa6e776ea2e94e9535af72e14d94d6ec984361e
dfa6e776ea [CodeQuality] Reduce parent lookup for inside Closure BindTo on LocalPropertyAnalyzer (#4231)
2023-06-14 15:11:07 +00:00
Tomas Votruba
6380eb68ac Updated Rector to commit e55d6b32a785bd03635fffc9093e26e61e33d67c
e55d6b32a7 [CodeQuality] Reduce parent lookup for inside Closure Bind (#4230)
2023-06-14 14:59:42 +00:00
Tomas Votruba
4c28e357ca Updated Rector to commit 20ec11e73d8998f9ad7533c8f179ee7be8e2abdf
20ec11e73d [Docblock] Move DocBlockUpdater service usage from AbstractRector to PhpDocTypeChanger (#4215)
2023-06-14 04:39:10 +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
914f995971 Updated Rector to commit fd3c90cb6434670821709fb556f42d55247c3024
fd3c90cb64 [Naming] Remove parent lookup on ParamRenameFactory (#4212)
2023-06-13 13:52:47 +00:00
Tomas Votruba
3719bec0c0 Updated Rector to commit d3a95b2fc177a4fe0ecfeb095e2c9a3b059c972d
d3a95b2fc1 [DeadCode] Remove Assign and AssignRef as node types on RemoveNonExistingVarAnnotationRector (#4209)
2023-06-13 01:47:53 +00:00
Tomas Votruba
d3744158b9 Updated Rector to commit 0adda9c2d86f49949242604d6f45311724175d36
0adda9c2d8 [TypeDeclaration] Remove parent lookup on TrustedClassMethodPropertyTypeInferer (#4207)
2023-06-12 21:57:31 +00:00
Tomas Votruba
c1782af768 Updated Rector to commit 0a36378788fcf58a41deecab7fb9b3228f077264
0a36378788 [DeadCode] Remove parent lookup on ControllerClassMethodManipulator (#4204)
2023-06-12 20:11:25 +00:00
Tomas Votruba
28ddc5c0c4 Updated Rector to commit b56b0c2febafe7ab07b187faa9b315f810cac0ae
b56b0c2feb [TypeDeclaration] Remove findParentType() on SilentVoidResolver (#4203)
2023-06-12 18:32:15 +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
c3f48d13e3 Updated Rector to commit ca08d86e3900556b2f389e4d983489535c21fdd7
ca08d86e39 Make use of Class_, Interface_ (#4193)
2023-06-12 11:13:09 +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
f440a692d3 Updated Rector to commit 7a61135453ff9fa595966f0265cb2a3c28c13656
7a61135453 [CodeQuality] Remove direct return STOP_TRAVERSAL on SetTypeToCastRector (#4187)
2023-06-12 09:19:31 +00:00
Tomas Votruba
9434de01cc Updated Rector to commit 5612c7f86c18379ccd927bba33bca524f94f0759
5612c7f86c [Php71] Remove direct return STOP_TRAVERSAL on CountOnNullRector (#4189)
2023-06-12 09:19:13 +00:00
Tomas Votruba
f45714304b Updated Rector to commit a9efd7240e38596d09eedbea3670ee20e32e0d1f
a9efd7240e [DeadCode] Remove direct return STOP_TRAVERSAL on RemoveDeadInstanceOfRector (#4188)
2023-06-12 09:17:29 +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
57b6546504 Updated Rector to commit 4e02f78d6b8352fd24afc670f285453468742c3f
4e02f78d6b temporarily exclude autowire, to skip throws
2023-06-11 23:42:32 +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
8ea0fec420 Updated Rector to commit 405d9f8f9ccee80ee0d2d9c0704ef028238b38cd
405d9f8f9c [Naming] Remove parent attribute usage on ExpectedNameResolver (#4180)
2023-06-11 10:16:46 +00:00
Tomas Votruba
cb5ccf435f Updated Rector to commit 72ac71bf586bb2aa23d723ae7c3df0f237fa553d
72ac71bf58 [TypeDeclaration] Remove parent lookup on AddMethodCallBasedStrictParamTypeRector (#4173)
2023-06-11 06:39:53 +00:00
Tomas Votruba
67f69787ca Updated Rector to commit 64156d1395bc8fe6985c8b75f6d3bc447776acdd
64156d1395 [TypeDeclaration] Remove parent lookup on ReturnTypeInferer (#4172)
2023-06-11 06:23:51 +00:00
Tomas Votruba
01557664e6 Updated Rector to commit d541d1a77e5e140bf12d4b71c9c9f98a3852a366
d541d1a77e [Doc] Fix documentation code example of RemoveTypedPropertyDeadInstanceOfRector (#4168)
2023-06-11 00:39:52 +00:00
Tomas Votruba
cde74fdc1d Updated Rector to commit 65765cf54e851c4b768a9124a4abf2790d3037f8
65765cf54e Remove parent node look up from ReturnTypeFromStrictTypedCallRector (#4166)
2023-06-10 21:17:23 +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
44769c45f9 Updated Rector to commit bedb794b6f7db4f1609059b2380201738f8867c7
bedb794b6f [Naming] Remove parent lookup on VariableRenamer (#4157)
2023-06-10 10:43:26 +00:00
Tomas Votruba
1bbad017b4 Updated Rector to commit e955e567e0af973a69ca6263de8e29e1f2e55504
e955e567e0 [Php56] Move collect checked variables on Node not a Variable on UndefinedVariableResolver (#4156)
2023-06-10 10:28:03 +00:00