Tomas Votruba
2056f7b2b8
Updated Rector to commit f77e355f95de5ca8ac256bc975418ba498e72a57
...
f77e355f95
Use instanceof check on ClassReflection resolve (#4547 )
2023-07-20 07:29:04 +00:00
Tomas Votruba
2a46c820ee
Updated Rector to commit 141a94aa49a3f64e78e3dd2f2a4b1d91de425b8b
...
141a94aa49
[Performance] [Php74] Reduce ClassReflection lookup from property on PropertyTypeChangeGuard (#4545 )
2023-07-20 07:24:15 +00:00
Tomas Votruba
bff94f9200
Updated Rector to commit ceab6d71bb3436c1c613651a12af55954ab3f7bf
...
ceab6d71bb
Add currentStmt property on AbstractRector to allow pull Scope from it on deep Expr (#4437 )
2023-07-19 11:08:33 +00:00
Tomas Votruba
db04f76104
Updated Rector to commit d78bfb44bebd32bd212a1f1ca43d2da51b22286d
...
d78bfb44be
[Strict] Fix DisallowedEmptyRuleFixerRector on empty string isset (#4485 )
2023-07-12 07:23:56 +00:00
Tomas Votruba
9aefef183d
Updated Rector to commit 5dfb6218ec53caa197456adb78baebaae0a4334a
...
5dfb6218ec
[Php80] Handle crash on ClassOnObjectRector + GetDebugTypeRector (#4483 )
2023-07-11 23:03:45 +00:00
Tomas Votruba
001414980a
Updated Rector to commit 14089145f699c64437b484209998963d3c75b0a1
...
14089145f6
[Rector] Skip used after TryCatch on RemoveUnusedVariableInCatchRector (#4459 )
2023-07-09 13:58:38 +00:00
Tomas Votruba
994045415a
Updated Rector to commit ad7d9b12ea0fa8bba78be8d0348daa6ecffe3abe
...
ad7d9b12ea
[DX] Always init $this->hasChanged on Rector rule to ensure the flag is reset on same call on different file (#4454 )
2023-07-09 11:49:50 +00:00
Tomas Votruba
bc1a862545
Updated Rector to commit cfc88dc019bc47deb44280e14940af355dfd1e81
...
cfc88dc019
[DX] Check only for current scope in RemoveUnusedVariableInCatchRector, as… magic exception use is bad practise and should be avoided (#4449 )
2023-07-09 10:41:20 +00:00
Tomas Votruba
c86937fb6b
Updated Rector to commit b9ace5f53f1640ab947922957e8179b2b50ff2cd
...
b9ace5f53f
[PHP 8] Resources object upgrade - remove 2 rules as the upgrade require wholesome manual work (#4442 )
2023-07-08 22:49:07 +00:00
Tomas Votruba
6981c70c9a
Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
...
9ed8c21b12
[DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector (#4388 )
2023-07-01 09:41:56 +00:00
Tomas Votruba
a3231bb81d
Updated Rector to commit 40a1f34b12c548f7be05f02a084be54e8374a58a
...
40a1f34b12
[Naming] Remove parent lookup on UseImportsResolver (#4367 )
2023-06-27 17:32:34 +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
4c28e357ca
Updated Rector to commit 20ec11e73d8998f9ad7533c8f179ee7be8e2abdf
...
20ec11e73d
[Docblock] Move DocBlockUpdater service usage from AbstractRector to PhpDocTypeChanger (#4215 )
2023-06-14 04:39:10 +00:00
Tomas Votruba
ff28aaca4c
Updated Rector to commit 21f8014b30f4a4230f787ca1698a2c53d6d5f18a
...
21f8014b30
[DI] Autowire annotation to attribute mapper via tags (#4190 )
2023-06-12 10:45:32 +00:00
Tomas Votruba
503a6059f8
Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
...
a8922f7431
skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba
3313a231b7
Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
...
bb609b28e3
[Core] Always reset stopTraversal to false on next Rector visit (#4182 )
2023-06-11 14:17:34 +00:00
Tomas Votruba
d11bfc6bb9
Updated Rector to commit af780c8f07bfe6fcf011789979369f03e279db44
...
af780c8f07
Removing parent node calls (#4137 )
2023-06-09 15:59:30 +00:00
Tomas Votruba
cdb2d0ed3f
Updated Rector to commit f2509fa341525d3939073c5b4513f47ab8362fda
...
f2509fa341
Remove DoctrineAnnotationClassToAttributeRector as made for custom project, not useful for general use (#4127 )
2023-06-08 22:24:02 +00:00
Tomas Votruba
f82e30a026
Updated Rector to commit ae874efa148e6d5a031503892a6307824b4d7003
...
ae874efa14
Remove SourceLocatorProviderInterface as unused (#4126 )
2023-06-08 22:00:17 +00:00
Tomas Votruba
7ceca5a857
Updated Rector to commit bf2fe78378130e72970cd41c8a4cc2f1807ab951
...
bf2fe78378
Various cleanup (#4121 )
2023-06-08 19:43:06 +00:00
Tomas Votruba
48bf71f740
Updated Rector to commit 8db9a6ff83fe5407e967000b2dfec772285de87a
...
8db9a6ff83
[DX] Autowire commands explicitly (#4118 )
2023-06-08 18:28:01 +00:00
Tomas Votruba
850512e46d
Updated Rector to commit 4457cfad19971c45ff953b238f456590bb6fd67f
...
4457cfad19
Remove ConstantListClassToEnumRector as custom-made, not practical for enum upgrades (#4115 )
2023-06-08 15:39:22 +00:00
Tomas Votruba
9e103260ec
Updated Rector to commit 2f3e9be0ae108c75f9de8fbf2ea92f0393ad9839
...
2f3e9be0ae
[DX] Test BetterNodeFinder with Laravel container (#4106 )
2023-06-08 14:23:03 +00:00
Tomas Votruba
be6e24fe8c
Updated Rector to commit ff21394bc2448bae7cfcf7e6b4be462a4bae104f
...
ff21394bc2
[Php80] Fix add default nullable type on ClassPropertyAssignToConstructorPromotionRector (#4091 )
2023-06-06 10:31:04 +00:00
Tomas Votruba
3aecd9de93
Updated Rector to commit c567d5d44340e83f62e8599832af4019d7ef37b3
...
c567d5d443
Remove removeNode() from ClassPropertyAssignToConstructorPromotionRector (#4090 )
2023-06-05 15:41:37 +00:00
Tomas Votruba
63ba316fef
Updated Rector to commit d54d8b18a92f4248605bc90b5af2b2a22c39a93e
...
d54d8b18a9
Hook NewInInitializerRector to a Class_ node (#4088 )
2023-06-05 15:06:32 +00:00
Tomas Votruba
5edc8437c3
Updated Rector to commit 0e9192f70cc10e4684adec85a0ab5f67c6afcad3
...
0e9192f70c
Remove deprecated UnionTypesRector and NarrowUnionTypeDocRector, use strict-based rules from TypeDeclaration set instead (#4069 )
2023-06-04 21:38:22 +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
3dc5be2274
Updated Rector to commit 92ff716761e19c7f30bd68065af7eeefac0480de
...
92ff716761
Improve string support in Doctrine Annotations (#3645 )
2023-06-02 09:42:16 +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
01ece07757
Updated Rector to commit e0d7483c6257a772829bc28ca76c8237cabb6435
...
e0d7483c62
Make use of stmts assign in StringableForToStringRector (#4025 )
2023-05-30 12:30:41 +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
6f79fcfb1e
Updated Rector to commit e2213f21762d74946a34197921aa905623493e8c
...
e2213f2176
Remove unused addNodeAfterNode(), return nodes instead (#4023 )
2023-05-30 08:41:10 +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
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
0efdb38927
Updated Rector to commit 31712a1a466b4f2f2f83986aa6710405a00b446e
...
31712a1a46
Refactor from PARENT_NODE in TokenGetAllToObjectRector (#3961 )
2023-05-25 13:52:45 +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
6f986503de
Updated Rector to commit 5b990ff50f851726e5d3a28590572c8e3f99bb04
...
5b990ff50f
Bump symplify/phpstan-rules deps (#3894 )
2023-05-19 13:30:27 +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
535f180737
Updated Rector to commit 37f0942c0976630ce9479c7499099a67d1f07bc4
...
37f0942c09
cs fix
2023-05-14 15:29:04 +00:00
Tomas Votruba
5d75a302b5
Updated Rector to commit f554fe1a836dc1b7015cda99e7e71f5dbe46d731
...
f554fe1a83
Fix nullable param in ClassPropertyAssignToConstructorPromotionRector (#3842 )
2023-05-14 15:10:59 +00:00
Tomas Votruba
da149bb5b0
Updated Rector to commit 645071a650fc50d7e084378facaebcc868a52ba1
...
645071a650
Add test fixture for sprintf number + make use of getArgs() to get always an Arg type (#3822 )
2023-05-13 17:20:02 +00:00
Tomas Votruba
8af1a1213f
Updated Rector to commit 1e052f588331717f87a8d610db6eb7f89f8690d3
...
1e052f5883
[cleanup] Make use of getArgs(), remove ignored from phpstan (#3771 )
2023-05-08 12:54:32 +00:00
Tomas Votruba
af500df8f4
Updated Rector to commit f6c4edcd0c3feaad4abc075bae39474ac34bb82d
...
f6c4edcd0c
[CodeQuality] Add CleanupUnneededNullsafeOperatorRector (#3767 )
2023-05-08 10:34:10 +00:00
Tomas Votruba
39697489d4
Updated Rector to commit 5a32ed95b75b179e77c14a83a65f2eff1f1474b8
...
5a32ed95b7
[cleanup] Make use of getArgs(), remove ignores from phpstan.neon (#3770 )
2023-05-08 10:34:06 +00:00
Tomas Votruba
930a1a2ba2
Updated Rector to commit 2d583eba1512d3b51e79503eba46466a32cb7374
...
2d583eba15
[cleanup] Make use of getArgs() (#3769 )
2023-05-08 07:49:33 +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
Tomas Votruba
65abab80de
Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
...
5c1be93b80
PHP 8.2 is supported (#3717 )
2023-05-01 01:36:32 +00:00
Tomas Votruba
30c4c5527a
Updated Rector to commit c203b601c98f4a93236c82179a2e9a5a519b48ae
...
c203b601c9
[Php80] Handle crash leaveNode() returned invalid value of type integer on TokenGetAllToObjectRector (#3644 )
2023-04-21 15:28:50 +00:00