Commit Graph

86 Commits

Author SHA1 Message Date
Tomas Votruba
6da4ac4e2a Updated Rector to commit 295156cba171ce9685cd26e73490fd7d7b2001b1
295156cba1 [Traverser] Set explicitely nodeConnectingVisitorCompatibility: false config in config/phpstan/static-reflection.neon (#4841)
2023-08-24 07:18:13 +00:00
Tomas Votruba
ce7b821341 Updated Rector to commit defd4e28f80c0d022fe83a820d7f0d9057305d41
defd4e28f8 [DX] Avoid supporting edge-case multi-layered comments, must be covered in php-parser itself (#4743)
2023-08-09 15:06:44 +00:00
Tomas Votruba
4082c75546 Updated Rector to commit db03c60a5725e8f82d6b800c4745bc259ee470ac
db03c60a57 [Php81] Fix regression skip call by ref on ReadOnlyPropertyRector on non __construct method (#4614)
2023-07-27 09:43:37 +00:00
Tomas Votruba
c91f8a31e9 Updated Rector to commit acfb19cac07b3002b66c47bf145898ed8a4b3ee9
acfb19cac0 [NodeTypeResolver] Remove AttributeKey::IS_ISSET_VAR from ContextNodeVisitor (#4503)
2023-07-13 12:32:48 +00:00
Tomas Votruba
abc02d7405 Updated Rector to commit 898d599f519a0656edad257da6e8008ff1e7260b
898d599f51 [NodeTypeResolver] Remove AttributeKey::IS_RETURN_EXPR from ContextNodeVisitor (#4502)
2023-07-13 12:25:49 +00:00
Tomas Votruba
a2178d82dc Updated Rector to commit 9e9a314b23fa9f217c236412591c4cb9ad94edf5
9e9a314b23 [NodeTypeResolver] Remove unused AttributeKey::INSIDE_ARRAY_ITEM on ContextNodeVisitor (#4496)
2023-07-12 22:16:31 +00:00
Tomas Votruba
484c94d08a Updated Rector to commit 868612ae6bac93afe8d9aea8fd7d2fb6c6306991
868612ae6b [DX] Remove parent node from AbstractRector (#4465)
2023-07-09 18:49:55 +00:00
Tomas Votruba
46ce317aa4 Updated Rector to commit 14081fecec9a9079c6ec279b383f8ade48f2b990
14081fecec Add inside array item marker to remove PARENT_NODE from downgrade (#4447)
2023-07-09 08:23:58 +00:00
Tomas Votruba
b0309e26cf Updated Rector to commit 919f5d4ababb95e3cf9167926e81c65939d70bf3
919f5d4aba [Renaming] Remove parent attribute on ClassRenamer (#4446)
2023-07-09 02:51:17 +00:00
Tomas Votruba
0e1f48fb00 Updated Rector to commit 3b6084dec770faeb7fca657b6f1ab6898a0801d5
3b6084dec7 [Php72] Remove parent attribute on AnonymousFunctionFactory (#4443)
2023-07-09 01:45:20 +00:00
Tomas Votruba
d53aabefd9 Updated Rector to commit 1d0feb251132d3b766945bc80d8f914c5279277f
1d0feb2511 [DX] Lower readonly PropertyManipulator complexity (#4429)
2023-07-06 21:07:00 +00:00
Tomas Votruba
67e1d2d61c Updated Rector to commit 3fa4bec792258ae18bf56c665d5ec3fa4938d475
3fa4bec792 [Renaming] Remove Scope filling from Name node on PHPStanNodeScopeResolver for RenameClassRector (#4422)
2023-07-05 12:18:11 +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
d769492469 Updated Rector to commit b8129b47429c5686a82e6a3753b24e49706384b3
b8129b4742 [NodeTypeResolver] Remove param type context on ContextNodeVisitor (#4396)
2023-07-01 13:54:24 +00:00
Tomas Votruba
1d37efe8d7 Updated Rector to commit 8c9d630a27e6b3c3b76b31bd8ce96db14c7e8800
8c9d630a27 [ReadWrite] Reduce parent lookup on ReadWritePropertyAnalyzer (#4387)
2023-06-30 19:13:32 +00:00
Tomas Votruba
9da21b49dc Updated Rector to commit 52a5b7d9482d52d1fa8b8cbe87bd43eaff68da30
52a5b7d948 [Renaming] Reduce parent check early on ClassRenamer (#4355)
2023-06-26 19:09:51 +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
a4fa071d0e Updated Rector to commit 7e669bb75493e040b45adb86672cd678f8d3ab5b
7e669bb754 [StaticTypeMapper] Reduce parent attribute usage on FullyQualifiedNodeMapper (#4352)
2023-06-26 15:01:15 +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
46e1669e6a Updated Rector to commit 53e4e9f1e939da3cc6aa9d8c7172cd17e8550d8e
53e4e9f1e9 [CodingStyle] Reduce parent attribute usage on NameImporter (#4344)
2023-06-25 16:22:08 +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
53262b6c62 Updated Rector to commit ffce073ffa08eddc334b866ae3bec92afab15e0a
ffce073ffa [NodeNestingScope] Remove parent lookup on ContextAnalyzer (#4315)
2023-06-22 11:51: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
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
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
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
6f867b1fcb Updated Rector to commit ae64ccd4e8ac4d3fbd956e8a60de1d27c598cb8f
ae64ccd4e8 [Traverser] Utilize statementDepth attribute on StmtKeyNodeVisitor to fill stmt_key in root of stmts (#4104)
2023-06-07 08:54:42 +00:00
Tomas Votruba
189167959e Updated Rector to commit 701278e9882f33c2977753be99b08dd7aaf93997
701278e988 Remove node removing services, cleanup (#4093)
2023-06-06 12:07:27 +00:00
Tomas Votruba
687f5efeef Updated Rector to commit d9cf3d4b9f427691349d4c1fbe2160241c1585b8
d9cf3d4b9f Remove removeNode() from RemoveUnusedPrivatePropertyRector (#4092)
2023-06-06 11:55:37 +00:00
Tomas Votruba
f0c9d40cc2 Updated Rector to commit 106bc8ed2efbf98e99c22d6098a78ec2d6588c58
106bc8ed2e Remove AttributeCompatibleAnnotationRector, as only for one-time migration of private project, not suitable for general use (#4064)
2023-06-04 17:52:08 +00:00
Tomas Votruba
7b17dd2d5b Updated Rector to commit 02b93319906ffa9842cbab8f80d58d8b5576cf43
02b9331990 [Traverser] Add BreakingRemovalGuardNodeVisitor to reduce parent attribute usage on BreakingRemovalGuard (#3978)
2023-06-04 10:46:22 +00:00
Tomas Votruba
cbde507496 Updated Rector to commit 919c052d712c4069a6b0c244744dfd124fb565eb
919c052d71 [Printer] Remove BetterStandarPrinter::cleanSurplusTag() and cleanEndWithPHPOpenTag() (#4061)
2023-06-04 09:14:48 +00:00
Tomas Votruba
9e58a778f4 Updated Rector to commit 02b93319906ffa9842cbab8f80d58d8b5576cf43
02b9331990 [Traverser] Add BreakingRemovalGuardNodeVisitor to reduce parent attribute usage on BreakingRemovalGuard (#3978)
2023-06-04 09:14:10 +00:00
Tomas Votruba
215231b596 Updated Rector to commit 112e490e3ca0d5949c97189c31fd4aef8833cfc1
112e490e3c Remove PARENT_NODE from CatchExceptionNameMatchingTypeRector (#3929)
2023-05-22 14:09:12 +00:00
Tomas Votruba
7eb9eec801 Updated Rector to commit 6c3f2cdf953587cdf0945c7fb6c05fd0083c25fc
6c3f2cdf95 [DX] Deprecate parent node attribute, allow return of NodeTraverser::* in refactor() method (#3922)
2023-05-22 10:21:31 +00:00
Tomas Votruba
88a767b244 Updated Rector to commit 71f00d95fc16f31f7af4a524d5e179f467089e16
71f00d95fc [1.0] Replace NodeConnectingVisitor with ParentConnectingVisitor (#3900)
2023-05-22 08:41:41 +00:00
Tomas Votruba
f6d5507bbf Updated Rector to commit d90c645a1fbe976efee82c32fd6a5a021c33645a
d90c645a1f [DX] Try removing resolved name attribute, as namespacedName is already part of named nodes (#3921)
2023-05-22 08:26:02 +00:00
Tomas Votruba
060e167ec1 Updated Rector to commit edc60fc2e9b431a69b66eac9318e9af3eb340d84
edc60fc2e9 [Traverser] Using bool value for assigned_to attribute on variable assign (#3918)
2023-05-22 07:35:57 +00:00
Tomas Votruba
95d72b47e8 Updated Rector to commit c018b8b71b32e9654f7e884a20573a741184572e
c018b8b71b [Traverser] Add StmtKeyNodeVisitor to remove next and prev attribute on BetterNodeFinder (#3870)
2023-05-17 13:57:56 +00:00
Tomas Votruba
722cf05380 Updated Rector to commit 2406dc813a3eba3e25522fcb69af879fbc4a60cd
2406dc813a [Traverser] Add ByRefReturnNodeVisitor (#3826)
2023-05-13 18:07:42 +00:00
Tomas Votruba
6eead6b8f7 Updated Rector to commit a74c640bc1043f19006c7403461108f61d8bf2a5
a74c640bc1 [Traverser] Add ByRefVariableNodeVisitor (#3821)
2023-05-13 17:37:31 +00:00
Tomas Votruba
cd43839d2e Updated Rector to commit 1828db5f0f3b8424ac0183a5672f58c6689d3233
1828db5f0f [Traverser] Add StaticVariableNodeVisitor (#3817)
2023-05-13 10:37:59 +00:00
Tomas Votruba
41a479f910 Updated Rector to commit 0d3a9a263b6649548270dd503b8ac3bb0df107c4
0d3a9a263b [Traverser] Add GlobalVariableNodeVisitor (#3816)
2023-05-13 10:12:10 +00:00
Tomas Votruba
6da6d1d775 Updated Rector to commit 89bc4d80f5dd4c7e81a616c8b58a921a1470a47b
89bc4d80f5 Make use of StmtsAwareInterface (#3781)
2023-05-10 05:18:05 +00:00
Tomas Votruba
9b6b4fafd3 Updated Rector to commit fd2e1a181d96cee745529f345d77be55de3f5d17
fd2e1a181d [CodingStyle] Remove previous node attribute on TernaryConditionVariableAssignmentRector (#3540)
2023-03-30 16:42:45 +00:00
Tomas Votruba
b771e1ca1a Updated Rector to commit 58c8f170182d3350e21a3b141bb3971651943e63
58c8f17018 [CodingStyle] Add DataProviderArrayItemsNewlinedRector (#3271)
2023-01-10 11:07:38 +00:00
Tomas Votruba
80b6ffce36 Updated Rector to commit 8c439cffaee2124388b4fd03db951f43f10a5359
8c439cffae [TypeDeclaration] Do not remove multiple docblocks with comment on TypedPropertyFromAssignsRector (#3263)
2023-01-03 15:14:20 +00:00
Tomas Votruba
680ba23c17 Updated Rector to commit 88629427917b7d359beeb1a0b34d39d2127472b9
8862942791 [CodingStyle] Skip EncapsedStringsToSprintfRector on heredoc (#3242)
2022-12-23 08:45:28 +00:00
Tomas Votruba
ee8ab57a67 Updated Rector to commit f4f758c7431f66bc97a019eb53055d05c15705c6
f4f758c743 Fix missing extra import on NestedAnnotationToAttributeRector (#2989)
2022-10-15 22:31:48 +00:00