5806 Commits

Author SHA1 Message Date
Tomas Votruba
2259cc5a31 Updated Rector to commit 60857134fdd3e7eb935a721962c0866518e3471e
60857134fd [BetterPhpDocParser] Check for closing brace in text content (#8977) (#6670)
2025-01-16 09:34:43 +00:00
Tomas Votruba
e864c7aa1f Updated Rector to commit 60857134fdd3e7eb935a721962c0866518e3471e
60857134fd [BetterPhpDocParser] Check for closing brace in text content (#8977) (#6670)
2025-01-16 00:09:19 +00:00
Tomas Votruba
5d08064c62 Updated Rector to commit b99ece5043b641bff347ad3decca281b2b107d88
b99ece5043 use ->ignoreVCSIgnored() on RectorConfigBuilder::withRootFiles() over custom logic (#6669)
2025-01-15 02:55:20 +00:00
Tomas Votruba
c1077f346f Updated Rector to commit 9d81ebabb5e0bd496f94f00a4151ac14359ef792
9d81ebabb5 [TypeDeclaration] Skip changed by ref from trait on TypedPropertyFromStrictConstructorRector (#6666)
2025-01-11 15:39:06 +00:00
Tomas Votruba
331a8ca05e Updated Rector to commit 706170a2bee1e6df93e0b9789c97f7af36eb9c73
706170a2be feature: replace MyCLabs Enum constructor call (#6588)
2025-01-11 07:43:54 +00:00
Tomas Votruba
bad8f383f5 Updated Rector to commit 4b18c82b21ad76410037090b0bf4c019fa983f08
4b18c82b21 [Scoper] Fix scoper to fix prefixed regex on doctrine inflector take 3 (#6657)
2025-01-06 16:26:54 +00:00
Tomas Votruba
47516301bf Updated Rector to commit 3b42813953f335c8d2986c391629ce007ad06ea4
3b42813953 [Scoper] Fix scoper to fix prefixed regex on doctrine inflector take 2 (#6656)
2025-01-06 16:21:17 +00:00
Tomas Votruba
1e4b4023a5 Updated Rector to commit c38a120d1193f8878fae85b0d96e88a1c644fd09
c38a120d11 Revert "[Scoper] Fix scoper to fix prefixed regex on doctrine inflector (#6654)" (#6655)
2025-01-06 16:16:03 +00:00
Tomas Votruba
96ec70632f Updated Rector to commit d465f0f5c20e70b3fa315a3e9c618a9f9d1ea60b
d465f0f5c2 [Scoper] Fix scoper to fix prefixed regex on doctrine inflector (#6654)
2025-01-06 16:09:49 +00:00
Tomas Votruba
97c2f84d90 Updated Rector to commit da809660a9a2d98231f8f57b337fc3facf803b13
da809660a9 [CodeQuality] Handle on assign on FlipTypeControlToUseExclusiveTypeRector (#6653)
2025-01-06 13:54:36 +00:00
Tomas Votruba
dd9ef30b19 Updated Rector to commit 532b39dd167d28aa21dac38751f9b9bcd34373b7
532b39dd16 [Parser] Remove SmartPhpParserFactory and SmartPhpParser (#6651)
2025-01-06 10:20:24 +00:00
Tomas Votruba
45b8ec26b9 Updated Rector to commit fe99f211133b43850881ce0a7522c6242892b6b1
fe99f21113 Use autowired method if exists in adding new dependency (#6652)
2025-01-06 10:18:22 +00:00
Tomas Votruba
4405ec5ff8 Updated Rector to commit 8bc80b4641429cfcea9a413ff9eb1bd9afaae9ee
8bc80b4641 Add readonly by default on new promoted property (#6650)
2025-01-05 17:39:40 +00:00
Tomas Votruba
40b5c4746e Updated Rector to commit 2e82ab4969246050e9fe47df0cf549cc96fdbfd5
2e82ab4969 [PHPStan ^2.1.1] Handle next unreachable statement via UnreachableStatementNode->getNextUnreachableStatements() (#6642)
2025-01-05 17:07:39 +00:00
Tomas Votruba
fcafd42fb3 Updated Rector to commit 92b4999c34e9fad614aedb1d98d05829dfbdaa2b
92b4999c34 Bump to PHPStan ^2.1.1 and remove usage of PropertyHookNameVisitor on SimpleParser (#6649)
2025-01-05 17:03:03 +00:00
Tomas Votruba
24b8fc7d89 Updated Rector to commit a1cb33463a604a3b0e232ec423700ee1ff2cf60a
a1cb33463a [DeadCode] Add RemoveUselessAssignFromPropertyPromotionRector (#6643)
2025-01-04 12:25:26 +00:00
Tomas Votruba
79bfc87e90 Updated Rector to commit 66d93167af53e4116e73f6dc011f02ac23efbd6f
66d93167af [DeadCode] Add ReplaceBlockToItsStmtsRector (#6641)
2025-01-01 16:35:01 +00:00
Tomas Votruba
232892cf57 Updated Rector to commit f3242bfadc709ca567975be62691944b5f8301ee
f3242bfadc [CodeQuality] Handle crash inside block statement with unreachable statement on OptionalParametersAfterRequiredRector (#6640)
2025-01-01 14:41:15 +00:00
Tomas Votruba
7ebf783415 Updated Rector to commit f3242bfadc709ca567975be62691944b5f8301ee
f3242bfadc [CodeQuality] Handle crash inside block statement with unreachable statement on OptionalParametersAfterRequiredRector (#6640)
2025-01-01 14:12:17 +00:00
Tomas Votruba
c29364dfcf Updated Rector to commit f3242bfadc709ca567975be62691944b5f8301ee
f3242bfadc [CodeQuality] Handle crash inside block statement with unreachable statement on OptionalParametersAfterRequiredRector (#6640)
2025-01-01 07:12:11 +00:00
Tomas Votruba
2c903ab625 Updated Rector to commit c20860d38fabc003dff096168bbfd99479e9242a
c20860d38f Bump to PHPStan ^2.1.0 (#6639)
2024-12-31 10:01:10 +00:00
Tomas Votruba
84e1eb5aff Updated Rector to commit 97347fbed99e372bc2a6bd46c30f615c0be12d5f
97347fbed9 use vendor-patches main branch that already include php-parser 5.4.0 patch (#6638)
2024-12-30 12:24:44 +00:00
Tomas Votruba
f99d6f30c0 Updated Rector to commit 8834b334b5468636f08ed4c54994eff839a2fb81
8834b334b5 Bump to PHP-Parser ^5.4.0 with use patches fix-patch-php-parser-54 patches (#6637)
2024-12-30 12:17:51 +00:00
Tomas Votruba
376ef50115 Updated Rector to commit eb272ee7ab00184569bd327819d69a305e19fdcb
eb272ee7ab Temporary pin php-parser to 5.3.1 (#6636)
2024-12-30 11:20:22 +00:00
Tomas Votruba
59d44f7985 Updated Rector to commit 5f21af7a492f8be43972c1d89fa150ae9e37475c
5f21af7a49 Remove unused AssignVariableNameResolverInterface instances (#6631)
2024-12-27 13:23:06 +00:00
Tomas Votruba
1a2bd6c7dd Updated Rector to commit ed433a87a3e746547b2a22ece373a4bbebf5823d
ed433a87a3 [TypeDeclaration] Skip assign in if condition on BinaryOpNullableToInstanceofRector (#6629)
2024-12-26 00:50:22 +00:00
Tomas Votruba
b8e60e2db5 Updated Rector to commit ed433a87a3e746547b2a22ece373a4bbebf5823d
ed433a87a3 [TypeDeclaration] Skip assign in if condition on BinaryOpNullableToInstanceofRector (#6629)
2024-12-25 12:39:51 +00:00
Tomas Votruba
af97af9007 Updated Rector to commit ed433a87a3e746547b2a22ece373a4bbebf5823d
ed433a87a3 [TypeDeclaration] Skip assign in if condition on BinaryOpNullableToInstanceofRector (#6629)
2024-12-25 11:57:33 +00:00
Tomas Votruba
84d2a96fe5 Updated Rector to commit ed433a87a3e746547b2a22ece373a4bbebf5823d
ed433a87a3 [TypeDeclaration] Skip assign in if condition on BinaryOpNullableToInstanceofRector (#6629)
2024-12-25 11:17:36 +00:00
Tomas Votruba
8d4228059d Updated Rector to commit ed433a87a3e746547b2a22ece373a4bbebf5823d
ed433a87a3 [TypeDeclaration] Skip assign in if condition on BinaryOpNullableToInstanceofRector (#6629)
2024-12-25 10:59:25 +00:00
Tomas Votruba
b24cfd9322 Updated Rector to commit ed433a87a3e746547b2a22ece373a4bbebf5823d
ed433a87a3 [TypeDeclaration] Skip assign in if condition on BinaryOpNullableToInstanceofRector (#6629)
2024-12-25 10:35:55 +00:00
Tomas Votruba
b40bc10c7c Updated Rector to commit 22915933d05f2a3e38355cd150ec67401a0fe3b9
22915933d0 [automated] Apply Coding Standard (#6627)
2024-12-24 01:25:19 +00:00
Tomas Votruba
0aa5d110fd Updated Rector to commit 22915933d05f2a3e38355cd150ec67401a0fe3b9
22915933d0 [automated] Apply Coding Standard (#6627)
2024-12-23 23:45:34 +00:00
Tomas Votruba
99d5371f01 Updated Rector to commit 22915933d05f2a3e38355cd150ec67401a0fe3b9
22915933d0 [automated] Apply Coding Standard (#6627)
2024-12-23 09:59:12 +00:00
Tomas Votruba
17380f9017 Updated Rector to commit 22915933d05f2a3e38355cd150ec67401a0fe3b9
22915933d0 [automated] Apply Coding Standard (#6627)
2024-12-22 11:28:18 +00:00
Tomas Votruba
739319081e Updated Rector to commit 351e4b75ebe9daf191a6ba0166561a9b98490377
351e4b75eb [Experiment] Remove WrappedNodeRestoringNodeVisitor (#6626)
2024-12-21 14:05:54 +00:00
Tomas Votruba
1883ef8cfc Updated Rector to commit 69c22013f6d127aca89b2c18070a4e27119d94bf
69c22013f6 Rollback SimpleCallableNodeTraverser usage on ByRefReturnNodeVisitor (#6624)
2024-12-21 01:03:22 +00:00
Tomas Votruba
a2f3748e83 Updated Rector to commit 69c22013f6d127aca89b2c18070a4e27119d94bf
69c22013f6 Rollback SimpleCallableNodeTraverser usage on ByRefReturnNodeVisitor (#6624)
2024-12-20 15:33:39 +00:00
Tomas Votruba
6be577566e Updated Rector to commit f67bc4eb89d3ef9804cd6088e98c8f7636f5c221
f67bc4eb89 [Performance] Only register WrappedNodeRestoringNodeVisitor() when there is found AlwaysRememberedExpr or Match_ node on processNodes() (#6620)
2024-12-20 12:05:26 +00:00
Tomas Votruba
79fb8fc282 Updated Rector to commit a72a02188ab22b7beeb94dd1ffda79bdfffd64c4
a72a02188a [Php84] Add rule for RoundingMode enum (#6369)
2024-12-20 00:17:13 +00:00
Tomas Votruba
2601fd2c97 Updated Rector to commit 6aca457745976acad6cec231ffc400f0d399a386
6aca457745 [Php81][php82] Add AttributeGroupNewLiner to make new line based on token on ReadOnlyPropertyRector and ReadOnlyClassRector (#6618)
2024-12-19 09:07:49 +00:00
Tomas Votruba
ca7f3cd180 Updated Rector to commit 6aca457745976acad6cec231ffc400f0d399a386
6aca457745 [Php81][php82] Add AttributeGroupNewLiner to make new line based on token on ReadOnlyPropertyRector and ReadOnlyClassRector (#6618)
2024-12-19 09:00:56 +00:00
Tomas Votruba
e2a64c439d Updated Rector to commit e9e88d4d1b6e85b4a5e40f9c17dc12a951a748a8
e9e88d4d1b Remove deep reindex on refresh scope node (#6617)
2024-12-19 06:24:39 +00:00
Tomas Votruba
9857b354fa Updated Rector to commit e5e2ba2c721aebd507d338d77996e45ca84567ba
e5e2ba2c72 Revert "Ensure reindex in deep stmts before refactor() (#6614)" (#6615)
2024-12-19 05:04:40 +00:00
Tomas Votruba
8a72b6dd2c Updated Rector to commit 89441c419b0a8b9817b89b963af1dcfff804d3f7
89441c419b Ensure reindex in deep stmts before refactor() (#6614)
2024-12-19 04:45:05 +00:00
Tomas Votruba
7180d53b03 Updated Rector to commit c5ac495242295f73aaa0dadad8cfebe901735422
c5ac495242 Revert "[Php80] Keep numeric string as is on StringAnnotationToAttributeMappe…" (#6609)
2024-12-18 18:45:52 +00:00
Tomas Votruba
2ed8be5c45 Updated Rector to commit 4cafa91255c4137074b7ea9aa05754f934e99ab9
4cafa91255 Rollback reindex node attributes before refactor  (#6603)
2024-12-18 06:16:38 +00:00
Tomas Votruba
2715075d74 Updated Rector to commit 99b6d309220f3cdda9f49cf8bf6bc21863b03c26
99b6d30922 [NodeTypeResolver] Re-index node attributes on refresh scope process (#6601)
2024-12-18 03:47:18 +00:00
Tomas Votruba
3c2265860e Updated Rector to commit 6024d31dd6e946e3801436de95a1e2dcf64be7b2
6024d31dd6 Bump to PHPStan ^2.0.4 (#6600)
2024-12-17 22:08:10 +00:00
Tomas Votruba
35244f0eda Updated Rector to commit e1b032ef92c901037728b9bacb838b75d4908413
e1b032ef92 [Php81] Skip with next required on NewInInitializerRector (#6599)
2024-12-17 21:57:29 +00:00