8000 [CodeQuality] Deprecate MakeCommandLazyRector, as Symfony 6.1 introdu… · rectorphp/rector-symfony@45a949f · GitHub
[go: up one dir, main page]

Skip to content

Commit 45a949f

Browse files
committed
[CodeQuality] Deprecate MakeCommandLazyRector, as Symfony 6.1 introduces more reliable native attribute
1 parent 7400fd1 commit 45a949f

17 files changed

+13
-486
lines changed

config/sets/symfony/symfony-code-quality.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use Rector\Symfony\CodeQuality\Rector\BinaryOp\ResponseStatusCodeRector;
77
use Rector\Symfony\CodeQuality\Rector\Class_\EventListenerToEventSubscriberRector;
88
use Rector\Symfony\CodeQuality\Rector\Class_\LoadValidatorMetadataToAnnotationRector;
9-
use Rector\Symfony\CodeQuality\Rector\Class_\MakeCommandLazyRector;
109
use Rector\Symfony\CodeQuality\Rector\ClassMethod\ActionSuffixRemoverRector;
1110
use Rector\Symfony\CodeQuality\Rector\ClassMethod\ParamTypeFromRouteRequiredRegexRector;
1211
use Rector\Symfony\CodeQuality\Rector\ClassMethod\RemoveUnusedRequestParamRector;
@@ -16,7 +15,6 @@
1615

1716
return static function (RectorConfig $rectorConfig): void {
1817
$rectorConfig->rules([
19-
MakeCommandLazyRector::class,
2018
EventListenerToEventSubscriberRector::class,
2119
ResponseReturnTypeControllerActionRector::class,
2220
// int and string literals to const fetches

rules-tests/CodeQuality/Rector/Class_/MakeCommandLazyRector/Fixture/constant_defined_name.php.inc

Lines changed: 0 additions & 31 deletions
This file was deleted.

rules-tests/CodeQuality/Rector/Class_/MakeCommandLazyRector/Fixture/fixture.php.inc

Lines changed: 0 additions & 43 deletions
This file was deleted.

rules-tests/CodeQuality/Rector/Class_/MakeCommandLazyRector/Fixture/method_chaining.php.inc

Lines changed: 0 additions & 41 deletions
This file was deleted.

rules-tests/CodeQuality/Rector/Class_/MakeCommandLazyRector/Fixture/method_chaining_with_options.php.inc

Lines changed: 0 additions & 55 deletions
This file was deleted.

rules-tests/CodeQuality/Rector/Class_/MakeCommandLazyRector/Fixture/skip_constructor_dependency_command.php.inc

Lines changed: 0 additions & 13 deletions
This file was deleted.

rules-tests/CodeQuality/Rector/Class_/MakeCommandLazyRector/Fixture/skip_non_parent_construct_static_in_construct.php.inc

Lines changed: 0 additions & 15 deletions
This file was deleted.

rules-tests/CodeQuality/Rector/Class_/MakeCommandLazyRector/Fixture/skip_non_string_param_construct.php.inc

Lines changed: 0 additions & 16 deletions
This file was deleted.

rules-tests/CodeQuality/Rector/Class_/MakeCommandLazyRector/Fixture/static_in_execute.php.inc

Lines changed: 0 additions & 47 deletions
This file was deleted.

rules-tests/CodeQuality/Rector/Class_/MakeCommandLazyRector/FixturePhp80/skip_non_string_command_name.php.php.inc

Lines changed: 0 additions & 13 deletions
This file was deleted.

rules-tests/CodeQuality/Rector/Class_/MakeCommandLazyRector/FixturePhp80/skip_parent_property_promotion.php.php.inc

Lines changed: 0 additions & 15 deletions
This file was deleted.

rules-tests/CodeQuality/Rector/Class_/MakeCommandLazyRector/FixturePhp80/skip_property_promotion.php.inc

Lines changed: 0 additions & 14 deletions
This file was deleted.

rules-tests/CodeQuality/Rector/Class_/MakeCommandLazyRector/MakeCommandLazyRectorTest.php

Lines changed: 0 additions & 28 deletions
This file was deleted.

rules-tests/CodeQuality/Rector/Class_/MakeCommandLazyRector/Php80Test.php

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0