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
Tomas Votruba
765b0f35a3
Updated Rector to commit 9e8880bc4acd34095b0879dbcb514133f1f9a01e
...
9e8880bc4a
Cherry-pick StmtKeyNodeVisitor check not Node (#3883 )
2023-05-17 19:54:55 +00:00
Tomas Votruba
219ab6ff69
Updated Rector to commit ae78ef15d1d27bd5f9df02457d02a0fb7d7c3c20
...
ae78ef15d1
Remove tweak require symplify/smart-file-system (#3882 )
2023-05-17 15:38:16 +00:00
Tomas Votruba
569c7dc229
Updated Rector to commit 5e3afcbdafde000f950ee844f22a2b020216cd82
...
5e3afcbdaf
Revert Cleanup CachedContainer invalidation (#3867 ) (#3880 )
2023-05-17 15:07:40 +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
c7f7b9b6bb
Updated Rector to commit f0141afbc14283e1d7b2f40b5d30e42ab0045623
...
f0141afbc1
Cleanup CachedContainer invalidation (#3867 )
2023-05-17 13:02:11 +00:00
Tomas Votruba
3f89b13d0e
Updated Rector to commit 16f3c961ead671df489ff9217d61cdfe40e09ec0
...
16f3c961ea
[CodeQuality] Add typed property support to IssetOnPropertyObjectToPropertyExistsRector (#3876 )
2023-05-17 08:38:16 +00:00
Tomas Votruba
ae79c1dc04
Updated Rector to commit 83a4a60b4c48d017694f2a0867f821c33ff5b27c
...
83a4a60b4c
Drop AttributeKey::SCOPE in MethodParameterTypeResolver (#3873 )
2023-05-16 17:11:44 +00:00
Tomas Votruba
9ae4a949d6
Updated Rector to commit cc3354aa8e764fd028f5de5ac1fb76e9304bdbbd
...
cc3354aa8e
[Parser] Remove next attribute usage on InlineCodeParser (#3864 )
2023-05-15 17:50:04 +00:00
Tomas Votruba
bd630a0db2
Updated Rector to commit 3bdd519e03e957461a48105820c20b35706f036e
...
3bdd519e03
Dump dependency container and re-use it - 35% faster test-suite (#3809 )
2023-05-15 15:58:52 +00:00
Tomas Votruba
8dce3beed1
Updated Rector to commit c4bab4a7778e11715d720391c5daaa7a89e975ce
...
c4bab4a777
Remove next from ExplicitBoolCompareRector (#3857 )
2023-05-15 12:33:28 +00:00
Tomas Votruba
89439d883f
Updated Rector to commit 95b1789a871adeb6b6555949d3cf32b0b4060613
...
95b1789a87
Drop AttributeKey::SCOPE in ArrayCallableMethodMatcher (#3835 )
2023-05-15 08:51:25 +00:00
Tomas Votruba
281f59d306
Updated Rector to commit 7f49261e293df93ac9a81dd49e59ad4abed9ed41
...
7f49261e29
Make ReturnNeverTypeRector work with type declaration, add it to PHP 8.1 set (#3852 )
2023-05-14 22:40:25 +00:00
Tomas Votruba
9496663b9b
Updated Rector to commit 7a32610a70a03adf6824fec5f055a63b6355f56b
...
7a32610a70
[Util] Introduce FileHasher (#3833 )
2023-05-14 18:24:01 +00:00
Tomas Votruba
e02a2a45af
Updated Rector to commit 33e59eeadf3da67db8dcdebfc8bef3701a17592a
...
33e59eeadf
Remove UpdateFileNameByClassNameFileSystemRector niche rule that was added just for example sake (#3849 )
2023-05-14 16:07:53 +00:00
Tomas Votruba
18b46b9b72
Updated Rector to commit 656836093ea0abd96860af062fdf6f67afe1f504
...
656836093e
[CodeQuality] Deprecate NarrowUnionTypeDocRector as focused on docblocks, and moving to type declarations (#3848 )
2023-05-14 15:57:29 +00:00
Tomas Votruba
98e78b2b7c
Updated Rector to commit ec61753f20dbabd4b4b350f9d7a994ac61315e82
...
ec61753f20
[PHP 8.0] Deprecate old UnionTypesRector that is dangerously moving docblocks, use type declaration rules instead (#3846 )
2023-05-14 15:41:53 +00:00
Tomas Votruba
f844a1b873
Updated Rector to commit 8be7ac6830f0f7191af7118814c779da3ebd9b56
...
8be7ac6830
Remove unused offset correction (#3843 )
2023-05-14 15:14:10 +00:00