16222 Commits

Author SHA1 Message Date
Tomas Votruba
81bbd7dc72 Updated Rector to commit 9e3849f2260a0072f9427cd314db2c276c461ce2
9e3849f226 [Naming] Remove parent lookup on VariableAndCallAssignMatcher (#4294)
2023-06-19 19:54:45 +00:00
Tomas Votruba
296985db95 Updated Rector to commit 70287f1c96f3814ceb544491d03baae3c03f8d65
70287f1c96 [Naming] Remove parent lookup on ForeachMatcher (#4293)
2023-06-19 19:32:10 +00:00
Tomas Votruba
8bb866241c Updated Rector to commit 253b4f6e866fbdcd7381d22ea84f17005b233bfb
253b4f6e86 [CodeQuality] Remove parent lookup on ForeachItemsAssignToEmptyArrayToAssignRector (#4292)
2023-06-19 18:40:02 +00:00
Tomas Votruba
ad66803559 Updated Rector to commit ecdfd969a95b35b9157ade06b4c32fd35c6e1370
ecdfd969a9 [NodeCollector] Remove parent lookup on ArrayCallableMethodMatcher (#4291)
2023-06-19 17:49:54 +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
2db1132a3e Updated Rector to commit 94cbadbac6df528e9061bdb68d56cf7f91295584
94cbadbac6 [ReadWrite] Reduce parent attribute on JustReadExprAnalyzer (#4289)
2023-06-19 17:07:59 +00:00
Tomas Votruba
95bf4b7111 Updated Rector to commit dfe3e6c75a43b4f9a08862bae3e90fd233270728
dfe3e6c75a [NodeManipulator] Reduce parent attribute on AssignManipulator (#4288)
2023-06-19 16:30:01 +00:00
Tomas Votruba
e064418688 Updated Rector to commit 5e1601086d921c549fc28f69ac32ec127c2c47b0
5e1601086d [Performance] Use direct BetterNodeFinder::find() on LocalMethodCallFinder::match() (#4287)
2023-06-19 16:09:00 +00:00
Tomas Votruba
7c4692b3bb Updated Rector to commit 1afeeb91592de9e2738f179c5d7ad82533bf5042
1afeeb9159 [Performance] Use SimpleCallableNodeTraverser instead of find instanceof then filter in PropertyFetchFinder::findLocalPropertyArrayDimFetchesAssignsByName() (#4286)
2023-06-19 15:58:11 +00:00
Tomas Votruba
7312de58c0 Updated Rector to commit 6bbeaa2ac32afb454605e7cb14a935fce8019658
6bbeaa2ac3 [Performance] Direct use BetterNodeFinder->find() in PropertyFetchFinder::findPropertyFetchesInClassLike() (#4285)
2023-06-19 15:47:03 +00:00
Tomas Votruba
6ea61fb33b Updated Rector to commit d9f02cadebe0cb3b9ec43be05e000805f31bcb18
d9f02cadeb [Php55] Clean up FullyQualified assigned to FullyQualified on StringClassNameToClassConstantRector (#4284)
2023-06-19 15:33:20 +00:00
Tomas Votruba
30d2bb9a83 Updated Rector to commit 4b05faa06d30e8d3f47fb3c3b37dad8548ae5230
4b05faa06d [Php55][NodeTypeResolver] Handle crash on dynamic variable concat assign on StringClassNameToClassConstantRector (#4283)
2023-06-19 14:17:25 +00:00
Tomas Votruba
4d62037b71 Updated Rector to commit 0893df020e01529a72933efee0c085752e24c4d2
0893df020e Skip rewindable generator (#4282)
2023-06-19 11:00:56 +00:00
Tomas Votruba
8bf7af2ff0 Updated Rector to commit 0d6800eea6b74352bd2dd16d7a2254c9398e4e98
0d6800eea6 Add sleep after processPool->quitAll() to give time for all child processes to terminate (#4280)
2023-06-19 07:27:13 +00:00
Tomas Votruba
852d73ba40 Updated Rector to commit ad41e8a6cf9c319bc25ef3d6b6b47643edc76499
ad41e8a6cf [CodeQuality][Performance] Reduce repetitive NodeTypeResolver->getType() on ExprBoolCaster (#4279)
2023-06-18 14:30:25 +00:00
Tomas Votruba
09e844dec2 Updated Rector to commit c8e7963c048c61053f98c2aaa5690891cecc884e
c8e7963c04 [CodeQuality][Performance] Using STOP_TRAVERSAL in traverseNodesWithCallable() in LocallyCalledStaticMethodToNonStaticRector (#4278)
2023-06-18 14:04:18 +00:00
Tomas Votruba
07222965c2 Updated Rector to commit 33cfa4f7164c7b0d2c2922d4cd9f0ebdac43a5d9
33cfa4f716 [ReadWrite] Reduce parent lookup on ReadWritePropertyAnalyzer (#4277)
2023-06-18 13:46:29 +00:00
Tomas Votruba
fe68d59192 Updated Rector to commit 6f1b98ef3bf17f9b0d8df592e8605479c628b2c8
6f1b98ef3b [NodeCollector] Reduce parent lookup on ArrayCallableMethodMatcher on detect array in Attribute (#4275)
2023-06-18 13:16:21 +00:00
Tomas Votruba
ad1bdeeb0f Updated Rector to commit 18436f1f44262a6dcc0dcb6d5bb88eb439a53045
18436f1f44 [NodeManipulator] Remove parent lookup on PropertyManipulator (#4274)
2023-06-18 10:49:07 +00:00
Tomas Votruba
ed58f0fcb1 Updated Rector to commit 3806bb8f05a822d081a69f735745ae2f14caf657
3806bb8f05 [NodeManipulator] Reduce parent lookup on PropertyManipulator under Unset_ (#4273)
2023-06-18 09:44:52 +00:00
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
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
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
071632b237 Updated Rector to commit 0d9828f9d90ee0dd4b50f759c150575785cce6b8
0d9828f9d9 [automated] Apply Coding Standard (#4265)
2023-06-18 02:32:09 +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
c363d3ea16 Updated Rector to commit 5f976fa8c3eccf209e17e16d36fb6eb68c782ab4
5f976fa8c3 [ReadWrite] Remove parent lookup on LocalPropertyFetchReadNodeAnalyzer (#4263)
2023-06-17 20:18:18 +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
ab1ff8301f Updated Rector to commit 8585ff77542ad3ff7cd55226e23378ee866865aa
8585ff7754 [NodeTypeResolver] Remove parent lookup on ArrayTypeAnalyzer (#4261)
2023-06-17 19:21:37 +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
b34c14e84b Updated Rector to commit b4ce499d88e2277d142d4feb97385140e1faa47d
b4ce499d88 [PhpParser] Remove parent lookup on BetterNodeFinder::hasInstancesOfInFunctionLikeScoped() (#4254)
2023-06-17 10:52:16 +00:00
Tomas Votruba
9c5daaf368 Updated Rector to commit b5cafa24ba8c2ac4d7a92341adb6af686dd0581f
b5cafa24ba [PhpParser] Remove parent lookup on BetterNodeFinder::findInstancesOfInFunctionLikeScoped() (#4253)
2023-06-17 10:46:25 +00:00
Tomas Votruba
89c1a25d91 Updated Rector to commit aebf30995293f3ba2cb6bb2d10e3084f7e925a11
aebf309952 [StaticTypeMapper] Remove parent lookup on NameScopeFactory (#4252)
2023-06-17 10:37:31 +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
455a66f4b6 Updated Rector to commit 628260708ccc40d17e1ef2147774170ac030597f
628260708c [Performance] Only map comment to php_doc_info for Stmt and Param on BetterStandardPrinter (#4250)
2023-06-17 07:46:33 +00:00
Tomas Votruba
17b9256239 Updated Rector to commit 1d262193e2c28acd5e61733de4a067e30eb51936
1d262193e2 [NodeTypeResolver] Remove findParentType() on NameTypeResolver (#4199)
2023-06-17 06:21:36 +00:00
Tomas Votruba
4bac0a1b1b Updated Rector to commit 8263d9097dd362abd5f9f3ffa6aa560b2abffa8d
8263d9097d [StaticTypeMapper] Remove findParentType() on NameNodeMapper (#4200)
2023-06-17 04:55:00 +00:00
Tomas Votruba
e3e6d2b7a1 Updated Rector to commit 7b5102670f0a290038229f8e3bb690e2336920b9
7b5102670f [NodeTypeResolver] Remove parent lookup on ClassRenamePhpDocNodeVisitor (#4248)
2023-06-17 00:19:52 +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
73e6cf210e Updated Rector to commit 3d4a86c31511bda1ded00a70ed36c72849d19824
3d4a86c315 [ReadWrite] Remove parent lookup on ArrayDimFetchParentNodeReadAnalyzer (#4239)
2023-06-16 13:31:36 +00:00