Tomas Votruba
54b25e4291
Updated Rector to commit 2dccbb6b176a836e174babbaf6611a0d4730c55c
...
2dccbb6b17
Remove removeNode() from RemoveDeadReturnRector, merge RemoveLastReturnRector to RemoveDeadReturnRector (#4085 )
2023-06-05 14:01:36 +00:00
Tomas Votruba
bc7911e5d1
Updated Rector to commit a61fbf265d2995453ad8d9f12b6bb00ff1937162
...
a61fbf265d
Remove removeNode() from couple rules (#4083 )
2023-06-05 13:42:47 +00:00
Tomas Votruba
1078587eae
Updated Rector to commit 1fa8672242253aae77cd888400c5125d2e1fa9f5
...
1fa8672242
Remove removeNode() from RemoveDoubleAssignRector (#4082 )
2023-06-05 10:21:40 +00:00
Tomas Votruba
899f790edb
Updated Rector to commit b743de6b8194322cd59eb8967b10d4b9ffb3fa1c
...
b743de6b81
Remove removeNode() in various rules (#4080 )
2023-06-05 10:07:36 +00:00
Tomas Votruba
5697e833d8
Updated Rector to commit 8e80c7a5489a096b707281aded4ff4976bbb10b1
...
8e80c7a548
Remove removeNode() from RemovePhpVersionIdCheckRector (#4078 )
2023-06-05 09:54:03 +00:00
Tomas Votruba
0a26126b5a
Updated Rector to commit b60faa4203092b57ea4d1d2f977b46334adc2e51
...
b60faa4203
Remove TargetRemoveClassMethodRector, as IDE specific (#4076 )
2023-06-05 09:37:45 +00:00
Tomas Votruba
917ce32d7a
Updated Rector to commit ddcc807ffcdf24c49889125682d1bcb223387d09
...
ddcc807ffc
Make use of REMOVE_NODE return constant in refator() method (#4075 )
2023-06-05 09:32:57 +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
c440a59574
Updated Rector to commit 063c488b9b6a4eefe4a65fb6236f0b00b0e14890
...
063c488b9b
Remove removeNode() from RemoveEmptyMethodCallRector (#4071 )
2023-06-04 22:44:01 +00:00
Tomas Votruba
ad0058dd98
Updated Rector to commit 5f2ddbfd85c50c3baea67e02472640f50ba7b6a0
...
5f2ddbfd85
Remove removeNode() from RemoveDeadIfForeachForRector (#4072 )
2023-06-04 22:38:07 +00:00
Tomas Votruba
2813830091
Updated Rector to commit d288f4c41dbcd2a095a1cf11b3b4d6e989973394
...
d288f4c41d
Remove removeNode() from RemoveUnusedPrivateMethodRector (#4067 )
2023-06-04 18:10:51 +00:00
Tomas Votruba
bd7d3c46f2
Updated Rector to commit cd776a822655f90311b0e1e925df138d24f147a1
...
cd776a8226
Remove removeNode() from RemoveDelegatingParentCallRector (#4066 )
2023-06-04 18:09:35 +00:00
Tomas Votruba
1f621e91a4
Updated Rector to commit 88eed987cc361166359c158ffd22d264d165aa8b
...
88eed987cc
Ensure check isFirstClassCallable() before node->getArgs() on CallLike (#4049 )
2023-06-02 12:32:12 +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
442b2ce101
Updated Rector to commit 73c1ac45e78b2e8b091f7a0cbcc0b54b9b24bb42
...
73c1ac45e7
Make use of key to remove property (#4032 )
2023-05-30 14:11:53 +00:00
Tomas Votruba
010d5d2c6f
Updated Rector to commit 22e97d1c418d0772cf449ed888522ca060829ddf
...
22e97d1c41
Cleanup stmts (#4027 )
2023-05-30 13:05:48 +00:00
Tomas Votruba
8fa5f13430
Updated Rector to commit 953ecb9ecd02d5fc13a21cd7086b60aa45eac31d
...
953ecb9ecd
Improve RemoveUnusedNonEmptyArrayBeforeForeachRector to work with foreach over stmts (#4026 )
2023-05-30 12:38:31 +00:00
Tomas Votruba
6f79fcfb1e
Updated Rector to commit e2213f21762d74946a34197921aa905623493e8c
...
e2213f2176
Remove unused addNodeAfterNode(), return nodes instead (#4023 )
2023-05-30 08:41:10 +00:00
Tomas Votruba
85587ab16d
Updated Rector to commit 4ea7d0f477ff10755172869818056824b2d42dcd
...
4ea7d0f477
[DeadCode] Clean up PHPStan notice on ComplexNodeRemover::processRemoveParamWithKeys() (#4018 )
2023-05-29 12:26:31 +00:00
Tomas Votruba
6b379fd240
Updated Rector to commit e6048295f9001e693403f9f47fd956c543636c16
...
e6048295f9
[DeadCode] Use flag on return ClassMethod node on RemoveUnusedConstructorParamRector (#4017 )
2023-05-29 12:18:38 +00:00
Tomas Votruba
672507859d
Updated Rector to commit 580c76d7fe50f608dfac67f011cd6cac33b6ef72
...
580c76d7fe
[DeadCode] Revert constructor with middle param removal on RemoveUnusedPrivatePropertyRector (#4016 )
2023-05-29 12:06:26 +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
601ac11f14
Updated Rector to commit 32510e0dc7ee63d5a38c7d088aaf82eee605c516
...
32510e0dc7
Remove array items directly RemoveDuplicatedArrayKeyRector (#4013 )
2023-05-29 09:16:46 +00:00
Tomas Votruba
4cf0c8c8ba
Updated Rector to commit 48991c6394059d53256dcfacf41957f8a434a453
...
48991c6394
[Performance] Reduce ClassReflection lookup on RemoveUnusedPrivateMethodRector (#4006 )
2023-05-28 21:08:58 +00:00
Tomas Votruba
45419321ce
Updated Rector to commit 95d3dc93770718d2337a7addbfed021f6cad8072
...
95d3dc9377
[DeadCode] Remove parent lookup on RemoveUnusedPrivateMethodRector (#4005 )
2023-05-28 21:02:39 +00:00
Tomas Votruba
28adaf00cf
Updated Rector to commit 041fa832d50b0548594e5f8aa53036b394016c27
...
041fa832d5
Refactor from PARENT_NODE in RemoveParentCallWithoutParentRector (#3963 )
2023-05-25 14:40:36 +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
5f32b6989a
Updated Rector to commit 62ecc9028796457cc58e717ac50c9d2cc5339b17
...
62ecc90287
[DeadCode] Skip assign closure bind by reference on RemoveUnusedVariableAssignRector (#3942 )
2023-05-24 02:50:28 +00:00
Tomas Votruba
f7fccae5ba
Updated Rector to commit e04e51c25d95e3b2133adca5f01f8e7e002534af
...
e04e51c25d
[DeadCode][Php56] Handle infinite loop on RemoveUnusedVariableAssignRector+AddDefaultValueForUndefinedVariableRector (#3940 )
2023-05-23 22:15:37 +00:00
Tomas Votruba
22d4bdfac5
Updated Rector to commit d031c059eb2b7b07bbf9609b4eee0b6b895a4095
...
d031c059eb
Remove PARENT_NODE from RemoveJustPropertyFetchRector (#3937 )
2023-05-23 14:08:54 +00:00
Tomas Votruba
62ef1326dc
Updated Rector to commit 8a74ea74d5501f5f850632c834878468eaa39b8e
...
8a74ea74d5
[DeadCode] Remove RemoveDuplicatedInstanceOfRector as hardly practical (#3936 )
2023-05-23 13:59:54 +00:00
Tomas Votruba
ee06436c96
Updated Rector to commit d603b00818cfabc8aa1699b1154145e68bdb60a0
...
d603b00818
Remove PARENT_NODE from RemoveUnusedVariableAssignRector (#3935 )
2023-05-23 13:36:55 +00:00
Tomas Votruba
71d07f8bbf
Updated Rector to commit 6e88b21cfdbf459d4c2b4c97c0db2c9b2d90b572
...
6e88b21cfd
Remove PARENT_NODE from RemoveEmptyMethodCallRector (#3932 )
2023-05-22 14:37:37 +00:00
Tomas Votruba
bbd4807a0e
Updated Rector to commit 88f17e9bb640c69d6b8ef31c6901ac71e2214c0d
...
88f17e9bb6
Remove array function from RemoveEmptyMethodCallRector as too narrow (#3930 )
2023-05-22 14:16:43 +00:00
Tomas Votruba
8724ff4d63
Updated Rector to commit 392d81f7b01253711f7aa48344673b5f01b1c325
...
392d81f7b0
[DeadCode] Remove RemoveDuplicatedIfReturnRector as can lead to unexpeced consequences, better use static analysis and contextual handling (#3926 )
2023-05-22 13:11:03 +00:00
Tomas Votruba
bd8dcc9cae
Updated Rector to commit 33c04c5c90725b36c864cfc86c5491f8d6912396
...
33c04c5c90
[DeadCode] Remove next attribute on RemoveUnusedVariableAssignRector (#3917 )
2023-05-21 22:39:40 +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
73738c0fb1
Updated Rector to commit 3df70bdd234efe4c6f49607df5378fb150b111e7
...
3df70bdd23
Remove NEXT_NODE from RemoveDuplicatedIfReturnRector (#3858 )
2023-05-15 13:00:55 +00:00
Tomas Votruba
dca2603280
Updated Rector to commit f5d809ca431215d512bb0ba3894bab4543afb396
...
f5d809ca43
[CodingStyle] Remove AddFalseDefaultToBoolPropertyRector, as works with unrelaible docblocks (#3856 )
2023-05-15 12:19:44 +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
83531b9b9d
Updated Rector to commit 4ac2cf87c569ec8ebea4d631d684439c16dd296d
...
4ac2cf87c5
[Restoration] Remove RemoveFinalFromEntityRector as used only to revert very old Rector bug (#3847 )
2023-05-14 15:50:50 +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
33a05b3e73
Updated Rector to commit 07a7876d8a4c93097c966730acbc4aeb7d9e1765
...
07a7876d8a
[CodingStyle] Remove OrderAttributesRector, as rather coding standard and does not have specific PSR example (#3838 )
2023-05-14 13:22:44 +00:00
Tomas Votruba
f613b7a98a
Updated Rector to commit 499fdbc3af1779929444c170a778678e28be957a
...
499fdbc3af
Drop AttributeKey::SCOPE in various classes (#3836 )
2023-05-14 10:01:33 +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
55e711a3e6
Updated Rector to commit f4ecf4a033e45042e659440e81281895cb343555
...
f4ecf4a033
Drop AttributeKey::SCOPE in CurrentAndParentClassMethodComparator (#3803 )
2023-05-11 19:11:09 +00:00
Tomas Votruba
8afa5f961e
Updated Rector to commit 074b1781b3fa7c7e23470c57ab85c0bd5fe0bfd2
...
074b1781b3
Remove RemoveUnusedVariableAssignRector, as could be breaking code in order of excution and hard to do reliable (#3793 )
2023-05-11 07:56:32 +00:00
Tomas Votruba
34a9ea6ade
Updated Rector to commit c63dd46e8d8881b576cee60ef09d68f52789a5ee
...
c63dd46e8d
Drop AttributeKey::SCOPE in Rector-classes (#3790 )
2023-05-10 18:50:31 +00:00
Tomas Votruba
039864701c
Updated Rector to commit 764ef74406bf794b30f64d6c5a94e6abfebc4833
...
764ef74406
[DeadCode] Reduce findFirstPrevious() on RemoveUnusedvariableAssignRector (#3789 )
2023-05-10 14:43:48 +00:00
Tomas Votruba
a2c39b778e
Updated Rector to commit 13d81f90894396f7e443cb5cb9198aeacb6bc05a
...
13d81f9089
[Cleanup] Make use of getArgs() directly (#3766 )
2023-05-08 07:37:37 +00:00