5593 Commits

Author SHA1 Message Date
Tomas Votruba
13e89f8bcc Updated Rector to commit 7a6c4c5386ce203184897c60f7e070fc43aca15a
7a6c4c5386 [AutoImport] Handle FQCN with sub namespace (#6672)
2025-01-16 12:05:30 +00:00
Tomas Votruba
287ee5498b Updated Rector to commit 5ad54809ac3cac41862b13b786e13020861a6c01
5ad54809ac [CodeQuality] Handle with assign missing parentheses on ExplicitBoolCompareRector (#6668)
2025-01-13 11:22:50 +00:00
Tomas Votruba
03505a62b6 Updated Rector to commit d347dd3f23c8a72a4ac9cd2a966eb72b9ed895e2
d347dd3f23 [Renaming] Skip used by trait as property promotion on RenamePropertyToMatchTypeRector (#6665)
2025-01-11 13:34:12 +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
e936f2ae47 Updated Rector to commit 8da1bfe2590771077da7ccd297f5df245d3e55c1
8da1bfe259 [type-declaration] Add typed property, if traits do not duplicate the property (#6663)
2025-01-09 20:29:05 +00:00
Tomas Votruba
f3e9cbef7a Updated Rector to commit c59c83a99fdb883dbcf6fead62b7cd9961fae034
c59c83a99f [Php83] Handle concat in first argument on CombineHostPortLdapUriRector (#6661)
2025-01-07 16:25:29 +00:00
Tomas Votruba
b47878ee33 Updated Rector to commit b6deb2906c86fa45cf27a26d2cb21dd1fd55e238
b6deb2906c [CodeQuality] Skip indirect return on SimplifyIfReturnBoolRector (#6660)
2025-01-07 03:49:22 +00:00
Tomas Votruba
98031aa3cf Updated Rector to commit d01cdf411c072abfdacc464c9bf07a4521a8d40e
d01cdf411c [DeadCode] Skip dynamic name on RemoveParentCallWithoutParentRector (#6659)
2025-01-06 19:38:19 +00:00
Tomas Votruba
71cfadbfe5 Updated Rector to commit b833a753cc1d999fe0e832367a83d48311e378b4
b833a753cc [Performance] Early return FullyQualifiedObjectType on FQCN on ObjectTypeSpecifier (#6658)
2025-01-06 18:07:08 +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
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
934bc262ff Updated Rector to commit 8ed98c17688300b3aa85d978fefc24c88a51f1f3
8ed98c1768 [DX] Use Param->isPromoted() over param->flags !== 0 check on promotion property check (#6646)
2025-01-05 04:12: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
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
baa2bd468d Updated Rector to commit 17d266fecf2392bd90b929948758c31898e959e2
17d266fecf [CodeQuality] Skip fopen() or die() on LogicalToBooleanRector on assign (#6635)
2024-12-30 11:21:43 +00:00
Tomas Votruba
8bafaa06b5 Updated Rector to commit dfe6f2d43c20b7883ad5354d59c859f3ad85cae4
dfe6f2d43c [DeadCode] Allow remove useless @var on typed class constant as well on RemoveUselessVarTagRector (#6633)
2024-12-28 20:22:06 +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
0c1978cd37 Updated Rector to commit ed433a87a3e746547b2a22ece373a4bbebf5823d
ed433a87a3 [TypeDeclaration] Skip assign in if condition on BinaryOpNullableToInstanceofRector (#6629)
2024-12-24 17:45:57 +00:00
Tomas Votruba
573de34a8c Updated Rector to commit 048b893960e3c4c8f31e907ec3af550726b52c11
048b893960 [TypeDeclaration] Skip assign on while cond on WhileNullableToInstanceofRector (#6628)
2024-12-24 17:33:18 +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
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
fa66798989 Updated Rector to commit 8fea0f5b27dbdb4d3e0b2d672d43c60cb0c2ea2c
8fea0f5b27 [Php54] Use token base replace on LongArrayToShortArrayRector (#6616)
2024-12-19 07:37:44 +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
b0043cf604 Updated Rector to commit 3e414f34039da79932322ed6e1f906454ab8c366
3e414f3403 [NodeTypeResolver Ensure reindex stmt_key on NodeAttributeReIndexer (#6611)
2024-12-18 22:27:49 +00:00
Tomas Votruba
6d48540b47 Updated Rector to commit 5e0f1ce34354497a5163bbd51dddf91cb5c82207
5e0f1ce343 [DeadCode] Skip value variable used in throw stmts in catch on UnusedForeachValueToArrayKeysRector (#6607)
2024-12-18 09:55:31 +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
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
22cf34f61c Updated Rector to commit 0efbe133dbbeb1f4d9335680bfb54f391f9533d1
0efbe133db [CodingStyle] Handle crash on pass args on CallUserFuncToMethodCallRector (#6598)
2024-12-17 11:58:49 +00:00
Tomas Votruba
79d71b7593 Updated Rector to commit 654d5a27cd83fc1bd5abc807fbf3e9d1d0ab60b5
654d5a27cd [Php80] Handle crash on multi next stmts on ChangeSwitchToMatchRector (#6597)
2024-12-16 18:28:26 +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
d8645f1325 Updated Rector to commit 832e458817d9d7bff06ba321aea44a9ce3bb7819
832e458817 [Php80] Handle value as argument with keep description as comment on AttributeValueResolver (#6589)
2024-12-14 20:29:53 +00:00
Tomas Votruba
262b29c337 Updated Rector to commit 171afe1ffc99f609981d6c7a03c4e97b319cc92a
171afe1ffc [Php80] Use more proper check for doc comment multi lines on AttributeValueResolver (#6587)
2024-12-14 19:32:49 +00:00
Tomas Votruba
66831f47a9 Updated Rector to commit ccb2fa2d2f034be091024929deecebe8829a88f6
ccb2fa2d2f [Php80] Handle comment multi line on AttributeValueResolver (#6586)
2024-12-14 19:26:12 +00:00
Tomas Votruba
ceea4dbfe3 Updated Rector to commit 15fcd52e45357bf2c244f29b86ab0d3ab77b15b4
15fcd52e45 fix: replace getKey/getValue methods when enum is a variable (#6585)
2024-12-14 18:53:16 +00:00
Tomas Votruba
8b25af0748 Updated Rector to commit 2d3243aa99efa1b91189e24dc495954136fdbd38
2d3243aa99 fix: replace getKey method for name property (#6583)
2024-12-14 11:34:00 +00:00
Tomas Votruba
847b42807a Updated Rector to commit 484098bb5f2aa29fd09d0e5c36a1ed7b3049cb1e
484098bb5f [Comments] Move left over clean empty doc handling to DocBlockUpdater (#6584)
2024-12-14 08:14:59 +00:00
Tomas Votruba
45946d795d Updated Rector to commit 6192fe3285c1dc5ac7f28afac485b8facd018b39
6192fe3285 Fix annotation on doctrine one (#6582)
2024-12-14 01:48:37 +00:00
Tomas Votruba
d9c60856fd Updated Rector to commit 2cb9a95b79554c9116e140c95e41276a7165c241
2cb9a95b79 Add multiline comment fixture (#6580)
2024-12-13 12:28:13 +00:00
Tomas Votruba
ec49eef19e Updated Rector to commit 3001e72a590aa9b7d3f06f620fde35349660f98f
3001e72a59 [Php80] Fix end slash regex on AttributeValueResolver (#6579)
2024-12-13 12:23:46 +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
911049078e Updated Rector to commit 617d06a7dbeb15705fe4e94a7dd21cd91368827d
617d06a7db [phpstan] Fix few static errors (#6574)
2024-12-12 17:49:20 +00:00
Tomas Votruba
bd270b9525 Updated Rector to commit fc186bf2f943ee4842fb78bc4dbb5f5a826040a7
fc186bf2f9 [phpstan] Fix few static errors (#6573)
2024-12-12 17:33:48 +00:00
Tomas Votruba
f6e5db3520 Updated Rector to commit db7859576b5da879bca918d9964ff1656ca9ddd1
db7859576b [phpstan] fix next ingored errors (#6572)
2024-12-12 17:14:38 +00:00
Tomas Votruba
54e8e488b0 Updated Rector to commit 7e6353dcf625ee4cc474cde8266baac10c9368da
7e6353dcf6 [phpstan] Fix var assumed ignored errors (#6571)
2024-12-12 17:10:24 +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
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
c578222ddf Updated Rector to commit 184eb2ed84405c011740792f1fee4e914e11b445
184eb2ed84 [TypeDeclaration] Handle default value with contant type on TypedPropertyFromAssignsRector (#6563)
2024-12-12 01:15:05 +00:00