Commit Graph

809 Commits

Author SHA1 Message Date
Tomas Votruba
e14c8a528b Updated Rector to commit aac889be3d845974d3ab924ff7ad22784b9e3cb5
aac889be3d [AutoImport] Remove unused compare removed use on FullyQualifiedNameClassNameImportSkipVoter (#5764)
2024-03-23 16:49:42 +00:00
Tomas Votruba
bb8b99d70c Updated Rector to commit e3e741edd3ca55fc2c24c040f43c8974bda7e953
e3e741edd3 [AutoImport] Allow auto import same namespace with sub use with docblock short name (#5763)
2024-03-23 14:36:19 +00:00
Tomas Votruba
5ac9de7a83 Updated Rector to commit 685ba8a63e904c776033ba85c13f8903952e73e4
685ba8a63e [Renaming][AutoImport] Handle after change annotation to attribute with rename on AnnotationToAttributeRector + RenameClassRector with auto import (#5741)
2024-03-19 14:48:00 +00:00
Tomas Votruba
ceff1cad27 Updated Rector to commit 1bf3947959e10f213a04e4eb626fc2ce428add60
1bf3947959 [CodingStyle] Remove usage of Reflection::expandClassName() from nette/utils 4.0 as cause bug on downgrade (#5740)
2024-03-19 10:36:18 +00:00
Tomas Votruba
8201d0fc9b Updated Rector to commit 57894303baab2e24a24387b48c5e94963e78ad26
57894303ba [Performance][CodingStyle] Check public method only for verify override interface (#5708)
2024-03-11 00:12:12 +00:00
Tomas Votruba
d8f1371a76 Updated Rector to commit c0be2b455e4c83c3da737969f40f57dc6a7e6320
c0be2b455e [CodingStyle] Skip implements interface on MakeInheritedMethodVisibilitySameAsParentRector (#5707)
2024-03-10 23:50:43 +00:00
Tomas Votruba
28f5dbde13 Updated Rector to commit c14f8d45175bd4c10fef503e350d677c4a73ce29
c14f8d4517 [Php72][TypeDeclaration] Rollback tweak infinite loop handling on DeclareStrictTypesRector (#5700)
2024-03-08 06:34:02 +00:00
Tomas Votruba
bd2820567f Updated Rector to commit 8c52d614891043c1310fb120e0871b4183a33a53
8c52d61489 [CodingStyle] Skip anonymous class on MakeInheritedMethodVisibilitySameAsParentRector (#5688)
2024-03-04 21:33:44 +00:00
Tomas Votruba
695c190be3 Updated Rector to commit 94b5561ca87ee6825a098c7c506b774582bf3354
94b5561ca8 chore: bump min version of github actions (fix deprecations) (#5675)
2024-03-01 20:02:28 +00:00
Tomas Votruba
b0211bc3d8 Updated Rector to commit fa75fcf0d1445f90cff9199875aba352671795f9
fa75fcf0d1 [Performance][PhpVersionResolver] Cache resolve platform/require from composer.json on ProjectComposerJsonPhpVersionResolver (#5542)
2024-02-01 23:54:40 +00:00
Tomas Votruba
97c24103e6 Updated Rector to commit 6046c24443d9bfdfe5bf8638fb82e03703ee1df8
6046c24443 [CodingStyle] Return null on no change on StrictArraySearchRector (#5528)
2024-01-30 20:48:28 +00:00
Tomas Votruba
3c3170a04e Updated Rector to commit 171fddb1a1e9c54e194130ffe039809721d1f465
171fddb1a1 add withPhpSets() methods (#5519)
2024-01-29 23:52:40 +00:00
Tomas Votruba
b140c86242 Updated Rector to commit 46dd96122bdeb7b893f518bd131c69093b6da752
46dd96122b [Renaming] Remove rename class name (#5488)
2024-01-21 23:15:27 +00:00
Tomas Votruba
7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba
7ba32aac1f Updated Rector to commit e12c73eb339a847bcd717025abf5bc43f1cd0e4c
e12c73eb33 [psr-4] Move tests to main namespace, as part of /src and /packages merge - step 2 (#5407)
2024-01-01 00:20:45 +00:00
Tomas Votruba
95ed962a15 Updated Rector to commit 6646d23fe0cea4b4a871ca1931e33f0cb2a574c7
6646d23fe0 [CodingStyle] Add RemoveUselessAliasInUseStatementRector (#5394)
2023-12-26 17:40:03 +00:00
Tomas Votruba
c5421dfd82 Updated Rector to commit e48234e23981f4022e704bc500b9a9197727e87e
e48234e239 Skip RenameMethodRector in never (#5305)
2023-12-01 09:49:11 +00:00
Tomas Votruba
f8dc5ef396 Updated Rector to commit 84bcfebdf7e9f522c8f9f9e97814c82d3d5d3315
84bcfebdf7 [CodingStyle] Remove AddArrayDefaultToArrayPropertyRector as based on docblock types and public contract, better use type declaration set instad (#5298)
2023-11-28 20:19:53 +00:00
Tomas Votruba
c581b77bce Updated Rector to commit 9ddef0001c3b7251f80e0c06d6ef0d35363a7cd4
9ddef0001c [Php80] Allow subnamespace from use statements support on AnnotationToAttributeRector (#5287)
2023-11-25 15:16:38 +00:00
Tomas Votruba
7a8bc36a24 Updated Rector to commit 189a02635533f450aea58d8de075e494f538182b
189a026355 Remove deprecated Rector rules (#5270)
2023-11-21 14:32:38 +00:00
Tomas Votruba
2da177465a Updated Rector to commit 363ae1bd444c365e38aef1cfcd69324b734c3c9c
363ae1bd44 [Performance][PostRector] Only process FullyQualified on import Node name on NameImportingPostRector  (#5255)
2023-11-16 17:36:40 +00:00
Tomas Votruba
1d5d0dd30b Updated Rector to commit 1595e34d12d856eab8e2478de357f0b1dff3556f
1595e34d12 [CodingStyle] Refactor UseImportsAdder to return [FileWithoutNamespace] code on no namespaced code (#5254)
2023-11-16 14:51:30 +00:00
Tomas Votruba
83b81fcc4e Updated Rector to commit 889372f62a584ca43402eced083b99e2ffbe6784
889372f62a [AutoImport][Renaming] Handle same last name no namespace just renamed auto import (#5248)
2023-11-14 11:48:19 +00:00
Tomas Votruba
afe2dc7944 Updated Rector to commit f0b8af88eb08be29b5fbf18f0e26283600c2c7e6
f0b8af88eb [AutoImport] Skip auto import on no namespace used class on auto import enabled (#5247)
2023-11-14 05:17:31 +00:00
Tomas Votruba
6786dfbdb1 Updated Rector to commit cb1b0c7348d1e80806b2e600823dbfa38b9836c7
cb1b0c7348 [Renaming] Add RenamedNameCollector to ensure remove uses on auto import on ClassRenamingPostRector with verify there is Node name that renamed (#5232)
2023-11-07 21:52:18 +00:00
Tomas Votruba
0cbee62160 Updated Rector to commit 9adc7a04b3a312957bb305edafcd0427fa6bd257
9adc7a04b3 [CodingStyle] Move ArraySpreadInsteadOfArrayMergeRector from php74 to codingstyle sets list (#5230)
2023-11-07 18:56:36 +00:00
Tomas Votruba
c221b7e43d Updated Rector to commit ce62c634015fefa1f91429ecda659fe71371b85a
ce62c63401 Remove rule DataProviderArrayItemsNewlinedRector.php (#5227)
2023-11-07 12:01:11 +00:00
Tomas Votruba
8027a18b9e Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
6d8074534f Rectify (#5226)
2023-11-06 09:18:43 +00:00
Tomas Votruba
95582bf2b1 Updated Rector to commit 7607b334736d241820f9f307423f6050801b46af
7607b33473 NullableCompareToNullRector: Don't trust phpdocs (#5225)
2023-11-06 09:13:25 +00:00
Tomas Votruba
394c30d8ba Updated Rector to commit 2fac959116e4f50471422e5e5c9eaca3163e6667
2fac959116 [AutoImport] Allow auto import just renamed @var only docblock on RenameClassRector without removeUnusedImports() enabled (#5220)
2023-11-03 08:39:18 +00:00
Tomas Votruba
184cf49468 Updated Rector to commit f9de5d311e7e69d1ad2cb5f3087970d8b9335920
f9de5d311e [Php80] Handle RenameClassRector+AnnotationToAttributeRector with auto import and existing attribute defined (#5219)
2023-11-02 03:20:18 +00:00
Tomas Votruba
8d1b2d924e Updated Rector to commit be0cc77862bef98727e1e3881620c5416841801f
be0cc77862 CountArrayToEmptyArrayComparisonRector: don't trust phpdoc (#5203)
2023-10-26 12:26:07 +00:00
Tomas Votruba
baa0c15190 Updated Rector to commit d22e71ec0196d8f0f363845db83e064b471cb07e
d22e71ec01 Revert rename + auto import remove use tweak (#5179)
2023-10-16 07:38:49 +00:00
Tomas Votruba
b3f3d77384 Updated Rector to commit a9908f6498004953531a1a145a4e271fa953a3c7
a9908f6498 [PostRector] Reduce loop on ClassRenamingPostRector (#5174)
2023-10-15 04:45:43 +00:00
Tomas Votruba
3f64ea0f3f Updated Rector to commit c5d3a0e1913fb0057513dd70122d8eef4d226e1c
c5d3a0e191 [CodingStyle] Clean up check last name on UseImportsRemover (#5173)
2023-10-15 04:06:54 +00:00
Tomas Votruba
6fbeed5643 Updated Rector to commit 29370c7ddfc45c6fe29d88cfca6aa56234a76874
29370c7ddf [AutoImport] [Renaming] Skip remove used use statement on annotation during rename + auto import when no replacement on auto import (#5168)
2023-10-15 03:39:12 +00:00
Tomas Votruba
dc3682f340 Updated Rector to commit 8c9fe9ac64330acd0271bc1494dbbb86281310ca
8c9fe9ac64 [DX] Rename shouldImportName() to shouldSkipName() on ClassNameImportSkipper (#5107)
2023-10-02 17:56:25 +00:00
Tomas Votruba
f7114d03e6 Updated Rector to commit dae8c61493b22119f0ece2e1d870ff5a0cb91993
dae8c61493 [Performance][AutoImport] Remove just renamed check on ClassNameImportSkipper (#5106)
2023-10-02 16:48:47 +00:00
Tomas Votruba
1425f0b38c Updated Rector to commit 478b257792be25a6f32e1a7bf672d33d2832a574
478b257792 [Performance][AutoImport] Reduce double loop on NameImportingPostRector (#5105)
2023-10-02 15:40:56 +00:00
Tomas Votruba
9cbcd589af Updated Rector to commit c9e0823ef35b56b8cc78005c90d7462688d44c09
c9e0823ef3 [[Performance]AutoImport] Reduce double loop on ClassNameImportSkipper (#5104)
2023-10-02 11:11:16 +00:00
Tomas Votruba
671f50c702 Updated Rector to commit ee715396945596fffb158ff8278749feb01ea01a
ee71539694 [NodeTypeResolver] Use isScalar()->yes() usage on StaticTypeAnalyzer and ScalarTypeComparator services (#5099)
2023-10-01 01:36:35 +00:00
Tomas Votruba
1d1339dd53 Updated Rector to commit b483230a5bb027f24dbfe46e5a4416abd6b4788f
b483230a5b [Performance] Remove regex for check start with big letter on ShortNameResolver (#5084)
2023-09-26 21:57:19 +00:00
Tomas Votruba
452859f92f Updated Rector to commit e38909dbc086a70e5564e21d8af87aab9c1dc62d
e38909dbc0 Docblock fix on ShortNameResolver (#5077)
2023-09-24 10:06:03 +00:00
Tomas Votruba
9b44046c45 Updated Rector to commit 4f199368893906bf5d9f89b936e97297888de463
4f19936889 [AutoImport] Skip case insensitive conflict defined class name on $rectorConfig->importNames() (#5076)
2023-09-24 09:51:58 +00:00
Tomas Votruba
4f42274ab7 Updated Rector to commit 85a407a1b75939448a0ee6d539ebe86538252e52
85a407a1b7 Deprecate BinarySwitchToIfElseRector as opinionated to allow more suitable match() refactoring (#5064)
2023-09-22 09:56:10 +00:00
Tomas Votruba
4b8fc3fb05 Updated Rector to commit e698133cad1a85f2384a6cf450d66c54df1876a2
e698133cad [DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5053)
2023-09-20 12:55:35 +00:00
Tomas Votruba
3827f75ecd Updated Rector to commit 23d429233d37af0d743b4d4dc622828c704d2d2f
23d429233d [DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5052)
2023-09-20 12:53:23 +00:00
Tomas Votruba
b2b3a0f5cc Updated Rector to commit 33fa6262970128e964fc4099d88d9a7369828e1a
33fa626297 [DX] Make PhpDocInfoFactory explicitly required in Rector rule constructor, if needed (#5051)
2023-09-20 12:41:26 +00:00
Tomas Votruba
4d86ccbb88 Updated Rector to commit 848c2ad9415b0e536b7864872f895f64104ecb50
848c2ad941 Improve Use_ const types in docblocks (#5005)
2023-09-12 20:17:09 +00:00
Tomas Votruba
088accd46c Updated Rector to commit aeba96a811638e3954028b70d8163c43a8866fa8
aeba96a811 Refactor use import resolving (#4998)
2023-09-12 12:38:05 +00:00