5792 Commits

Author SHA1 Message Date
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
Tomas Votruba
fc37f9af2b Updated Rector to commit f6fa83409bd80bf25f0677988100709c2ad7ab38
f6fa83409b [Php81] Skip reassign on array destruct on ReadOnlyPropertyRector (#6596)
2024-12-16 15:01:24 +00:00
Tomas Votruba
8156b1e214 Updated Rector to commit e81670c70921a4bf29f9de769be1b5cdd6eb2097
e81670c709 [deprecation] Add message about deprecated MixedTypeRector rule, Remove deprecated SetListInterface as no longer used (#6590)
2024-12-14 23:01:26 +00:00
Tomas Votruba
8b56f9624f Updated Rector to commit 1013a5ab7ddfc51fd597a4cfb17e1821cd662c5e
1013a5ab7d [TypeDeclaration] Add param type to array map closure (#6377)
2024-12-14 20:43:14 +00:00
Tomas Votruba
447e794805 Updated Rector to commit 2ff314c5d215b17eafdec4dcee7b974d856b9ba6
2ff314c5d2 [PHP 8.0] Make AnnotationToAttributeRector return after 1st newline without slash (#6578)
2024-12-13 11:14:53 +00:00
Tomas Votruba
1061e30ae8 Updated Rector to commit 25817175d71dd62ec8007bfc7b6353d568a2b6de
25817175d7 [PHP 8.0] Add lcfirst annotation to attribute support (#6577)
2024-12-13 10:43:42 +00:00
Tomas Votruba
1c41f0fbf6 Updated Rector to commit 96110a93c903f8e958954b537188914694754dfb
96110a93c9 [CodeQuality] Handle crash on property hook on OptionalParametersAfterRequiredRector (#6575)
2024-12-12 22:09:44 +00:00
Tomas Votruba
cb40610f56 Updated Rector to commit 6fce22dda82c12096285ebc9cae6dc8186d350a2
6fce22dda8 Remove TypeNormalizer as type comparison is handled well by PHPStan (#6570)
2024-12-12 17:06:08 +00:00
Tomas Votruba
d8f6c81134 Updated Rector to commit 362044330457d02beb0a05c5240dbd6bb449e874
3620443304 Bump dev packages (#6568)
2024-12-12 16:43:40 +00:00
Tomas Votruba
3f27091368 Rector 2.0.3 2024-12-12 15:22:19 +00:00
Tomas Votruba
8f1c86681e Rector 2.0.2 2024-12-12 14:52:50 +00:00
Tomas Votruba
5e3504c4c9 Rector 2.0.1 2024-12-12 13:46:14 +00:00
Tomas Votruba
5b38230319 Updated Rector to commit 5e50b8ad1c5c125178778f230fae5ee25eda3896
5e50b8ad1c enable error-format symplify (#6566)
2024-12-12 11:47:09 +00:00
Tomas Votruba
785165b60d Updated Rector to commit cdfe824fb114c0ee2fabbbc2e78ebd3babc9a3a7
cdfe824fb1 Require --dev symplify/phpstan-rules 14.0.0 (#6565)
2024-12-12 11:13:21 +00:00
Tomas Votruba
07e5908c4a Updated Rector to commit f5c95f5f8d2476456409694aacad3ac1d78df3e1
f5c95f5f8d [CodeQuality] Handle crash on yield from on OptionalParametersAfterRequiredRector (#6545)
2024-12-11 11:18:22 +00:00