Commit Graph

500 Commits

Author SHA1 Message Date
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
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
c5421dfd82 Updated Rector to commit e48234e23981f4022e704bc500b9a9197727e87e
e48234e239 Skip RenameMethodRector in never (#5305)
2023-12-01 09:49:11 +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
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
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
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
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
Tomas Votruba
35a66f9d23 Updated Rector to commit 596bbc98a25903c525914b4d16ea5f9c76b500fb
596bbc98a2 [tests] Replace wildcard e2e test with unit one (#5000)
2023-09-11 18:33:42 +00:00
Tomas Votruba
9a39b26232 Updated Rector to commit 9e7367ca9296ca986a31abd8bb7d6b3a6b5ef0d8
9e7367ca92 Trigger Rectify (#4997)
2023-09-11 16:07:43 +00:00
Tomas Votruba
df6678519f Updated Rector to commit ed0be502e5d74171d59e67874f089f69429a01b0
ed0be502e5 UseImportsTraverser: don't deep traverse (#4994)
2023-09-11 15:55:07 +00:00
Tomas Votruba
326e84f967 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-09-01 11:10:35 +00:00
Tomas Votruba
08df49faa5 Updated Rector to commit 033289a3b207c6a1cd9cba0cd027a16c45356aa8
033289a3b2 [CodingStyle] Remove #[Required] on ShortNameResolver (#4691)
2023-08-07 04:08:22 +00:00
Tomas Votruba
aae549741f Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
0cb3fd0feb [Php73] Handle crash Type Error on JsonThrowOnErrorRector (#4626)
2023-08-01 10:55:14 +00:00
Tomas Votruba
1d52a6cf83 Updated Rector to commit 682df75fc015d0f267780ec5363aa74f82dba58b
682df75fc0 [CodingStyle][Namespace_] Support constant imports (#4612)
2023-07-28 13:10:47 +00:00
Tomas Votruba
872db0f1a4 Updated Rector to commit 9f6e80e2901da6caf3c77c4b7cb06cb384042238
9f6e80e290 [StaticTypeMapper] Remove parent attribute usage on FullyQualifiedNodeMapper (#4395)
2023-07-01 13:47:28 +00:00
Tomas Votruba
6981c70c9a Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
9ed8c21b12 [DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector (#4388)
2023-07-01 09:41:56 +00:00
Tomas Votruba
084bcaaa18 Updated Rector to commit ad65e0445c0a68393d7031067f095ea9f8b1cbde
ad65e0445c [CodingStyle] Remove parent lookup on ShortNameResolver (#4260)
2023-06-17 18:24:04 +00:00
Tomas Votruba
d3f1b27d37 Updated Rector to commit 96dc30676a52c8c1b66b664bcdd76b88f5540514
96dc30676a [Performance] Remove findFirst on AliasUsesResolver and UsedImportsResolver (#4259)
2023-06-17 18:02:56 +00:00
Tomas Votruba
38260ff6c5 Updated Rector to commit 8cb7e850459ec7c5685e718a772a5c89db5700c2
8cb7e85045 [CodingStyle] Remove parent lookup on AliasUsesResolver (#4257)
2023-06-17 16:01:00 +00:00
Tomas Votruba
6630b94daa Updated Rector to commit 06d1d0817a56a9422363beaf2fded111baa92514
06d1d0817a [CodingStyle] Remove parent lookup on UsedImportsResolver (#4245)
2023-06-16 14:53:58 +00:00
Tomas Votruba
503a6059f8 Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
a8922f7431 skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba
3313a231b7 Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
bb609b28e3 [Core] Always reset stopTraversal to false on next Rector visit (#4182)
2023-06-11 14:17:34 +00:00
Tomas Votruba
f82e30a026 Updated Rector to commit ae874efa148e6d5a031503892a6307824b4d7003
ae874efa14 Remove SourceLocatorProviderInterface as unused (#4126)
2023-06-08 22:00:17 +00:00
Tomas Votruba
9a2931cbe4 Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
bdc2fc9963 [NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037)
2023-06-01 08:56:46 +00:00
Tomas Votruba
65abab80de Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
5c1be93b80 PHP 8.2 is supported (#3717)
2023-05-01 01:36:32 +00:00
Tomas Votruba
9038a0d99c Updated Rector to commit 1a91d04c5256e451c744eeb848aaa0182dd227c5
1a91d04c52 [CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544)
2023-04-01 10:14:17 +00:00
Tomas Votruba
0e412b55cb Updated Rector to commit f7e1b1f57e8746e07627799b5d9813e12c1c7b56
f7e1b1f57e [NodeAnalyzer] Use PHPStan ClassReflection to detect anonymous class on ClassAnalyzer (#3543)
2023-03-31 21:41:53 +00:00
Tomas Votruba
0b3c5d9bcc Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
f22ddc8f18 Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513)
2023-03-23 23:21:34 +00:00
Tomas Votruba
7d0f151a40 Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
a2cd7283fb Typo fix comment php 7.3 compat on rector workflow (#3432)
2023-03-01 13:00:30 +00:00
Tomas Votruba
baee5d9d4a Updated Rector to commit 48e97cb0e710d6b7d704d31a6e3c4320486e1ed4
48e97cb0e7 [Core][e2e] Do not reprint from PhpParser when no RectorWithLineChange or empty diff (#3403)
2023-02-23 10:31:39 +00:00
Tomas Votruba
66cc09e8b6 Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
d118ae38e2 Use phpstan-deprecation-rules (#3330)
2023-02-02 09:24:12 +00:00
Tomas Votruba
764b0a2692 Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
cb5b01223d [automated] Re-Generate Nodes/Rectors Documentation (#3259)
2023-01-01 00:36:31 +00:00
Tomas Votruba
ff75474d25 Updated Rector to commit 39f43c01cbc34a8bb064f056d39f1b8d2bd7a152
39f43c01cb Use Symfony ~6.1.x to avoid crash on update vendor-patch (#3134)
2022-12-01 14:10:32 +00:00
Tomas Votruba
ddc864eff4 Updated Rector to commit 7b7d5a4b8bb61b52a298cbf941b7df131897f55b
7b7d5a4b8b Revert string specific identifier values on Type Mappers (#3024)
2022-11-01 14:15:38 +00:00
Tomas Votruba
d5ca88382b Updated Rector to commit 64b241f9922cebf368dc705c7931404e32980852
64b241f992 [AutoImport] Add support use existing imported short name (#3005)
2022-10-22 12:50:23 +00:00
Tomas Votruba
e87c848801 Updated Rector to commit ff4d797c73a51a3fb12cb644c6911ecd7313ec1b
ff4d797c73 [DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector+RemoveAlwaysElseRector (#2964)
2022-10-02 20:24:31 +00:00
Tomas Votruba
debee1711f Updated Rector to commit 6b3ce0af37a7fbae87d06e43bc485616bf81be3e
6b3ce0af37 clean up debug code (#2955)
2022-09-24 15:16:39 +00:00