18779 Commits

Author SHA1 Message Date
Tomas Votruba
57ac216872 Updated Rector to commit ed6887072d32d36be5f9dbe8d911316f552da3c5
ed6887072d  [Renaming] Handle rename conflict docblock name on RenameClassRector  (#6504)
2024-11-24 13:06:07 +00:00
Tomas Votruba
ec03b8f2df Updated Rector to commit 24ab53c63097683f95fc0244abd9c61a975163b8
24ab53c630 [PHPStanStaticTypeMapper] Ensure namespaced_name attribute set on Name node when create from ShortenedObjectType or AliasedObjectType (#6503)
2024-11-24 12:00:05 +00:00
Tomas Votruba
9b52481337 Updated Rector to commit 5e7d657f40559d9b3722117293b0100cdb67b553
5e7d657f40 [Renaming] Add test for rename + auto import with target name exist (#6502)
2024-11-24 09:56:22 +00:00
Tomas Votruba
aefdace211 Updated Rector to commit 4cbaec322391ef3ad4f53d8abc4dfc344e7452f3
4cbaec3223 add test for inner namespace rename (#6501)
2024-11-24 09:22:00 +00:00
Tomas Votruba
ba17096f75 Updated Rector to commit 44e82025e67b9bf68736fd732be00c28b3fc49de
44e82025e6 [Renaming] More tests and clean up name check on ClassRenamePhpDocNodeVisitor (#6499)
2024-11-24 08:31:20 +00:00
Tomas Votruba
5dfaeaba68 Updated Rector to commit 2bd06e3dece5edbc85237b8986ff22a4805d5dcb
2bd06e3dec [Renaming] Handle docblock aliased rename on RenameClassRector (#6498)
2024-11-24 08:19:19 +00:00
Tomas Votruba
b4bc1ab851 Updated Rector to commit 3c42539f64f9c5aa44fed13a0072052462e5afde
3c42539f64 [CodeQuality] Fix aliased object type on FlipTypeControlToUseExclusiveTypeRector (#6497)
2024-11-24 07:24:25 +00:00
Tomas Votruba
56dcc4e1d5 Updated Rector to commit 23f8e4a43e0fdf4ecf77fb99fa8c2c81463df683
23f8e4a43e [TypeDeclaration] More tests for native type with sub namespace and aliased on TypedPropertyFromAssignsRector (#6496)
2024-11-24 07:04:41 +00:00
Tomas Votruba
e4be3a4e28 Updated Rector to commit fead5bd3910109e713d6f539c2854f32f57351d6
fead5bd391 [NodeTypeResolver] Clean up unnecessary check AliasedObjectType on getObjectClassReflections() call later (#6495)
2024-11-24 06:55:14 +00:00
Tomas Votruba
959c7ced90 Updated Rector to commit 4e46b2016180d6c6bb52f2dd0a7ef6d9a85f62b0
4e46b20161 [Naming] More fixture tests for skip alias sub name and shot name with sub namesapce (#6494)
2024-11-24 06:47:57 +00:00
Tomas Votruba
3e195ba6aa Updated Rector to commit 9fae3bfccb95738f042fa7b4ebd5d80dafd0b0dc
9fae3bfccb [CodeQuality] Handle aliased object type from docblock on DynamicDocBlockPropertyToNativePropertyRector (#6493)
2024-11-24 06:30:18 +00:00
Tomas Votruba
01be6079e8 Updated Rector to commit 0d1dbd737ce07c60ac5b206a7641a39118610b4c
0d1dbd737c Update developing with docker: Fix php version to 8.2. (#6490)
2024-11-23 18:21:44 +00:00
Tomas Votruba
f65525c861 Updated Rector to commit b98a0e11fb1d037da71155a2a80704f1c2b11483
b98a0e11fb [NodeTypeResolver] Remove no longer FUNC_ARGS_TRAILING_COMMA constant (#6492)
2024-11-23 18:15:48 +00:00
Tomas Votruba
b903b88029 Updated Rector to commit 1effc3f83a718f8b9af85cbaa1a3ce722df43b4a
1effc3f83a [Printer] Remove no longer needed pCommaSeparated() override method (#6491)
2024-11-23 18:08:48 +00:00
Tomas Votruba
1ea1ac45e8 Updated Rector to commit 87f73447976eeea5aa2b1b8fbb5e879ddea2d395
87f7344797 Clean up comment on FileProcessor since printer no longer use ltrim (#6489)
2024-11-23 17:41:14 +00:00
Tomas Votruba
99ed5e5f41 Updated Rector to commit cb408fb98369e308122974ceb52e55b3ede7b31d
cb408fb983 [Printer] Synchronize pParam() method on BetterStandardPrinter with parent Standard (#6488)
2024-11-23 17:04:42 +00:00
Tomas Votruba
6b8c45e698 Updated Rector to commit 0de1b39259f630127d33dd072c1e7e225b78321a
0de1b39259 [Printer] Remove no longer needed pSingleQuotedString method on BetterStandardPrinter (#6487)
2024-11-23 16:53:28 +00:00
Tomas Votruba
168c835540 Updated Rector to commit ef191b00b29ed33a35d83758f3a6a4f728cdc368
ef191b00b2 [Printer] Reuse clean heredoc/nowdoc start indent usage on BetterStandardPrinter (#6486)
2024-11-23 16:44:11 +00:00
Tomas Votruba
faaa1b5c76 Updated Rector to commit a966fc32547f286a7eab86934e503aed8daa4772
a966fc3254 [Printer] Use NewLineSplitter on BetterStandardPrinter for heredoc/nowdoc removal space (#6485)
2024-11-23 16:36:14 +00:00
Tomas Votruba
57831bceaf Updated Rector to commit bd59f6b9e32ad4fce96b3a0d12467719015d8282
bd59f6b9e3 [Printer] Remove AlwaysRememberedExpr check on BetterStandardPrinter (#6484)
2024-11-23 16:12:58 +00:00
Tomas Votruba
a4b775b156 Updated Rector to commit b5b96c8af1570acb09faac2f22cb229c3905208f
b5b96c8af1 [Strict] Using in_array() on CallLike instead of double call on Strict Rules (part 2) (#6483)
2024-11-23 15:40:27 +00:00
Tomas Votruba
0f5e5b911d Updated Rector to commit 5b59337cedccda38caff556b0acfbe2c4a741d2d
5b59337ced Use Type->getIterableKeyType() over ArrayType->getKeyType() (#6480)
2024-11-23 10:35:10 +00:00
Tomas Votruba
678fcaeca2 Updated Rector to commit a83117ba14a73c8915e6f4fb79c2d4a417eeb946
a83117ba14 Trigger CI (#6481)
2024-11-23 09:57:34 +00:00
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