18779 Commits

Author SHA1 Message Date
Tomas Votruba
b6dc880669 Updated Rector to commit 354ef50368dd5e33e2ede598a418a26c997b5a7c
354ef50368 [BetterPhpDocParser] Use str_starts_with() and str_starts_with() over str_contains() on DoctrineAnnotationDecorator (#6671)
2025-01-16 10:06:07 +00:00
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
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
db6f0447c8 Updated Rector to commit 0a6eb1256c4d8943bd6241cc5eaedb2e3e04bc81
0a6eb1256c Add `withSetProviders` method (#6515)
2025-01-11 18:55:51 +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
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
348456e6b0 Updated Rector to commit fe8e48de8cc6c962430abab1b1766c05dd12309e
fe8e48de8c [TypeDeclaration] Skip unset by trait on TypedPropertyFromStrictConstructorRector (#6664)
2025-01-10 11:36:09 +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
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
fa0cb009dc Rector 2.0.6 2.0.6 2025-01-06 10:38: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
e20eea98da Updated Rector to commit 1d078fa4a5e62eee5ff5ef441a212e01c2550a16
1d078fa4a5  [DX] Filter on files as well with --only-suffix  (#6648)
2025-01-05 12:52:14 +00:00
Tomas Votruba
ea61794d69 Updated Rector to commit 7fc9494a41eefd94af850b47d8af78f322a7884c
7fc9494a41 [dx] Add --only-suffix to filter files by suffixes (#6647)
2025-01-05 09:01:40 +00:00
Tomas Votruba
d7d4304a20 Updated Rector to commit 7ad142473531a56d8eb6d9d7571f0d77b0661fbf
7ad1424735 [Php80] Keep numeric string, string "true", "false" as is on StringAnnotationToAttributeMapper (#6610)
2025-01-05 08:25:57 +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
71e2e85342 Updated Rector to commit 3f5a86eacf0e245bb683a32afe422901dee44006
3f5a86eacf [automated] Apply Coding Standard (#6645)
2025-01-05 00:37:28 +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
f3354fbbdb Rector 2.0.5 2.0.5 2024-12-31 13:11:55 +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
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
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
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
24e1aacac4 Updated Rector to commit 7bbe9ba2af41fbb64a2817cd44d19665aa79f186
7bbe9ba2af [DX] Warn about ->withPhpSets() called multiple times, to avoid invalid set mix (#6632)
2024-12-27 15:39:44 +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
df5de7b80d Rector 2.0.4 2.0.4 2024-12-26 23:06:19 +00:00
Tomas Votruba
37163bd4b8 Updated Rector to commit c3989ab162c9c99d06edde3ddb7337212febc5d3
c3989ab162 Clean up ignore phpstan errors (#6630)
2024-12-26 04:07:36 +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