Tomas Votruba
b6483cd8b4
Updated Rector to commit dab448289eef1d79fe75e61f8fda1da1b7f9eaab
...
dab448289e
[NodeTypeResolver] Handle crash after next exit() on no namespaced code after removal next attribute (#4074 )
2023-06-05 09:55:14 +00:00
Tomas Votruba
ee021e37ea
Updated Rector to commit 21d43cfb3d62563f3f73424d2bdf36136056617d
...
21d43cfb3d
Add REMOVE_NODE support to refactor() direct call (#4073 )
2023-06-05 08:01:06 +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
335ab50008
Updated Rector to commit 2d99c8b3661934f33155ddb5d46e62c7ba14715a
...
2d99c8b366
Remove removeNode() from InlineConstructorDefaultToPropertyRector (#4062 )
2023-06-04 17:26:50 +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
9eed15ece9
Updated Rector to commit 897cdda68d73ed5fcc1c768219207ff54c8459cb
...
897cdda68d
Apply coding standard (#4047 )
2023-06-02 10:03:55 +00:00
Tomas Votruba
3dc5be2274
Updated Rector to commit 92ff716761e19c7f30bd68065af7eeefac0480de
...
92ff716761
Improve string support in Doctrine Annotations (#3645 )
2023-06-02 09:42:16 +00:00
Tomas Votruba
0ae1a69dc8
Updated Rector to commit 495900a6405595d61947b4c564024d902354ef04
...
495900a640
[DeadCode] Skip used on Closure use next stmt on RemoveUnusedVariableAssignRector (#4042 )
2023-06-02 01:02:01 +00:00
Tomas Votruba
81398086b3
Updated Rector to commit 1e4568bdae763335c904ecd3d03a79f1ac129d0f
...
1e4568bdae
Avoid removing use with removeNode() in ClassRenamer (#4039 )
2023-06-01 14:48:49 +00:00
Tomas Votruba
6ffdc0c6a4
Updated Rector to commit 89fc9dbd9c1b6e1feb35a777926a443db01b0824
...
89fc9dbd9c
Remove unused BinaryOpTreeRootLocator (#4038 )
2023-06-01 14:34:35 +00:00
Tomas Votruba
9a2931cbe4
Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
...
bdc2fc9963
[NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037 )
2023-06-01 08:56:46 +00:00
Tomas Votruba
fed7beb412
Updated Rector to commit 5bae1ebdcee327ac3dcf4a25175f9013af54ec3d
...
5bae1ebdce
trigger CI
2023-05-30 10:33:01 +00:00
Tomas Votruba
1a69dcf241
Updated Rector to commit d413dc15e6cbe5ac10f5fe6fd06711fcb7267a0b
...
d413dc15e6
Remove unused method addNodesBeforeNode() (#4024 )
2023-05-30 09:18:02 +00:00
Tomas Votruba
9fd6682367
Updated Rector to commit e2213f21762d74946a34197921aa905623493e8c
...
e2213f2176
Remove unused addNodeAfterNode(), return nodes instead (#4023 )
2023-05-30 09:05:58 +00:00
Tomas Votruba
28d2a3ced0
Updated Rector to commit d413dc15e6cbe5ac10f5fe6fd06711fcb7267a0b
...
d413dc15e6
Remove unused method addNodesBeforeNode() (#4024 )
2023-05-30 09:05:54 +00:00
Tomas Votruba
672d7d7dfe
Updated Rector to commit e2213f21762d74946a34197921aa905623493e8c
...
e2213f2176
Remove unused addNodeAfterNode(), return nodes instead (#4023 )
2023-05-30 08:16:08 +00:00
Tomas Votruba
305fa5edd6
Updated Rector to commit b97fe194b45a7915fd1509b9388315f49582cb2c
...
b97fe194b4
[Php80] Remove parent attribute usage on ClassPropertyAssignToConstructorPromotionRector (#4022 )
2023-05-29 23:40:49 +00:00
Tomas Votruba
74fee33fad
Updated Rector to commit 5979f30756eca7e8f2736514451d5c7bdfed50ce
...
5979f30756
Remove removeNode() from FuncGetArgsToVariadicParamRector (#4021 )
2023-05-29 21:33:59 +00:00
Tomas Votruba
5062188fe8
Updated Rector to commit 0ea7b49d5839f4dcdf5c9966cf410b3394c5e060
...
0ea7b49d58
[Testing] Remove require_once on TestingParser::parseFileToDecoratedNodes() (#4009 )
2023-05-29 18:30:06 +00:00
Tomas Votruba
1b08d37c26
Updated Rector to commit f15cbd7a7d1913287cf67fa9ee2311ebee11cae3
...
f15cbd7a7d
Remove PARENT_NODE from RemoveUnusedConstructorParamRector (#4014 )
2023-05-29 09:38:38 +00:00
Tomas Votruba
c98c306aa8
Updated Rector to commit cd48bfcc4785fb0d2cf828240f8f71231b232c85
...
cd48bfcc47
Cleanup removeNodeFromStatements(), removeArg(), removeParam(), removeStmt() methods and remove nodes directly (#4012 )
2023-05-29 08:39:56 +00:00
Tomas Votruba
b6aa01ccb7
Updated Rector to commit 8f24c73f1894356dd9ad3745924d027fa65a5602
...
8f24c73f18
Remove PARENT_NODE from CommentsMerger (#4011 )
2023-05-29 08:09:04 +00:00
Tomas Votruba
969127f9a6
Updated Rector to commit f429e2811c97689001f45c420d1d674322d00822
...
f429e2811c
Remove use imports directly (#4008 )
2023-05-29 06:32:46 +00:00
Tomas Votruba
99ac9186fd
Updated Rector to commit 25ae1d85be40243e03c950de3ac15af7b5b5d3b2
...
25ae1d85be
Remove TokenGetAllToObjectRector, as rare to use and leaky to handle, better handle in controller manual way (#4001 )
2023-05-28 16:12:02 +00:00
Tomas Votruba
d3dfbb4638
Updated Rector to commit 2f84187dc1d6db09788adf8346339d6854902db5
...
2f84187dc1
Remove RenameNamespaceRector, better handle by IDE or explicit RenameClassRector (#3979 )
2023-05-26 21:28:23 +00:00
Tomas Votruba
d8c877db45
Updated Rector to commit 33d05d3b9ee7838d254edf58dbd05a355891b48b
...
33d05d3b9e
Refactor RenameVariableToMatchMethodCallReturnTypeRector to StmtsAwareInterface (#3977 )
2023-05-26 14:00:49 +00:00
Tomas Votruba
af4dc685fb
Updated Rector to commit 14fc01359ed4b27798ac64532cb128ab0ad2f32e
...
14fc01359e
Make MysqlAssignToMysqliRector return new stmts directly (#3972 )
2023-05-26 12:44:21 +00:00
Tomas Votruba
f3a4204585
Updated Rector to commit 6c78d67c41b6445159db4d1c0841d1690d4ac2fe
...
6c78d67c41
Revert [NodeTypeResolver] Remove parent attribute usage on PHPStanNodeScopeResolver for next UnreachableStatementNode detection (#3970 ) (#3971 )
2023-05-26 10:03:50 +00:00
Tomas Votruba
94c1b64b7e
Updated Rector to commit 18ac565714b7b66506a901ed4787d1ffbdd0af2d
...
18ac565714
Refactor from PARENT_NODE in EncapsedStringsToSprintfRector (#3960 )
2023-05-25 13:47:07 +00:00
Tomas Votruba
511b8597e6
Updated Rector to commit fc1fabe1a396339cbf1d9d0346f3f35bc75a33c3
...
fc1fabe1a3
[PostRector] Remove parent lookup on ClassRenamingPostRector (#3959 )
2023-05-25 12:11:39 +00:00
Tomas Votruba
f7d28cee5d
Updated Rector to commit 794bc8b5484e3eafcc91f85d443f665565c4ad44
...
794bc8b548
Remove PARENT_NODE from ForeachItemsAssignToEmptyArrayToAssignRector (#3958 )
2023-05-25 09:21:23 +00:00
Tomas Votruba
2a39baa0c1
Updated Rector to commit 179b5cba82257fd1d310301679a1913db458809e
...
179b5cba82
Make ChangeGlobalVariablesToPropertiesRector add properties directly, remove Nette inject methods (#3957 )
2023-05-24 18:48:59 +00:00
Tomas Votruba
e74948ca4a
Updated Rector to commit 69220a7b2d424babad1a6560dc546295d4e9ebe5
...
69220a7b2d
[Traverser] Remove beforeTraverse() in StmtKeyNodeVisitor (#3955 )
2023-05-24 15:18:00 +00:00
Tomas Votruba
eb3e6c221d
Updated Rector to commit ce12406878b202f9ceb1506a546e732ab1ca2716
...
ce12406878
Remove ChangeReadOnlyVariableWithDefaultValueToConstantRector overly complex and risky, better job for PHPStan (#3954 )
2023-05-24 15:09:06 +00:00
Tomas Votruba
a32354e5eb
Updated Rector to commit 3eadce164860c1d4465e40fd5e07fb11d3aa1b99
...
3eadce1648
[NodeTypeResolver] Reduce parent attribute usage on PHPStanNodeScopeResolver (#3943 )
2023-05-24 04:20:01 +00:00
Tomas Votruba
b1c6bc3189
Updated Rector to commit 3f0b5649057005937557917b39212c3a6ac4343d
...
3f0b564905
[Traverser] Refactor set stmt_key set 0 for Else_, ElseIf, Catch_, Finally_, removing tweak start token pos on BetterNodeFinder (#3934 )
2023-05-23 16:30: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
c1e94593a2
Updated Rector to commit a87a9d8e026c3499c980facf1bf24bd51b69c924
...
a87a9d8e02
Remove NEXT_NODE from ChangeIfElseValueAssignToEarlyReturnRector (#3914 )
2023-05-21 15:17:01 +00:00
Tomas Votruba
c1ef3ac6b3
Updated Rector to commit 974a1bed608c4dedb4190e5fae4760c0d9bdfc72
...
974a1bed60
[Traverser] Clean up nullable stmt_key check on BetterNodeFinder::resolveNeighborNextStmt() take 2 (#3904 )
2023-05-20 19:24:20 +00:00
Tomas Votruba
d597a0e3f6
Updated Rector to commit 6b20ed1b7507740b9568ef1b6cec125849172f9e
...
6b20ed1b75
[Traverser] Clean up: Remove afterTraverse() on StmtKeyNodeVisitor (#3903 )
2023-05-20 17:12:03 +00:00
Tomas Votruba
cb0cb645f5
Updated Rector to commit e26c80b297515d924f61ed8518a42cdcbe666e19
...
e26c80b297
[Traverser] Clean up FileWithoutNamespace check on StmtKeyNodeVisitor.php (#3901 )
2023-05-20 15:16:20 +00:00
Tomas Votruba
51a6ca5220
Updated Rector to commit aef093ee8a5a19bb1351345770ac761ae9e0f655
...
aef093ee8a
[Traverser] Remove next attribute in BetterNodeFinder (#3887 )
2023-05-19 11:20:36 +00:00
Tomas Votruba
11f05b657f
Updated Rector to commit 24f8610224663ef71ca2e4007ef89997303f53b9
...
24f8610224
[NodeTypeResolver] Remove next node on PHPStanNodeScopeResolver (#3888 )
2023-05-18 18:55:12 +00:00
Tomas Votruba
ab605a51c8
Updated Rector to commit 1c2865afd4556f1dc27b94e5d18145680c8e7497
...
1c2865afd4
[Performance] Remove parent lookup on StmtKeyNodeVisitor (#3886 )
2023-05-18 15:38:11 +00:00