Commit Graph

504 Commits

Author SHA1 Message Date
Tomas Votruba 12c115e6f6 Updated Rector to commit 5193d43b644f9d059d9964ebcc6820181a7bca18
5193d43b64 [NodeTypeResolver] Remove unnecessary loop SourceLocator collection on DynamicSourceLocatorProvider (#5852)
2024-05-02 02:21:56 +00:00
Tomas Votruba a3b725126c Updated Rector to commit 775916c6416e68507e846421f04e2cabbfa2d737
775916c641 [Naming] Skip DateTime as individual in name resolver (#5842)
2024-04-23 09:06:40 +00:00
Tomas Votruba 664f4e3a6b Updated Rector to commit 0f1987b0faa8dc1c5e086c9b95457d6018b2cd82
0f1987b0fa Adds a link to the PHP Static Analysis Attributes rector rules (#5787)
2024-04-01 16:51:34 +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 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 5c2f93e7b7 Updated Rector to commit f7b9dd9035931da5a040f5c714c79c32c424b677
f7b9dd9035 Update rector.php of skip() to allow file name has word: "Expected" (#5347)
2023-12-10 02:05:30 +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 4f6134d1be Updated Rector to commit 5647e1b818482552a447d7f79392c7e2f0dce86e
5647e1b818 [Naming] Fix dotted name on generics bug in RenameVariableToMatchMethodCallReturnTypeRector (#5250)
2023-11-15 07:40:24 +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 d628c0dcad Updated Rector to commit 238a9f1800225bd3f350dc25df79ad283d91a25a
238a9f1800 Revert doctrine/inflector removal (#5201)
2023-10-25 15:01:11 +00:00
Tomas Votruba 23e5d4df05 Updated Rector to commit 1d3fc91bd5e0154daae34b1efdb64a6f78f47c89
1d3fc91bd5 apply cs
2023-10-24 15:03:15 +00:00
Tomas Votruba 02041b2207 Rector 0.18.6 2023-10-24 15:00:59 +00:00
Tomas Votruba 52923dc606 Updated Rector to commit 1c54292ed68e46f4ddfa2adb21f28130f308b99c
1c54292ed6 Replace doctrine/inflector with simpler mapping function (#5165)
2023-10-24 15:00:55 +00:00
Tomas Votruba d260adfd2b Updated Rector to commit 96fae07575c6c64ac7e2950388cbe07d18cbcfc5
96fae07575 Skip DateTime in ExpectedNameResolver (#5186)
2023-10-18 09:27:27 +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 f73bcd4ef8 Updated Rector to commit c97e4ffb0534d388b5f51508491916f54d3f342a
c97e4ffb05 [Naming] Remove matchesStringName() check completely from NodeNameResolver, including endsWith() method - use getName() and compare directly instead (#4954)
2023-09-09 22:49:40 +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 73a1ef4a72 Updated Rector to commit d8d31debc51ab5df1d30655846bb0fbd9f76039b
d8d31debc5 [Performance] Use more performance spl_object_id() (#4876)
2023-08-28 17:41:52 +00:00
Tomas Votruba 8d42e37dfd Updated Rector to commit 00f736f054372cca311469fec02b46edd5159b9a
00f736f054 Fix RenamePropertyToMatchTypeRector to skip Laravel collections and avoid accident rename (#4811)
2023-08-18 09:06:56 +00:00
Tomas Votruba 93ce3c4606 Updated Rector to commit ef35a4957b1afbede20679d94529393f4e6d1286
ef35a4957b [DX] Cleanup few dev dependencies to lower dependency-tree load (#4650)
2023-08-04 17:51:05 +00:00
Tomas Votruba 1814d573d8 Updated Rector to commit e380cf8fdb65fe9929ed047dafdd49fadb00e01c
e380cf8fdb [DX] Make MoneyFormatToNumberFormatRector wrap func call directly to keep simple (#4653)
2023-08-04 17:46:10 +00:00
Tomas Votruba 92b9fdfd95 Updated Rector to commit fbcd7cf7e6c61be3ad014eebe50ff6c83e8a202e
fbcd7cf7e6 Remove resolveFromNodeWithScopeCountAndFallbackName() as unused (#4652)
2023-08-04 17:28:42 +00:00
Tomas Votruba 81777836bc Updated Rector to commit cbc026e3245d744eea5cf1fc48f3722f67b62173
cbc026e324 [DX] Cleanup ForRepeatedCountToOwnVariableRector counter (#4651)
2023-08-04 17:15:45 +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 174847774d Updated Rector to commit c94645b3ab7debe9c00531597c1b896080a2cf9d
c94645b3ab [Performance] [PostRector] Reduce repetitive resolve uses statements on NameImportingPostRector (#4579)
2023-07-22 10:56:32 +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 6e8d9f01fe Updated Rector to commit 9ff238819b2cfed103b30766d2c0e33135abed38
9ff238819b apply cs
2023-06-29 10:02:47 +00:00
Tomas Votruba bbcd259217 Updated Rector to commit 6947eb7c4cf8cefe0e7a4cb95bbae23ab64362bd
6947eb7c4c [NodeTypeResolver] Only use FileWithoutNamespaceNodeTraverser once on NodeScopeAndMetadataDecorator (#4369)
2023-06-27 20:26:20 +00:00
Tomas Votruba a3231bb81d Updated Rector to commit 40a1f34b12c548f7be05f02a084be54e8374a58a
40a1f34b12 [Naming] Remove parent lookup on UseImportsResolver (#4367)
2023-06-27 17:32:34 +00:00
Tomas Votruba 577f0343f5 Updated Rector to commit 57e2712bd04d491826cc60afa9e003c54e8add96
57e2712bd0 Move AddMethodParentCallRector to Symfony Rector (#4301)
2023-06-20 08:35:19 +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 8ea0fec420 Updated Rector to commit 405d9f8f9ccee80ee0d2d9c0704ef028238b38cd
405d9f8f9c [Naming] Remove parent attribute usage on ExpectedNameResolver (#4180)
2023-06-11 10:16:46 +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 4f94034308 Updated Rector to commit d003424800ab2b06eae432679cda73ee959cbad1
d003424800 From magic array autowire to explicit autowire (#4122)
2023-06-08 20:31:22 +00:00
Tomas Votruba 7f654942fd Updated Rector to commit 18a2a0f37852ed6f5fb52c07e2c1137cf556f5b4
18a2a0f378 Add STRICT_BOOLEANS set (#4116)
2023-06-08 16:22:20 +00:00
Tomas Votruba 1f621e91a4 Updated Rector to commit 88eed987cc361166359c158ffd22d264d165aa8b
88eed987cc Ensure check isFirstClassCallable() before node->getArgs() on CallLike (#4049)
2023-06-02 12:32:12 +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 a2c39b778e Updated Rector to commit 13d81f90894396f7e443cb5cb9198aeacb6bc05a
13d81f9089 [Cleanup] Make use of getArgs() directly (#3766)
2023-05-08 07:37:37 +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 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 6481c8dccc Updated Rector to commit 5f4edd9230355cadc311ba8e8954fb9ae5bdc849
5f4edd9230 Remove NonVariableToVariableOnFunctionCallRector, should be handled manually as might need attention (#3357)
2023-02-07 22:56:24 +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 2980e4cdbf Updated Rector to commit 3b3ee7ea805d2a5d4abe1049d595b456abdd400c
3b3ee7ea80 Skip Doctrine Collection in RenamePropertyToMatchTypeRector (#3279)
2023-01-13 19:34:52 +00:00
Tomas Votruba 3bf1b86a9a Updated Rector to commit 9a2bcbf87e0e9ef7a243bae52d666f9704c1aee1
9a2bcbf87e [Naming] Fix add fixture RenameVariableToMatchMethodCallReturnTypeRector  for date time assign (#3277)
2023-01-13 18:58:01 +00:00
Tomas Votruba b771e1ca1a Updated Rector to commit 58c8f170182d3350e21a3b141bb3971651943e63
58c8f17018 [CodingStyle] Add DataProviderArrayItemsNewlinedRector (#3271)
2023-01-10 11:07:38 +00:00