Commit Graph

707 Commits

Author SHA1 Message Date
Tomas Votruba b98d0a8754 Updated Rector to commit 575921d2bca4a0ef36d55c6fa4ebf1ea01bacc4d
575921d2bc [Carbon] Init set to migrate DateTime to Carbon (#5868)
2024-05-18 13:30:48 +00:00
Tomas Votruba dd1dd510f5 Updated Rector to commit 4f301f2335b0fef2934ddaf53471ebd961de1f71
4f301f2335 [Configuration] Add missing LevelSetList::UP_TO_PHP_84 on PhpLevelSetResolver::resolveFromPhpVersion() (#5890)
2024-05-18 07:39:08 +00:00
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 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 42078c4127 Updated Rector to commit 08d73a1af5ebc77bf37e9854fc1aca76cd5fcbcb
08d73a1af5 [Printer] Apply configurable multiline on Fluent Method Call on print after method call created/re-printed (#5779)
2024-03-28 16:05:42 +00:00
Tomas Votruba b50605a40a Updated Rector to commit 1764c19455ce55ee49ec1d678d422c788e7c4fff
1764c19455 [Configuration] Do not sets, skip, rules on empty array on RectorConfigBuilder (#5731)
2024-03-17 01:39:59 +00:00
Tomas Votruba c0820093ad Updated Rector to commit ff32c0c08a89f27ea34187d00cf707734a7e39c8
ff32c0c08a [Php84] Add ExplicitNullableParamTypeRector (#5724)
2024-03-15 10:45:55 +00:00
Tomas Votruba 4fdf5d4ab4 Updated Rector to commit b523b734e052b47d756330e7deeaa68372fbd494
b523b734e0 [Configuration] Fix parallel config always replaced by next config per-default true (#5683)
2024-03-03 20:46:43 +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 531af37084 Updated Rector to commit 2ccf2dedae865100f20bd8fb649625cabb0e4ed3
2ccf2dedae Add basic validation for skipped path (#5628)
2024-02-16 22:00:46 +00:00
Tomas Votruba 95d40d3a99 Updated Rector to commit f347c7301fcfcb4cda2b61bb4b359ed01cee7070
f347c7301f Add method RectorConfigBuilder::withSkipPath() (#5626)
2024-02-16 19:08:11 +00:00
Tomas Votruba f1e807548e Updated Rector to commit 7cd56d864dc52f88416c47845239ad897467a003
7cd56d864d RectorConfigBuilder: skip and rules can be called multiple times (#5623)
2024-02-16 16:38:11 +00:00
Tomas Votruba 51ddee6f5c Updated Rector to commit d62be327173447695dea93ff52d67d087d9fb9d4
d62be32717 [DX] Accept Y/y for confirmation of init config (#5616)
2024-02-14 09:09:41 +00:00
Tomas Votruba 3899caefbf Updated Rector to commit fbc391aa82a629f07f432860b146e617156a48e3
fbc391aa82 No need normalize cwd() as only need strlen() on VendorMissAnalyseGuard (#5598)
2024-02-10 13:48:41 +00:00
Tomas Votruba f2b6b79e92 Updated Rector to commit 6d408f520f1766ba4450d057e6e10c0ffbfa9275
6d408f520f [Performance] Use strlen() early before loop on VendorMissAnalyseGuard (#5597)
2024-02-10 13:42:27 +00:00
Tomas Votruba bbbbb87f7d Updated Rector to commit 88a27f43efbcdf7004b6f7b2a6c6255cc81b6fff
88a27f43ef [Config] Add registerService() method to allow container extension (#5591)
2024-02-09 12:02:07 +00:00
Tomas Votruba e79510ae2b Updated Rector to commit 0d55791128825909273d0cdd9743470236748d75
0d55791128 Fix downgrade build: exclude vendor/symplify/easy-parallel/ecs.php on parallel lint (#5584)
2024-02-08 04:24:11 +00:00
Tomas Votruba 80c79c976b Updated Rector to commit 4570438319ff69196c28b13fad1e3567ca7bd1e5
4570438319 [Config] Make sure only one of type-declaration/dead-code or with*Level() is used to avoid duplicates (#5578)
2024-02-07 21:49:03 +00:00
Tomas Votruba 4483663a95 Updated Rector to commit a76ec2921c0202da145386cb2052f82952c34900
a76ec2921c Fix missing / suffix on VendorMissAnalyseGuard (#5571)
2024-02-07 00:44:34 +00:00
Tomas Votruba 9d4b461bdb Updated Rector to commit 5bf03c420e523f365ccc67eebb3f045e854caf55
5bf03c420e [Configuration] Fix detect /vendor on root project on vendor analyzed on VendorMissAnalyseGuard (#5569)
2024-02-07 00:22:31 +00:00
Tomas Votruba 428336c22c Updated Rector to commit 09398c3d4f07bb6ad664a55b87cab955278a467e
09398c3d4f Decouple AddFunctionVoidReturnTypeWhereNoReturnRector to allow leveling by simple node first (#5563)
2024-02-05 16:07:43 +00:00
Tomas Votruba d00ebb838c Updated Rector to commit 56c250771518c2aa2e17bc64c9986c2dbe9b6fd8
56c2507715 Decouple AddClosureVoidReturnTypeWhereNoReturnRector to allow leveling by simple node first (#5562)
2024-02-05 15:56:19 +00:00
Tomas Votruba a5294370bd Updated Rector to commit c44e1e57dece206f94cd5896000750172ead0272
c44e1e57de Real fix paths The given paths do not match any files on RectorConfigBuilder (#5561)
2024-02-05 10:43:38 +00:00
Tomas Votruba 7810dc2e74 Updated Rector to commit 487f162d53fe42f6d76557ca6cd49d93ceb911e8
487f162d53 [experimental] Add withTypeCoverageLevel() method to streamline Rector integration to new projects (#5553)
2024-02-05 08:01:59 +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 17078d56a8 Updated Rector to commit 2f041dc9beacc2f150344f4c169cc14d4c4991d9
2f041dc9be [DX] PHP sets should not disable all other version-based rules (#5527)
2024-01-30 20:43:47 +00:00
Tomas Votruba 89734ded6b Updated Rector to commit a6b0d2c732d9532940bce76d45d83d41482c0f5a
a6b0d2c732 [DX] Skip vendor warning in case of downgrade (#5526)
2024-01-30 20:28:41 +00:00
Tomas Votruba d54a5a3c50 Updated Rector to commit 6edf23f6b6cdc2982618ac311c6b7936d3fdcf16
6edf23f6b6 Added 4 methods into RectorConfigBuilder (#5524)
2024-01-30 16:16:28 +00:00
Tomas Votruba c828305041 Updated Rector to commit 58ef131772f7745a52c3990aeaea34a4892b6ae5
58ef131772 [Performance] Remove CollectedData on ProcessResult (#5520)
2024-01-30 05:37:48 +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 7c6043c26c Updated Rector to commit 21aa474269373c93fa8d74e72e7e8ee817a38cee
21aa474269 Fix configured rule (#5517)
2024-01-29 21:10:17 +00:00
Tomas Votruba 94c55b84c0 Updated Rector to commit 1608ae8c9497bbfaf78ce54130ec304963ac6f2a
1608ae8c94 [Windows] Utilize Nette\Utils\FileSystem instead of Symfony\Component\Filesystem\Filesystem to write file (#5514)
2024-01-28 22:41:37 +00:00
Tomas Votruba 120a7594fb Updated Rector to commit b2d76bd6eff80326b8f89a061f44b06cf90ba49a
b2d76bd6ef Improve config builder + add withAttributesSets() method (#5509)
2024-01-27 12:22:01 +00:00
Tomas Votruba e41705aa94 Updated Rector to commit a6ace939a0cbccd31623d3e18677ea8791e69aab
a6ace939a0 [Configuration] Use array_merge() on RectorCnofigBuilder::withSets() (#5507)
2024-01-26 22:36:43 +00:00
Tomas Votruba 9204913593 Updated Rector to commit a69e1ff013720727f052437d051ca5ab2c11b89e
a69e1ff013 Add PHPUnit 9 annotations support detectoin in "custom-rule" command, add RectorConfig::withPreparedSets() (#5506)
2024-01-26 21:43:08 +00:00
Tomas Votruba f076295e84 Updated Rector to commit 0afec7e54615912ced1ffe83e9dccadc4f153c17
0afec7e546 [Config] Add RectorConfigBuilder (#5503)
2024-01-26 19:37:08 +00:00
Tomas Votruba ec3d78eef4 Updated Rector to commit 5a3a59c50c7810296274eb4408737c8f2f8921e7
5a3a59c50c Remove collectors, as performance very costly and not practically useful (#5470)
2024-01-15 22:10: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 8e7d3b2d52 Updated Rector to commit 595086559f9ed5196d53c6dbea907043153bda61
595086559f [psr-4] Update Rector core test reference (#5410)
2024-01-01 09:05:02 +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 8775d2e083 Updated Rector to commit ebb2d2df55887c25f74af39b400194039dff78d4
ebb2d2df55 [DX] Add "Related polyfill" feature to upgrade based on used symfony/polyfill-* packages (#5388)
2023-12-24 12:52:27 +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 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 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 beb21d1b36 Updated Rector to commit 3c1035bb6d6b578c4b26f1b1735895ffafcc814b
3c1035bb6d [DX] Remove DependencyClassMethodDecorator as not used anymore due to paralel nature (#5094)
2023-09-30 19:57:09 +00:00
Tomas Votruba 4ea05c5a5f Updated Rector to commit e530fc1e1a98faa22509115e79de5e5f2997208d
e530fc1e1a Introducing Collectors - final step 🥳  - processing collected data + test case (#4970)
2023-09-19 11:53:28 +00:00
Tomas Votruba 810ae4c396 Updated Rector to commit f6063588c0107450e51333934308f71434722f68
f6063588c0 [DX] Lower current node dependency - pass it directly to doc node parsing (#5023)
2023-09-15 11:53:42 +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 4cbb15f972 Updated Rector to commit 1593d006138230202e20bd209da375ca1e171876
1593d00613 [Internals] Decouple output from AbstractRector, narrow debugging output to file path (#4976)
2023-09-10 20:27:13 +00:00
Tomas Votruba e4a21c854e Updated Rector to commit 56b0d65f9d3dd7c85055f18208b6f4a4859c4cc6
56b0d65f9d Fix Rector invalidation in case of changes sets or rules (#4902)
2023-09-03 17:34:03 +00:00