Skip to content

Commit 8754048

Browse files
committed
fixup! [depre] Deprecate StringExtensionToConfigBuilderRector as deprecated in Symfony 7.4
1 parent 9852bbb commit 8754048

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

rules/CodeQuality/Rector/Closure/StringExtensionToConfigBuilderRector.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,12 @@
55
namespace Rector\Symfony\CodeQuality\Rector\Closure;
66

77
use PhpParser\Node;
8-
use PhpParser\Node\Expr\Array_;
98
use PhpParser\Node\Expr\Closure;
10-
use PhpParser\Node\Expr\MethodCall;
11-
use PhpParser\Node\Expr\Variable;
12-
use PhpParser\Node\Stmt\Expression;
139
use Rector\Configuration\Deprecation\Contract\DeprecatedInterface;
1410
use Rector\Exception\ShouldNotHappenException;
15-
use Rector\Naming\Naming\PropertyNaming;
16-
use Rector\PhpParser\Node\Value\ValueResolver;
1711
use Rector\Rector\AbstractRector;
18-
use Rector\Symfony\CodeQuality\NodeFactory\SymfonyClosureFactory;
19-
use Rector\Symfony\Configs\ConfigArrayHandler\NestedConfigCallsFactory;
20-
use Rector\Symfony\Configs\ConfigArrayHandler\SecurityAccessDecisionManagerConfigArrayHandler;
21-
use Rector\Symfony\Configs\Enum\DoctrineConfigKey;
22-
use Rector\Symfony\Configs\Enum\SecurityConfigKey;
23-
use Rector\Symfony\NodeAnalyzer\SymfonyClosureExtensionMatcher;
24-
use Rector\Symfony\NodeAnalyzer\SymfonyPhpClosureDetector;
25-
use Rector\Symfony\Utils\StringUtils;
26-
use Rector\Symfony\ValueObject\ExtensionKeyAndConfiguration;
2712
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
2813
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
29-
use Webmozart\Assert\Assert;
3014

3115
/**
3216
* @changelog https://symfony.com/blog/new-in-symfony-5-3-config-builder-classes

rules/CodeQuality/Rector/Trait_/AddTraitGetterReturnTypeBasedOnSetterRequiredRector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use Rector\Php80\NodeAnalyzer\PhpAttributeAnalyzer;
1717
use Rector\Rector\AbstractRector;
1818
use Rector\Symfony\Enum\SymfonyAttribute;
19-
use Rector\Symfony\Enum\SymfonyClass;
2019
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
2120
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
2221

0 commit comments

Comments
 (0)