5573 Commits

Author SHA1 Message Date
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
Tomas Votruba
7f2e323f76 Updated Rector to commit 457927353525b5f87771493eaa7f79523383b071
4579273535 [TypedPropertyFromAssignsRector] Handle parse_url() native function with second arg on TypedPropertyFromAssignsRector (#6562)
2024-12-12 00:48:23 +00:00
Tomas Votruba
97f68f2790 Updated Rector to commit 1c9f2321754a7592a17f21b817c7c83548050e76
1c9f232175 Handle windows newline on AnnotationToAttributeRector (#6561)
2024-12-11 22:33:54 +00:00
Tomas Votruba
454e8b5274 Updated Rector to commit 4b38333206d21789bef444e363ecab63ef2022e6
4b38333206 [Attributes] Cover slash newline in AnnotationToAttributeRector with values (#6557)
2024-12-11 22:08:40 +00:00
Tomas Votruba
66435a54fc Updated Rector to commit 05bb5c63842477c0109b26a9ce382d5a34234ccd
05bb5c6384 [Php70] Revert array dim fetch handling on WrapVariableVariableNameInCurlyBracesRector (#6536)
2024-12-08 05:29:55 +00:00
Tomas Votruba
4434633b3a Updated Rector to commit 3a10b135cd7e74fdfb2de25708c8482f5beff31c
3a10b135cd [Php70] Use more precise variable name check on WrapVariableVariableNameInCurlyBracesRector (#6534)
2024-12-08 03:15:03 +00:00
Tomas Votruba
d0c3bb9110 Updated Rector to commit 70605936b150b2b589ef4fb3c1275667ff690b26
70605936b1 [Php70] Handle ArrayDimFetch on WrapVariableVariableNameInCurlyBracesRector (#6533)
2024-12-08 03:09:14 +00:00
Tomas Votruba
c491726ec5 Updated Rector to commit cbc295afa61413494420d8ed1ced1ed6cbc1f87f
cbc295afa6 [Php81] Skip by ref param on ReadOnlyPropertyRector (#6532)
2024-12-08 01:44:26 +00:00
Tomas Votruba
cb864b4bab Updated Rector to commit 4e2c77250209768b0d7308552ef9449205801fb6
4e2c772502 [Arguments] Handle crash on first class callable on ArgumentAdderRector (#6530)
2024-12-06 11:05:39 +00:00
Tomas Votruba
c56fdd2b7f Updated Rector to commit 1b68ff48b80d81bd4295ef304196fd97d74e0032
1b68ff48b8 [automated] Apply Coding Standard (#6524)
2024-12-01 00:43:07 +00:00
Tomas Votruba
26f67b1826 Updated Rector to commit 17ec20e0d9a1cc2ce11cd96292216dfc605a9244
17ec20e0d9 [CodingStyle] Fix phpstan notice always true check on loop on SplitDoubleAssignRector (#6521)
2024-11-28 10:29:31 +00:00
Tomas Votruba
897110e2bf Updated Rector to commit 101bdbfa9bd837daa593ad06f2eee44d259cbcca
101bdbfa9b [Php70] Do not replace if method call if method exists in current class on call same method with parent on Php4ConstructorRector (#6520)
2024-11-28 10:19:50 +00:00
Tomas Votruba
c4a5338933 Updated Rector to commit 0635cd9d519b9f8464e59e968bdfdcfde9b656bb
0635cd9d51 [Php70] Handle parent method call on Php4ConstructorRector (#6519)
2024-11-28 01:43:11 +00:00
Tomas Votruba
0e60fef0a2 Updated Rector to commit a456e4e04c2955b292d490af20f2fada7a1cb087
a456e4e04c [Php80] Mirror comments on assign on ChangeSwitchToMatchRector (#6516)
2024-11-27 07:27:32 +00:00
Tomas Votruba
9e165cccd3 Updated Rector to commit eb3f32daa89b22c32eb57e53f8d6e960ee1f2a7e
eb3f32daa8 [TypeDeclaration] Skip with default value and assigned mixed on TypedPropertyFromAssignsRector (#6514)
2024-11-26 12:03:44 +00:00
Tomas Votruba
f0b21a1aa7 Updated Rector to commit 4e03157469647636ad09b2c3e06278f3e0a71395
4e03157469 [Php83] Remove get traits class as ancestors collection on AddOverrideAttributeToOverriddenMethodsRector (#6513)
2024-11-26 06:09:13 +00:00
Tomas Votruba
684724756a Updated Rector to commit 3511ca1879c3065554deb7a8dc638ed9d1df0e0b
3511ca1879 [Php83] Allow indirect override abstract method on Grand Child on AddOverrideAttributeToOverriddenMethodsRector (#6512)
2024-11-26 05:54:59 +00:00
Tomas Votruba
87ea771410 Updated Rector to commit 615913ddaf7b0df3a2c56d50cf6973408aa1a983
615913ddaf Use createFromNode() from PhpDocInfoFactory on RemoveUnusedPrivateMethodRector (#6511)
2024-11-25 15:12:55 +00:00
Tomas Votruba
c5a315e2c4 Updated Rector to commit 12b471059bc5717e3f87cf1e811f05396e3571cf
12b471059b [DeadCode] Skip private dataProvider method on RemoveUnusedPrivateMethodRector (#6509)
2024-11-25 14:22:30 +00:00
Tomas Votruba
a6bbda76df Updated Rector to commit 1ec42bcc33f0607533e08d75c47b589d89e7649e
1ec42bcc33 feat: add the option to use the annotation value as an argument to the attribute (#6468)
2024-11-24 17:26:15 +00:00
Tomas Votruba
0ef2aced5a Updated Rector to commit fb169faf42679c046cd22ad865ae8097ccdb5799
fb169faf42 [Naming] Clean up unnecessary use of NodeTypeResolver on PropertyNaming (#6507)
2024-11-24 14:48:26 +00:00