Commit Graph

16166 Commits

Author SHA1 Message Date
Tomas Votruba
c0ebeabf68 Updated Rector to commit 2d13bc9773c3b7b91598312087c236c14b002d28
2d13bc9773 Remove NewArgToMethodCallRector as unused (#4130)
2023-06-08 23:27:12 +00:00
Tomas Votruba
2c295def16 Updated Rector to commit 82687502deb9d41ed79ed832baa09fe23f90d3f8
82687502de Avoid parent node lookup in RemoveEmptyClassMethodRector (#4129)
2023-06-08 23:05:51 +00:00
Tomas Votruba
08a4332d59 Updated Rector to commit 059783fb07cbe5bd2259d4634d32f563ce862de0
059783fb07 Remove MethodCallToMethodCallRector as unused (#4128)
2023-06-08 22:54:12 +00:00
Tomas Votruba
b9a035cc96 Updated Rector to commit 2c13033108f884fb007ccfa74d29e85cc726b985
2c13033108 Remove UnsetAndIssetToMethodCallRector as unused (#4123)
2023-06-08 22:35:24 +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
8b89240eee Updated Rector to commit ade49b3e9088c027b4a1a35d2e4228ae3375a00d
ade49b3e90 Various cleanups (#4125)
2023-06-08 21:35:09 +00:00
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