Tomas Votruba
04c348a97e
Updated Rector to commit e012a3eb766f41016090dfa0aa982d9abd74a1e4
...
e012a3eb76
Make use of RenameClassNonPhpRector (#4124 )
2023-06-08 21:03:14 +00:00
Tomas Votruba
4f94034308
Updated Rector to commit d003424800ab2b06eae432679cda73ee959cbad1
...
d003424800
From magic array autowire to explicit autowire (#4122 )
2023-06-08 20:31:22 +00:00
Tomas Votruba
7e4800f37a
Updated Rector to commit ce31e603b9679098ce089355fc0e68a11a10a9df
...
ce31e603b9
remove dump
2023-06-08 19:45:45 +00:00
Tomas Votruba
c0bedb9c23
Updated Rector to commit 0632b027242e12839cc564a5efec0594f3956543
...
f655aa0f68
make attribute groupr named explicit
79c26f4db6
rebase
0632b02724
misc
2023-06-08 19:44:16 +00:00
Tomas Votruba
7ceca5a857
Updated Rector to commit bf2fe78378130e72970cd41c8a4cc2f1807ab951
...
bf2fe78378
Various cleanup (#4121 )
2023-06-08 19:43:06 +00:00
Tomas Votruba
2464e91763
Updated Rector to commit 754f2b31495ef47302a5db4783b2bf8b152ef2d0
...
754f2b3149
misc
2023-06-08 19:17:51 +00:00
Tomas Votruba
afe0b083f7
Updated Rector to commit d1b27e40825478194d10ef82aefd66a6bb5b5dc3
...
d1b27e4082
misc
2023-06-08 19:15:15 +00:00
Tomas Votruba
9b000bfc6d
Updated Rector to commit 827b364d7e72e17b5903c368bc82b8b9cf3faec6
...
827b364d7e
add commands optinally
2023-06-08 19:15:09 +00:00
Tomas Votruba
c1c2677bef
Updated Rector to commit 3c7cba308f87667ee2c54b8d1673b64ae2cacf26
...
3c7cba308f
try optional
2023-06-08 19:04:59 +00:00
Tomas Votruba
fdf6a88b62
Updated Rector to commit aebd3118751ebf1bf21e300b6de2ee35052a01ef
...
aebd311875
Remove RemoveAllowDynamicPropertiesAttributeRector as attribute is a comment on lower PHP versions, also rather downgrade rule (#4120 )
2023-06-08 18:34:29 +00:00
Tomas Votruba
b9a2e1cfb3
Updated Rector to commit 923b590fd5aca0b1fd7033963332d3c3845af1c7
...
923b590fd5
Remove RemoveMethodCallParamRector, as unused (#4119 )
2023-06-08 18:32:28 +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
f6e608f751
Updated Rector to commit 6c3eb864d7a543b9e6f0379959bb98de489ab853
...
6c3eb864d7
Remove MultipleClassFileToPsr4ClassesRector as only PSR4 rule, bit risky and better handled with PHPStan + remove adding/removing files logic, use printer instead (#4117 )
2023-06-08 17:22:43 +00:00
Tomas Votruba
7f654942fd
Updated Rector to commit 18a2a0f37852ed6f5fb52c07e2c1137cf556f5b4
...
18a2a0f378
Add STRICT_BOOLEANS set (#4116 )
2023-06-08 16:22:20 +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
f486676c12
Updated Rector to commit 16b60d0f84d824f2eaafadd52650bd4ea84798e5
...
16b60d0f84
Make ConvertStaticPrivateConstantToSelfRector work for non-final classes, make part of code-quality set (#4114 )
2023-06-08 14:55:39 +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
1a06fc6c7b
Updated Rector to commit b0873f7667fe9e5c2b178ce7bc8ce8007c105168
...
b0873f7667
Remove ActionInjectionToConstructorInjectionRector as rather for demo purposes, not practical (#4113 )
2023-06-08 14:20:09 +00:00
Tomas Votruba
4e35c1eafd
Updated Rector to commit 2d174631c410c5ec1767a28905206e2e678b546b
...
2d174631c4
[CodeQuality] Handle return new object and no return on ConsecutiveNullCompareReturnsToNullCoalesceQueueRector (#4112 )
2023-06-08 10:08:29 +00:00
Tomas Votruba
1d6fa53888
Updated Rector to commit 7f73d653b9ceb059f9d05e010a7c6120f23c77ac
...
7f73d653b9
[Traverser] Use specific Stmt: Declare_ and Namespace_ for init namespace stmt_key index on StmtKeyNodeVisitor (#4111 )
2023-06-08 02:08:17 +00:00
Tomas Votruba
a97ef30b94
Updated Rector to commit fe33aad6cbff85882e60ef2461e929d5b1957456
...
fe33aad6cb
[Printer] Rename method decorateInlineHTMLOrNopAndUpdatePhpdocInfo() to moveCommentsFromAttributeObjectToCommentsAttribute() (#4110 )
2023-06-07 16:12:13 +00:00
Tomas Votruba
fd9beab0d3
Updated Rector to commit 2449c45be390824bb4230e17c776f68e1f66e89c
...
2449c45be3
[Core] Remove manual reindex stmt_key on ChangedNodeScopeRefresher::reIndexNodeAttributes() (#4109 )
2023-06-07 15:52:33 +00:00
Tomas Votruba
87fdd5999d
Updated Rector to commit 63816c03ac4b36a7fdaa28b5944a8fca9f9ed6b8
...
63816c03ac
[CodeQuality] Handle throw after if on ConsecutiveNullCompareReturnsToNullCoalesceQueueRector (#4107 )
2023-06-07 14:47:58 +00:00
Tomas Votruba
fb04ea18b8
Updated Rector to commit 71dc336750afb61b4766bad5c040ffd7a77f4741
...
71dc336750
[CodingStyle] Skip countable object on CountArrayToEmptyArrayComparisonRector (#4108 )
2023-06-07 14:26:11 +00:00
Tomas Votruba
b02fdd55d1
Updated Rector to commit 8cc8c7cb2686340878b6a0b82f782cf86b7a3d3f
...
8cc8c7cb26
Fix StaticCallOnNonStaticToInstanceCallRector to skip parent's parent's method calls. (#4098 )
2023-06-07 13:21:23 +00:00
Tomas Votruba
1fdcfc8e63
Updated Rector to commit 3c9a2453294bed3e258935aad37d355c8251db4f
...
3c9a245329
Make SimplifyRegexPatternRector work without parent nodes + deprecate BetterNodeFinder and findParent* methods (#4105 )
2023-06-07 12:49:26 +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
78750eb011
Updated Rector to commit a43321f493fe7772a427402c8bb15959fc24ca8b
...
a43321f493
[NodeTraverser] Traverse fill stmt_key after FileWithoutNamespaceNodeTraverser on PHPStanNodeScopeResolver (#4103 )
2023-06-07 08:03:23 +00:00
Tomas Votruba
69b9b53c58
Updated Rector to commit aa0c9af2cc7f25d44f38c206da114268f0a397af
...
aa0c9af2cc
Reduce count() usage on PHPStanNodeScopeResolver (#4102 )
2023-06-07 07:52:19 +00:00
Tomas Votruba
348aef8907
Updated Rector to commit f4f94bcd4bb9fd9819ae11b1d2b06b74a078c205
...
f4f94bcd4b
[NodeTraverser] Remove double apply FileWithoutNamespace, remove recursive lookup stmts on BetterStandardPrinter (#4097 )
2023-06-07 02:01:28 +00:00
Tomas Votruba
da05109534
Updated Rector to commit b7760eb6fcfd4d809723e4dfd54ece8d437baff0
...
b7760eb6fc
[Scoper] Try enable DowngradeArrayIsListRector (#4096 )
2023-06-06 23:13:47 +00:00
Tomas Votruba
6e39069a76
Updated Rector to commit c34d617b2fd6dae76117ec7569f825de38b93cba
...
c34d617b2f
remove clean phpstan, as unused
2023-06-06 22:34:25 +00:00
Tomas Votruba
33a3b51b31
Updated Rector to commit fdb96e2abcc809bf4ef6c30923f9f1fe0076b7c0
...
fdb96e2abc
Remove node adding collector (#4095 )
2023-06-06 22:16:48 +00:00
Tomas Votruba
104c8b43d1
Updated Rector to commit b8b1155ffe068cfb0a1a702dfd00e21bf711c46d
...
b8b1155ffe
try polyfill is_list
2023-06-06 22:03:07 +00:00
Tomas Votruba
515eba1ef3
Updated Rector to commit b8b1155ffe068cfb0a1a702dfd00e21bf711c46d
...
b8b1155ffe
try polyfill is_list
2023-06-06 17:02:20 +00:00
Tomas Votruba
075297ce56
Updated Rector to commit 0af705fb570340cb0e4fbc0b9e897b09bd172f5c
...
0af705fb57
debug
2023-06-06 16:41:24 +00:00
Tomas Votruba
84532f58cf
Updated Rector to commit b852d706e3c13bc862a91acac245b313db357450
...
b852d706e3
Remove AffectedFilesCount as unused (#4094 )
2023-06-06 15:06:12 +00:00
Tomas Votruba
1dba11eab4
Updated Rector to commit b852d706e3c13bc862a91acac245b313db357450
...
b852d706e3
Remove AffectedFilesCount as unused (#4094 )
2023-06-06 13:19:57 +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
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
35c3aab2b4
Updated Rector to commit 2915ab78d47cbbc8c2c09e6154eef83b7f75cbf2
...
2915ab78d4
Remove removeNode() from RemoveUnusedPromotedPropertyRector (#4089 )
2023-06-05 15:33:17 +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
7b96363ba3
Updated Rector to commit 408674025f7fc5295b5e67d7adaf11eca4dc1f24
...
408674025f
Remove NewToConstructorInjectionRector as unused and only for demo purposes (#4087 )
2023-06-05 14:41:35 +00:00
Tomas Votruba
368e973125
Updated Rector to commit be31c8faec553f9247f3c0d810648ec22b91b827
...
be31c8faec
Remove ChangeGlobalVariablesToPropertiesRector as the scope might change after the variable is defined, better handle with PHPStan (#4086 )
2023-06-05 14:37:00 +00:00
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
fc28a000c6
Updated Rector to commit cdc9e6b6d8ce2446e8860016997ad37e8d3b7d44
...
cdc9e6b6d8
Remove ArrayKeysAndInArrayToArrayKeyExistsRector as narrow, does not check variable usage and might be on purpose (#4084 )
2023-06-05 13:46:42 +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