Commit Graph

1459 Commits

Author SHA1 Message Date
Tomas Votruba
744ab2e38b Updated Rector to commit 955a5de414501f77b80b321a90ee35d4fe49e9e2
955a5de414 Add gitlab to "setup-ci" command (#5497)
2024-01-24 21:26:26 +00:00
Tomas Votruba
c36d19ef56 Updated Rector to commit aa66151ff14da601b4b155f4a876ad2a2070259c
aa66151ff1 [Performance] Remove unnecessary FunctionLikeParamPositionNodeVisitor (#5491)
2024-01-22 14:26:31 +00:00
Tomas Votruba
20754e0aaa Updated Rector to commit e1effe71627ad76eee1532420cf1a3430abff150
e1effe7162 Update README.md (#5490)
2024-01-22 12:52:38 +00:00
Tomas Votruba
5fd03d40bd Updated Rector to commit 07df7dc1a344c52711441149d61251a4fe10366d
07df7dc1a3 Remove collector interface and fix SpatieEnumClassToEnumRector already has underscore to double underscore (#5473)
2024-01-17 00:27:21 +00:00
Tomas Votruba
bae6d284a0 Updated Rector to commit 07df7dc1a344c52711441149d61251a4fe10366d
07df7dc1a3 Remove collector interface and fix SpatieEnumClassToEnumRector already has underscore to double underscore (#5473)
2024-01-16 14:41:26 +00:00
Tomas Votruba
35d4de2656 Updated Rector to commit ee89fb7b82b6fa37412bd5d0cbaac9b49258eb3f
ee89fb7b82 remove non existing collector aliases
2024-01-16 00:20: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
e24202f0b6 Updated Rector to commit 34ab8dc0f9a7e8b7cfa1a88cdf36ced9020964f8
34ab8dc0f9  [Performance] Remove unused AttributeKey::ARGUMENT_POSITION  (#5469)
2024-01-15 20:19:14 +00:00
Tomas Votruba
b13cc2ebb6 Updated Rector to commit e17f4526a7aa8344d0bfbf61d16d125970a3d31a
e17f4526a7 Fix RectorParser::parseString() parameter name (#5467)
2024-01-15 10:34:53 +00:00
Tomas Votruba
275893fa25 Updated Rector to commit 38d716ecec295b96a94cc2db9b3091fc1ca0ea94
38d716ecec [Performance] Remove duplicate filter extension files on FilesFinder (#5463)
2024-01-13 20:25:30 +00:00
Tomas Votruba
b68c88f0b4 Updated Rector to commit f68d9f89cece7c081c431ddeeafe2d317514a1cc
f68d9f89ce [Performance] Extract PathSkipVoter to dedicated service and call before Filesystem::read() (#5451)
2024-01-10 13:03:20 +00:00
Tomas Votruba
41a86add1d Updated Rector to commit b007a8bd11ea0451b50dbafbacd5450b295f6266
b007a8bd11 [Php83] Add implements interface support on AddOverrideAttributeToOverriddenMethodsRector (#5429)
2024-01-04 19:14:21 +00:00
Tomas Votruba
35d4ae5ad9 Updated Rector to commit d886cffeded58fb4b5a55182f4b98b796545c18e
d886cffede [build] Try removing scope aliases
2024-01-02 02:50:51 +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
3916887582 Updated Rector to commit 9f937086898498f37d71977895312cbdb7fdbc6a
9f93708689 [Strict] Handle may be unitialized property on DisallowedEmptyRuleFixerRector (#5409)
2024-01-01 13:26:19 +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
1731eeac5d Updated Rector to commit befe096ca10f7476efeb082fb7c736ba7bd07af5
befe096ca1 [phpstan] tidy up bin files, group complex errors + Cleanup AddTypeToConstRector (#5405)
2023-12-31 20:56:31 +00:00
Tomas Votruba
6e1ac30f0c Updated Rector to commit 0ba47067e827e46c7fc17b1a53cb4418080551d3
0ba47067e8 [config] Extract RectorConfigValidator and handle config validation there (#5404)
2023-12-31 19:54:42 +00:00
Tomas Votruba
b1b95d1c64 Updated Rector to commit e044d50e9b7b04c5ef7454044721dbf16b4b75f8
e044d50e9b [TypeDeclaration] optionally only add types for hard coded return values in `ReturnTypeFromStrictScalarReturnExprRector` (#5364)
2023-12-30 11:58:36 +00:00
Tomas Votruba
38b33113ca Updated Rector to commit 109d734969100cf97bdc820e7c369c90e9e4016a
109d734969 [Php83] Add CombineHostPortLdapUriRector (#5397)
2023-12-27 22:04:09 +00:00
Tomas Votruba
c079729bef Updated Rector to commit ad09d9c37e3e98eff856fcad7c355accad83f6b4
ad09d9c37e make use of autotagInterface() (#5396)
2023-12-27 12:46:35 +00:00
Tomas Votruba
5a2b12fcd4 Updated Rector to commit ad09d9c37e3e98eff856fcad7c355accad83f6b4
ad09d9c37e make use of autotagInterface() (#5396)
2023-12-26 20:37:41 +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
a8c5484976 Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
6bff51172c [e2e] Add e2e for polyfill in composer require provided (#5392)
2023-12-26 12:13:04 +00:00
Tomas Votruba
24ab7232bb Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
6bff51172c [e2e] Add e2e for polyfill in composer require provided (#5392)
2023-12-25 17:21:11 +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
80dad1d8c8 Updated Rector to commit a644d0d4a2f1e457f77cf8e384fd32b78b5ff388
a644d0d4a2 [Arguments] Allow no default value on ArgumentAdderRector (#5382)
2023-12-23 19:44:26 +00:00
Tomas Votruba
a4aba10ad7 Updated Rector to commit 3cef752763be750ea221c5c5eb1681d27398a3d5
3cef752763 Skip classes without final and exception as possibly invoke child implement in AddVoidReturnTypeWhereNoReturnRector (#5381)
2023-12-23 15:28:34 +00:00
Tomas Votruba
94baa5fede Updated Rector to commit 8df2120b3f546dd7f0eb89bf199a042dfc9283e7
8df2120b3f Skip void without final keyword in ReturnNeverTypeRector as could be implemented with more precise children (#5379)
2023-12-23 14:51:47 +00:00
Tomas Votruba
90b260693b Updated Rector to commit 589bda6cd1eb7bc6cdc68313facc02cae41ba628
589bda6cd1 [Naming] Skip `$this` in RenameForeachValueVariableToMatchExprVariableRector (#5360)
2023-12-15 10:14:01 +00:00
Tomas Votruba
39e43b6cca Updated Rector to commit dc9573d9bd60ec966db626be91c13cc6a5c4bbef
dc9573d9bd [Php55] Make StringClassNameToClassConstantRector configurable to keep first pre-backslash string configurable (#5354)
2023-12-11 13:06:54 +00:00
Tomas Votruba
fffe49e4aa Updated Rector to commit 287eab3a7040f8d42fa10701d5fbfc2998fdcc25
287eab3a70 [DeadCode] Add RemoveNullTagValueNodeRector (#5352)
2023-12-10 16:32:52 +00:00
Tomas Votruba
13aada9fdc Updated Rector to commit b1a50d4c785b9fc1498bcd843e58635350e10114
b1a50d4c78 [TypeDeclaration] Add MergeDateTimePropertyTypeDeclarationRector (#5327)
2023-12-05 14:01:18 +00:00
Tomas Votruba
ab4ff53673 Updated Rector to commit 026398c9e1078cb3ac5cac41767b620872166859
026398c9e1 Remove return type in case of void in RemoveUselessReturnTagRector (#5318)
2023-12-03 19:10:14 +00:00
Tomas Votruba
f9c1f58ffc Updated Rector to commit 52b665436c0f2161619b265caa3f2a65be5604dc
52b665436c [PHP83] Implements a rule to add types to class constants (#5290)
2023-12-03 14:59:47 +00:00
Tomas Votruba
1bcbe800e1 Updated Rector to commit ea5b331e7ea67a03b4c3f162c566a8dbfd74d55d
ea5b331e7e [CodeQuality] Add RemoveUselessIsObjectCheckRector (#5316)
2023-12-03 12:25: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
a1e301f6e8 Updated Rector to commit 6c8197667db0cb463eeda93b14b4c6f36e4aab05
6c8197667d [Scoped] Exclude symfony/console/Debug/CliRequest.php from parallel-lint PHP 7.2 syntax check (#5304)
2023-11-30 18:02:55 +00:00
Tomas Votruba
35f86a2fad Updated Rector to commit 91f9f3057c2d51018228ed89273a76da991d3f45
91f9f3057c Use symfony/console ~6.3.9 to fix downgrade build (#5302)
2023-11-30 10:06:33 +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
7a2348073c Updated Rector to commit 118fbde3b1ccc3685c55cd2704bc971d2d49ef41
118fbde3b1 [TypeDeclaration] Remove ParamTypeFromStrictTypedPropertyRector as seems similar feature with AddParamTypeFromPropertyTypeRector (#5293)
2023-11-28 10:10:36 +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
753e83fb31 Updated Rector to commit 4ed71bc537b3b3bb80245efb7661941119ab077d
4ed71bc537 [Utils] Cleap up MissingInSetCommand skipped rules constant (#5242)
2023-11-11 09:57:02 +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
8e33333b8d Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
6d8074534f Rectify (#5226)
2023-11-07 11:07:32 +00:00
Tomas Votruba
1a3632d316 Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
6d8074534f Rectify (#5226)
2023-11-06 10:19:06 +00:00
Tomas Votruba
4fde7813cb Updated Rector to commit 6d8074534f3b568a0cecd373e584ea6c8d06580b
6d8074534f Rectify (#5226)
2023-11-06 10:07:45 +00:00
Tomas Votruba
cdc1ef461c Updated Rector to commit 2ad03db37f187d715c3a2f189dc181063126e596
2ad03db37f [Php83] Adds rule for adding Override attribute (#5170)
2023-11-03 12:13:20 +00:00