18745 Commits

Author SHA1 Message Date
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
Tomas Votruba
a1257ed7f4 Updated Rector to commit c53132ff5f86c27375d8f21b3ac87e75184a59e1
c53132ff5f duplicate
2024-11-13 13:18:47 +00:00
Tomas Votruba
0e93cef90c Updated Rector to commit 006f21595c5c0164503e05233f68461a8ef68e59
006f21595c [DX] Add version-based set loading based on installed package version (#6428)
2024-11-13 13:17:51 +00:00
Tomas Votruba
51df6b0ce9 Updated Rector to commit 129f93c251f2a0720f765db803694e4f3a1cb0ea
129f93c251 [Printer] Remove ltrim() on BetterStandardPrinter (#6427)
2024-11-13 08:47:36 +00:00
Tomas Votruba
aa0195b98b Updated Rector to commit 2c5cd97a3a98ab5af9efb846f6f78738e4a195a6
2c5cd97a3a [deprecated] Remove deprecated AbstractTestCase (#6426)
2024-11-13 00:07:32 +00:00
Tomas Votruba
8353c66b11 Updated Rector to commit c2053c75d6c55d2ca64f2003915aa8953c376f98
c2053c75d6 [deprecation] Deprecate AbstractScopeAwareRector in favor of single AbstractRector (#6425)
2024-11-12 22:22:48 +00:00
Tomas Votruba
f0fc008db1 Updated Rector to commit c23ba82ebce17c9d150d18de09a7d80a2a28a0e7
c23ba82ebc [deprecation] Remove deprecated PublicConstantVisibilityRector, cleanup deprecated SetListInterface (#6424)
2024-11-12 21:25:01 +00:00
Tomas Votruba
95a8c158ec Updated Rector to commit 5baf4870b6129cf0eee0b32ac0b117c2086e8d75
5baf4870b6 Require-dev phpstan/phpstan-deprecation-rules to show list of deprecated (#6415)
2024-11-12 14:27:35 +00:00
Tomas Votruba
5ba0775948 Updated Rector to commit 26b8b540ed08315062c007dafd572f9896b509eb
26b8b540ed [Naming] Reduce instanceof ObjectType on ExpectedNameResolver (take 5) (#6423)
2024-11-12 14:20:05 +00:00
Tomas Votruba
7e09c8b171 Updated Rector to commit 84bb59697d2cf5d564b5a2ace9be4f3496d6f131
84bb59697d [StaticTypeMapper] Reduce instanceof TypeWithClassName usage via ClassNameFromObjectTypeResolver (#6421)
2024-11-12 13:18:09 +00:00
Tomas Votruba
1d4e2fde73 Updated Rector to commit bcfb5981444172d8ccf82e783b5a217385ea83c7
bcfb598144 Add ClassNameFromObjectTypeResolver to cover TypeWithClassName instance checks (#6420)
2024-11-12 10:17:52 +00:00
Tomas Votruba
e1780f6e77 Updated Rector to commit 06adce3c1a50de37f64eb9afe9635834540402f4
06adce3c1a use ->isInteger()->yes() on ReturnTypeFromStrictNewArrayRector (#6419)
2024-11-12 07:58:17 +00:00