18556 Commits

Author SHA1 Message Date
Tomas Votruba
182b3bf8e9 Updated Rector to commit 8dd4dedcd98224b62848949fd6950767af1a9817
8dd4dedcd9 [Scoper] Remove implements DocumentedRuleInterface on RectorInterface on scoper process (#6477)
2024-11-23 09:34:08 +00:00
Tomas Votruba
f068c3b6a6 Updated Rector to commit 391ba2aed4cb68c59ef4400f76f41e8dd9538e10
391ba2aed4 Use Type->getIterableValueType() over ArrayType-> getItemType() (#6479)
2024-11-23 09:23:11 +00:00
Tomas Votruba
707ad42e13 Updated Rector to commit 2f77705509ab9944375d34c5278e4383285f5096
2f77705509 [DeadCode] Handle crash on valid conditional type on RemoveUselessReturnTagRector (#6475)
2024-11-22 18:45:24 +00:00
Tomas Votruba
b7432c0c56 Updated Rector to commit d49ace3c33ae8e662791fd1bb82e1467a0a48530
d49ace3c33 [CodeQuality] Skip compare nullable object on UseIdenticalOverEqualWithSameTypeRector (#6474)
2024-11-22 17:47:43 +00:00
Tomas Votruba
97ae54400b Updated Rector to commit d49ace3c33ae8e662791fd1bb82e1467a0a48530
d49ace3c33 [CodeQuality] Skip compare nullable object on UseIdenticalOverEqualWithSameTypeRector (#6474)
2024-11-22 17:39:02 +00:00
Tomas Votruba
1e9b8ef6de Updated Rector to commit d49ace3c33ae8e662791fd1bb82e1467a0a48530
d49ace3c33 [CodeQuality] Skip compare nullable object on UseIdenticalOverEqualWithSameTypeRector (#6474)
2024-11-22 17:29:36 +00:00
Tomas Votruba
a381737b0f Updated Rector to commit d49ace3c33ae8e662791fd1bb82e1467a0a48530
d49ace3c33 [CodeQuality] Skip compare nullable object on UseIdenticalOverEqualWithSameTypeRector (#6474)
2024-11-22 17:19:21 +00:00
Tomas Votruba
d1b244bbb1 Updated Rector to commit d49ace3c33ae8e662791fd1bb82e1467a0a48530
d49ace3c33 [CodeQuality] Skip compare nullable object on UseIdenticalOverEqualWithSameTypeRector (#6474)
2024-11-22 14:35:22 +00:00
Tomas Votruba
0d328f0c6a Updated Rector to commit c6ca719d34c36290dd8547ef427e6a9e9a0a427a
c6ca719d34 [CodeQuality] Skip used by array callable on LocallyCalledStaticMethodToNonStaticRector (#6473)
2024-11-22 13:39:03 +00:00
Tomas Votruba
2070d857a2 Updated Rector to commit c322032a07f4fb418618f8de2ef9b475b57ebd0f
c322032a07 [DeadCode] Skip used by get_object_vars() when implements JsonSerializable on RemoveUnusedPromotedPropertyRector (#6472)
2024-11-22 13:24:53 +00:00
Tomas Votruba
8e93d75fe8 Updated Rector to commit 9d022cf92dc64a325f9f739bcf8ee78fb41ee4e5
9d022cf92d [Php83] Skip add #[\Override] on non-empty method from trait on AddOverrideAttributeToOverriddenMethodsRector (#6471)
2024-11-22 12:46:59 +00:00
Tomas Votruba
8cd18a4da4 Updated Rector to commit 1c0260fba15c50caa1ecee521132d534ec0f6da7
1c0260fba1 Add fixture test for Doctrine annotation to attribute auto import FQCN (with @\ prefix) (#6469)
2024-11-22 02:27:22 +00:00
Tomas Votruba
d593c5af24 Updated Rector to commit a65f3a2972d0c8173abc0ad7a39ec1ba4ae1abe5
a65f3a2972 [NodeTypeResolver] Reuse resolve fully qualified object type on NameImportingPhpDocNodeVisitor (#6467)
2024-11-21 16:04:18 +00:00
Tomas Votruba
87807c4a95 Updated Rector to commit 3a6e648e171b903944fedc03bd7ab0225d34294b
3a6e648e17 [AutoImport] Handle doctrine aliased auto import (#6466)
2024-11-21 15:10:07 +00:00
Tomas Votruba
5f7fbc452b Updated Rector to commit 17aff6947dfe6640ad7db3d983bd86ab0ac84742
17aff6947d Revert " Fix regex space before star comment  (#6464)" (#6465)
2024-11-21 13:42:44 +00:00
Tomas Votruba
f3e8f9e6e1 Updated Rector to commit 401d5593917e5ef33524b248a9be823c46232e02
401d559391  Fix regex space before star comment  (#6464)
2024-11-21 13:27:42 +00:00
Tomas Votruba
12f6389cc7 Updated Rector to commit 50496986f393c0ce7406301b7fe6887dfb7986f8
50496986f3 [Renaming] Fix space on union docblock during rename on RenameClassRector (#6463)
2024-11-21 12:50:33 +00:00
Tomas Votruba
6ddb4992d1 Updated Rector to commit 50496986f393c0ce7406301b7fe6887dfb7986f8
50496986f3 [Renaming] Fix space on union docblock during rename on RenameClassRector (#6463)
2024-11-21 12:41:02 +00:00
Tomas Votruba
fe43132e50 Updated Rector to commit 401210e8630b280a0c84c3de31115e0fe63ada81
401210e863 [TypeDeclaration] Skip mixed as on right of and on ParamTypeByMethodCallTypeRector (#6401)
2024-11-21 10:10:22 +00:00
Tomas Votruba
bebd15c3b8 Updated Rector to commit 090f7246b7b2080b4ed3672d5f9ec83cde4fe1ed
090f7246b7 Fix ArrayItem scope refresh (#6462)
2024-11-21 08:54:09 +00:00
Tomas Votruba
7028045e34 Updated Rector to commit f3750d785fd5128c9b3f124036d5e6532fc63807
f3750d785f [DeadCode] Skip by docblock definition on RemoveAlwaysTrueIfConditionRector (#6461)
2024-11-21 03:05:46 +00:00
Tomas Votruba
8b18794be6 Updated Rector to commit 57b9ccfb1404a455591a3d405377e46a71528f11
57b9ccfb14 [Php71] Skip already array destruct on ListToArrayDestructRector (#6460)
2024-11-21 02:40:18 +00:00
Tomas Votruba
018eb31f35 Updated Rector to commit 20cc149e465d1dbd2991784f52e32c214aba6000
20cc149e46 [Php80] Handle crash single quoted doctrine on AnnotationToAttributeRector (#6459)
2024-11-21 02:14:50 +00:00
Tomas Votruba
11b7b49dea Updated Rector to commit e16c1d58032fe356ecfb444458c730600b6694db
e16c1d5803 [CodeQuality] Handle crash on return array constant on ExplicitReturnNullRector (#6458)
2024-11-20 21:40:58 +00:00
Tomas Votruba
cf5256d333 Updated Rector to commit 28df807c6ee620a5c5f3088979d6d2fc93d58352
28df807c6e [attributes] Make sure the target attribute class exists (#6454)
2024-11-20 20:34:59 +00:00
Tomas Votruba
c75740ab0c Updated Rector to commit ba57166d9eb828d5c0d62a591b46b774242961e9
ba57166d9e cs
2024-11-20 19:59:31 +00:00
Tomas Votruba
d114f5678a Updated Rector to commit 2764b43796fe12ee3d5a376e027083278b9caa57
2764b43796 [DeadCode] Handle InterpolatedStringPart crash on RemoveUnusedForeachKeyRector (#6457)
2024-11-20 18:20:03 +00:00
Tomas Votruba
36a1e1d314 Updated Rector to commit 5b46d02633f5ebed7a206a158467aea26bc5b309
5b46d02633 [Printer] Remove unnecessary override pExpr_Closure and pStmt_ClassMethod on BetterStandardPrinter (#6456)
2024-11-20 17:36:49 +00:00
Tomas Votruba
53222b20c8 Updated Rector to commit a6824999540b5fb258a9d8f3ebcda155de4ce6e0
a682499954 Fix along with other packages e2e test on rector/rector (#6455)
2024-11-20 17:19:48 +00:00
Tomas Votruba
1c26e0e6fa Updated Rector to commit eb5df4dde7515bbc497af6da84d5f9dbf96399d8
eb5df4dde7 Use vendor-patches main branch (#6453)
2024-11-20 17:08:46 +00:00
Tomas Votruba
1ecae80ea8 Updated Rector to commit eb5df4dde7515bbc497af6da84d5f9dbf96399d8
eb5df4dde7 Use vendor-patches main branch (#6453)
2024-11-20 16:55:39 +00:00
Tomas Votruba
9a4a5b2bc5 Updated Rector to commit eb5df4dde7515bbc497af6da84d5f9dbf96399d8
eb5df4dde7 Use vendor-patches main branch (#6453)
2024-11-20 15:58:53 +00:00
Tomas Votruba
e23b5045f1 Updated Rector to commit cb76a5fb76548fd3b659c0af8b9e89625319e5fc
cb76a5fb76 [dx] enable all attributes, if none are selected to streamline config (#6451)
2024-11-19 18:28:14 +00:00
Tomas Votruba
9c3174be44 Updated Rector to commit 4425eb59d0cd48ade99cae01c5db4d82132355de
4425eb59d0 [dx] add validation to symfony xml/php config files (#6450)
2024-11-19 18:20:23 +00:00
Tomas Votruba
746676e924 Updated Rector to commit 37226f1750273dc0087004f878f37e43d76da3fa
37226f1750 [chore] Set disableExtensionsAnalysis() on composer dependency analyser due to composer-dependency-analyser:^1.8 (#6449)
2024-11-19 14:12:05 +00:00
Tomas Votruba
4c6792fa10 Updated Rector to commit 37226f1750273dc0087004f878f37e43d76da3fa
37226f1750 [chore] Set disableExtensionsAnalysis() on composer dependency analyser due to composer-dependency-analyser:^1.8 (#6449)
2024-11-18 15:31:09 +00:00
Tomas Votruba
98901dc895 Updated Rector to commit ecf8aadee272778347ab5738c73a300493daf199
ecf8aadee2 remove config without fixture (#6448)
2024-11-17 13:57:35 +00:00
Tomas Votruba
64e49b4865 Updated Rector to commit 26b4d97db9db66662f752f0631036509536c41d7
26b4d97db9 Fix interface implementer in AddOverrideAttributeToOverriddenMethodsRector, add override only in case of overiding parent method with contents (#6447)
2024-11-16 23:40:43 +00:00
Tomas Votruba
c8d4dd98ae Updated Rector to commit e562253268ac3c2b37c3b267d1208148a0a313b5
e562253268 [dx] Add HTMLAverseRectorInterface to teach rules to skip HTML + PHP mix that would go wrong (#6445)
2024-11-16 16:56:04 +00:00
Tomas Votruba
d04183c439 Updated Rector to commit c7dfbe7c462c103f78b1fa33e89a32dfa6e26299
c7dfbe7c46 [DeadCode] Allow remove assign variable with next method call on RemoveDoubleAssignRector (#6443)
2024-11-16 15:27:02 +00:00
Tomas Votruba
1de0a37261 Updated Rector to commit e7800e9eb89bae4e585f66c26d1f70d83c2a3f4a
e7800e9eb8 Fix RemoveDoubleAssignRector in case of method call (#6442)
2024-11-16 12:49:07 +00:00
Tomas Votruba
ba509eb144 Updated Rector to commit 9cd63761b6016294caf2e9f412c4ff46edefa7f1
9cd63761b6 [docs] getRuleDefinition() no longer required for custom rules (#6440)
2024-11-15 13:00:22 +00:00
Tomas Votruba
55520713a8 Updated Rector to commit 4d3f35f0b9a47452ada3582ad596c08dfe6de84d
4d3f35f0b9 [fix] class phpdoc generic method (#6439)
2024-11-15 12:17:49 +00:00
Tomas Votruba
4173b9e215 Updated Rector to commit 418423d0d6444419d64c00a4559a868c2c8d8ec0
418423d0d6 [dx] Allow external rules without getRuleDefinition() to make them easier to write (#6438)
2024-11-15 10:55:38 +00:00
Tomas Votruba
555ce93f39 Updated Rector to commit bee3e20bc5db33f5668f620679074217b392e81b
bee3e20bc5 Support php-64bit as required in composer.json (#6432)
2024-11-15 09:12:20 +00:00
Tomas Votruba
c4fafc51d3 Updated Rector to commit fb18cc7970063c5a08351767e3af3a7461e34b5b
fb18cc7970 [dx] Show loaded composer based sets in case of --debug (#6435)
2024-11-14 18:10:50 +00:00
Tomas Votruba
dc2c22a33a Updated Rector to commit 373747cef4e013317763c78df56f370203e33d4b
373747cef4 [deprecation] Deprecate MixedTypeRector, to avoid mixed type filled blindly, use type declaration set instead (#6434)
2024-11-14 17:10:56 +00:00
Tomas Votruba
f13ccdbced Updated Rector to commit 0578c944003e1e2264361a4167cf7f5d03e2d0b5
0578c94400 [dx] enable polyfills by default when PHP is on, to make config simpler (#6433)
2024-11-14 16:44:29 +00:00
Tomas Votruba
f64f98a9e9 Updated Rector to commit 3ee5b725863d6e5a6e6ab51f13d1c9c7bbffc939
3ee5b72586 [TypeDeclaration] Skip test methods with exception in ReturnNeverTypeRector, [php74] Skip conditinal assign in RestoreDefaultNullToNullableTypePropertyRector as most likely desired to assign or fail (#6430)
2024-11-13 15:43:07 +00:00
Tomas Votruba
4cc62830bf Updated Rector to commit db1a84c6b96d65da8b5cfd84ac4bea3d26e1785c
db1a84c6b9 Fix array key (#6429)
2024-11-13 13:26:59 +00:00