mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-05 10:50:48 +00:00
drop per Rector level configuration; use more clear config setup - easier to combine and include
This commit is contained in:
parent
3053b30783
commit
e6d297a2e6
|
@ -30,7 +30,7 @@ checkers:
|
|||
extraAllowedClasses:
|
||||
- 'PhpParser\Node\*'
|
||||
- 'PhpParser\Comment\Doc'
|
||||
- SplObjectStorage # temporary before adding to Symplify\CodingStandard package
|
||||
- 'Rector\DeprecationExtractor\Deprecation\*'
|
||||
|
||||
parameters:
|
||||
exclude_checkers:
|
||||
|
|
|
@ -10,6 +10,7 @@ use PhpParser\Node\Scalar\MagicConst\Method;
|
|||
use PhpParser\Node\Scalar\String_;
|
||||
use PhpParser\Node\Stmt\ClassMethod;
|
||||
use Rector\DeprecationExtractor\Contract\Deprecation\DeprecationInterface;
|
||||
use Rector\DeprecationExtractor\Deprecation\ClassMethodDeprecation;
|
||||
use Rector\Exception\NotImplementedException;
|
||||
use Rector\Node\Attribute;
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ final class MessageToDeprecationTransformerTest extends AbstractContainerAwareTe
|
|||
public function test(): void
|
||||
{
|
||||
$this->deprecationExtractor->scanDirectories([
|
||||
__DIR__ . '/../../../../vendor/symfony/dependency-injection'
|
||||
__DIR__ . '/../../../../vendor/symfony/dependency-injection',
|
||||
]);
|
||||
|
||||
$deprecationMessages = $this->deprecationCollector->getDeprecationMessages();
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
<?php declare(strict_types=1);
|
||||
|
||||
namespace Rector\Contract\Deprecation;
|
||||
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
interface DeprecationInterface
|
||||
{
|
||||
/**
|
||||
* A project that is related to this.
|
||||
* E.g "Nette", "Symfony"
|
||||
* Use constants from @see SetNames, if possible.
|
||||
*/
|
||||
public function getSetName(): string;
|
||||
|
||||
/**
|
||||
* Version this deprecations is active since.
|
||||
* E.g. 2.3.
|
||||
*/
|
||||
public function sinceVersion(): float;
|
||||
}
|
|
@ -5,10 +5,9 @@ namespace Rector\Rector;
|
|||
use PhpParser\Node;
|
||||
use PhpParser\NodeTraverser;
|
||||
use PhpParser\NodeVisitorAbstract;
|
||||
use Rector\Contract\Deprecation\DeprecationInterface;
|
||||
use Rector\Contract\Rector\RectorInterface;
|
||||
|
||||
abstract class AbstractRector extends NodeVisitorAbstract implements DeprecationInterface, RectorInterface
|
||||
abstract class AbstractRector extends NodeVisitorAbstract implements RectorInterface
|
||||
{
|
||||
/**
|
||||
* @return null|int|Node
|
||||
|
|
|
@ -9,7 +9,6 @@ use PhpParser\Node\Expr\PropertyFetch;
|
|||
use Rector\Node\Attribute;
|
||||
use Rector\NodeFactory\NodeFactory;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
/**
|
||||
* Covers https://doc.nette.org/en/2.4/migration-2-4#toc-nette-smartobject.
|
||||
|
@ -31,16 +30,6 @@ final class FormCallbackRector extends AbstractRector
|
|||
$this->nodeFactory = $nodeFactory;
|
||||
}
|
||||
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::NETTE;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 2.4;
|
||||
}
|
||||
|
||||
/**
|
||||
* Detects "$form->onSuccess[] = $this->someAction;"
|
||||
*/
|
||||
|
|
|
@ -9,7 +9,6 @@ use Rector\Node\Attribute;
|
|||
use Rector\NodeAnalyzer\MethodCallAnalyzer;
|
||||
use Rector\NodeFactory\NodeFactory;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
/**
|
||||
* Covers https://forum.nette.org/cs/26672-missing-setrequired-true-false-on-field-abc-in-form
|
||||
|
@ -37,16 +36,6 @@ final class FormSetRequiredRector extends AbstractRector
|
|||
$this->nodeFactory = $nodeFactory;
|
||||
}
|
||||
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::NETTE;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 2.4;
|
||||
}
|
||||
|
||||
public function isCandidate(Node $node): bool
|
||||
{
|
||||
if (! $this->methodCallAnalyzer->isMethodCallTypeAndMethods($node, self::FORM_CLASS, ['addCondition'])) {
|
||||
|
|
|
@ -3,20 +3,9 @@
|
|||
namespace Rector\Rector\Contrib\Nette;
|
||||
|
||||
use Rector\Rector\AbstractChangeMethodNameRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
final class HtmlAddMethodRector extends AbstractChangeMethodNameRector
|
||||
{
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::NETTE;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 2.4;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[][]
|
||||
*/
|
||||
|
|
|
@ -9,7 +9,6 @@ use Rector\Builder\Class_\ClassPropertyCollector;
|
|||
use Rector\Node\Attribute;
|
||||
use Rector\NodeAnalyzer\DocBlockAnalyzer;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
final class InjectPropertyRector extends AbstractRector
|
||||
{
|
||||
|
@ -56,16 +55,6 @@ final class InjectPropertyRector extends AbstractRector
|
|||
return $propertyNode;
|
||||
}
|
||||
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::NETTE;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 2.1;
|
||||
}
|
||||
|
||||
private function addPropertyToCollector(Property $propertyNode): void
|
||||
{
|
||||
$propertyType = $this->docBlockAnalyzer->getAnnotationFromNode($propertyNode, 'var');
|
||||
|
|
|
@ -3,20 +3,9 @@
|
|||
namespace Rector\Rector\Contrib\Nette;
|
||||
|
||||
use Rector\Rector\AbstractClassReplacerRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
final class NetteConfiguratorRector extends AbstractClassReplacerRector
|
||||
{
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::NETTE;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 2.1;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
|
|
|
@ -9,7 +9,6 @@ use Rector\Builder\StatementGlue;
|
|||
use Rector\Node\Attribute;
|
||||
use Rector\NodeFactory\NodeFactory;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
/**
|
||||
* Covers https://doc.nette.org/en/2.4/migration-2-4#toc-nette-smartobject.
|
||||
|
@ -42,16 +41,6 @@ final class NetteObjectToSmartTraitRector extends AbstractRector
|
|||
$this->nodeFactory = $nodeFactory;
|
||||
}
|
||||
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::NETTE;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 2.2;
|
||||
}
|
||||
|
||||
public function isCandidate(Node $node): bool
|
||||
{
|
||||
if (! $node instanceof Class_ || $node->extends === null || $node->isAnonymous()) {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace Rector\Rector\Contrib\Nette;
|
||||
|
||||
use Rector\Rector\AbstractChangeMethodNameRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
final class PhpGeneratorDocumentMethodRector extends AbstractChangeMethodNameRector
|
||||
{
|
||||
|
@ -16,16 +15,6 @@ final class PhpGeneratorDocumentMethodRector extends AbstractChangeMethodNameRec
|
|||
'getDocuments' => 'getComment',
|
||||
];
|
||||
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::NETTE;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 2.4;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[][]
|
||||
*/
|
||||
|
|
|
@ -7,7 +7,6 @@ use PhpParser\Node\Expr\ClassConstFetch;
|
|||
use PhpParser\Node\Scalar\String_;
|
||||
use Rector\Node\Attribute;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
final class RemoveConfiguratorConstantsRector extends AbstractRector
|
||||
{
|
||||
|
@ -38,16 +37,6 @@ final class RemoveConfiguratorConstantsRector extends AbstractRector
|
|||
return new String_($originalConstantValue);
|
||||
}
|
||||
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::NETTE;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 2.3;
|
||||
}
|
||||
|
||||
private function getClassNameFromClassConstFetch(ClassConstFetch $classConstFetchNode): string
|
||||
{
|
||||
/** @var Node\Name\FullyQualified $fqnName */
|
||||
|
|
|
@ -3,20 +3,12 @@
|
|||
namespace Rector\Rector\Contrib\PHPUnit;
|
||||
|
||||
use Rector\Rector\AbstractClassReplacerRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
/**
|
||||
* Covers https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-6.0.md#changed-1
|
||||
*/
|
||||
final class NamespaceClassRector extends AbstractClassReplacerRector
|
||||
{
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::PHPUNIT;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 6.0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
|
|
|
@ -3,27 +3,22 @@
|
|||
namespace Rector\Rector\Contrib\PHP_CodeSniffer;
|
||||
|
||||
use Rector\Rector\AbstractClassReplacerRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
/**
|
||||
* Covers https://github.com/squizlabs/PHP_CodeSniffer/wiki/Version-3.0-Upgrade-Guide
|
||||
*/
|
||||
final class NamespaceClassRector extends AbstractClassReplacerRector
|
||||
{
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::PHP_CODE_SNIFER;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 3.0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
protected function getOldToNewClasses(): array
|
||||
{
|
||||
return [
|
||||
'PHP_CodeSniffer_Sniffs_Sniff' => 'PHP_CodeSniffer\Sniffs\Sniff',
|
||||
'PHP_CodeSniffer_Sniffs_File' => 'PHP_CodeSniffer\Sniffs\Sniff',
|
||||
'PHP_CodeSniffer_File' => 'PHP_CodeSniffer\Files\File',
|
||||
'PHP_CodeSniffer_Tokens' => 'PHP_CodeSniffer\Util\Tokens',
|
||||
'StandardName_Tests_Category_TestSniffUnitTest' => 'PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php declare(strict_types=1);
|
||||
|
||||
namespace Rector\Rector\Contrib\SymfonyExtra;
|
||||
namespace Rector\Rector\Contrib\Symfony;
|
||||
|
||||
use Nette\Utils\Strings;
|
||||
use PhpParser\Node;
|
||||
|
@ -13,7 +13,6 @@ use Rector\Node\Attribute;
|
|||
use Rector\NodeAnalyzer\SymfonyContainerCallsAnalyzer;
|
||||
use Rector\NodeFactory\NodeFactory;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
use Rector\Tests\Rector\Contrib\SymfonyExtra\GetterToPropertyRector\Source\LocalKernel;
|
||||
|
||||
/**
|
||||
|
@ -77,16 +76,6 @@ final class CommandToConstructorInjectionRector extends AbstractRector
|
|||
$this->symfonyContainerCallsAnalyzer = $symfonyContainerCallsAnalyzer;
|
||||
}
|
||||
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::SYMFONY_EXTRA;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 3.3;
|
||||
}
|
||||
|
||||
public function isCandidate(Node $node): bool
|
||||
{
|
||||
$class = (string) $node->getAttribute(Attribute::CLASS_NAME);
|
|
@ -8,7 +8,6 @@ use PhpParser\Node\Scalar\String_;
|
|||
use Rector\Node\Attribute;
|
||||
use Rector\NodeFactory\NodeFactory;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
/**
|
||||
* Ref: https://github.com/symfony/symfony/blob/master/UPGRADE-4.0.md#validator
|
||||
|
@ -36,16 +35,6 @@ final class ConstraintUrlOptionRector extends AbstractRector
|
|||
$this->nodeFactory = $nodeFactory;
|
||||
}
|
||||
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::SYMFONY;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 4.0;
|
||||
}
|
||||
|
||||
public function isCandidate(Node $node): bool
|
||||
{
|
||||
if (! $node instanceof ConstFetch) {
|
||||
|
|
|
@ -3,29 +3,13 @@
|
|||
namespace Rector\Rector\Contrib\Symfony;
|
||||
|
||||
use Rector\Rector\AbstractChangeParentClassRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
/**
|
||||
* Ref: https://github.com/symfony/symfony/blob/master/UPGRADE-4.0.md#validator
|
||||
*
|
||||
* Converts all:
|
||||
* Symfony\Component\Validator\Tests\Constraints\AbstractConstraintValidatorTest
|
||||
*
|
||||
* into:
|
||||
* Symfony\Component\Validator\Test\ConstraintValidatorTestCase
|
||||
*/
|
||||
final class ConstraintValidatorTestClassRenameRector extends AbstractChangeParentClassRector
|
||||
{
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::SYMFONY;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 4.0;
|
||||
}
|
||||
|
||||
protected function getOldClassName(): string
|
||||
{
|
||||
return 'Symfony\Component\Validator\Tests\Constraints\AbstractConstraintValidatorTest';
|
||||
|
|
|
@ -8,7 +8,6 @@ use PhpParser\Node\Expr\MethodCall;
|
|||
use Rector\Node\Attribute;
|
||||
use Rector\NodeFactory\NodeFactory;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
/**
|
||||
* Converts all:
|
||||
|
@ -29,16 +28,6 @@ final class FormIsValidRector extends AbstractRector
|
|||
$this->nodeFactory = $nodeFactory;
|
||||
}
|
||||
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::SYMFONY;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 4.0;
|
||||
}
|
||||
|
||||
public function isCandidate(Node $node): bool
|
||||
{
|
||||
if (! $node instanceof MethodCall) {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace Rector\Rector\Contrib\Symfony;
|
||||
|
||||
use Rector\Rector\AbstractClassReplacerRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
/**
|
||||
* Ref.: https://github.com/symfony/symfony/blob/master/UPGRADE-4.0.md#frameworkbundle
|
||||
|
@ -12,16 +11,6 @@ use Rector\Rector\Set\SetNames;
|
|||
*/
|
||||
final class FrameworkBundleClassReplacementsRector extends AbstractClassReplacerRector
|
||||
{
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::SYMFONY;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 4.0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php declare(strict_types=1);
|
||||
|
||||
namespace Rector\Rector\Contrib\SymfonyExtra;
|
||||
namespace Rector\Rector\Contrib\Symfony;
|
||||
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Expr\MethodCall;
|
||||
|
@ -11,7 +11,6 @@ use Rector\Node\Attribute;
|
|||
use Rector\NodeAnalyzer\SymfonyContainerCallsAnalyzer;
|
||||
use Rector\NodeFactory\NodeFactory;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
use Rector\Tests\Rector\Contrib\SymfonyExtra\GetterToPropertyRector\Source\LocalKernel;
|
||||
|
||||
/**
|
||||
|
@ -95,14 +94,4 @@ final class GetterToPropertyRector extends AbstractRector
|
|||
|
||||
return $this->nodeFactory->createLocalPropertyFetch($propertyName);
|
||||
}
|
||||
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::SYMFONY_EXTRA;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 3.3;
|
||||
}
|
||||
}
|
|
@ -3,11 +3,9 @@
|
|||
namespace Rector\Rector\Contrib\Symfony;
|
||||
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Name;
|
||||
use PhpParser\Node\Scalar\String_;
|
||||
use Rector\NodeFactory\NodeFactory;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
/**
|
||||
* Converts all:
|
||||
|
@ -65,16 +63,6 @@ final class StringFormTypeToClassRector extends AbstractRector
|
|||
$this->nodeFactory = $nodeFactory;
|
||||
}
|
||||
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::SYMFONY;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 4.0;
|
||||
}
|
||||
|
||||
public function isCandidate(Node $node): bool
|
||||
{
|
||||
return $node instanceof String_ && isset($this->nameToClassMap[$node->value]);
|
||||
|
|
|
@ -8,7 +8,6 @@ use PhpParser\Node\Scalar\String_;
|
|||
use Rector\NodeAnalyzer\MethodCallAnalyzer;
|
||||
use Rector\NodeFactory\NodeFactory;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Rector\Rector\Set\SetNames;
|
||||
|
||||
/**
|
||||
* Converts all:
|
||||
|
@ -42,16 +41,6 @@ final class VarDumperTestTraitMethodArgsRector extends AbstractRector
|
|||
$this->nodeFactory = $nodeFactory;
|
||||
}
|
||||
|
||||
public function getSetName(): string
|
||||
{
|
||||
return SetNames::SYMFONY;
|
||||
}
|
||||
|
||||
public function sinceVersion(): float
|
||||
{
|
||||
return 4.0;
|
||||
}
|
||||
|
||||
public function isCandidate(Node $node): bool
|
||||
{
|
||||
if (! $this->methodCallAnalyzer->isStaticMethodCallTypeAndMethods(
|
||||
|
|
3
src/config/level/nette/nette21.yml
Normal file
3
src/config/level/nette/nette21.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
checkers:
|
||||
- Rector\Rector\Contrib\Nette\InjectPropertyRector
|
||||
- Rector\Rector\Contrib\Nette\NetteConfiguratorRector
|
2
src/config/level/nette/nette23.yml
Normal file
2
src/config/level/nette/nette23.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
checkers:
|
||||
- Rector\Rector\Contrib\Nette\RemoveConfiguratorConstantsRector
|
6
src/config/level/nette/nette24.yml
Normal file
6
src/config/level/nette/nette24.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
checkers:
|
||||
- Rector\Rector\Contrib\Nette\FormCallbackRector
|
||||
- Rector\Rector\Contrib\Nette\FormSetRequiredRector
|
||||
- Rector\Rector\Contrib\Nette\HtmlAddMethodRector
|
||||
- Rector\Rector\Contrib\Nette\NetteObjectToSmartTraitRector
|
||||
- Rector\Rector\Contrib\Nette\PhpGeneratorDocumentMethodRector
|
2
src/config/level/php-code-sniffer/php-code-sniffer30.yml
Normal file
2
src/config/level/php-code-sniffer/php-code-sniffer30.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
rectors:
|
||||
- Rector\Rector\Contrib\PHP_CodeSniffer\NamespaceClassRector
|
2
src/config/level/phpunit/phpunit60.yml
Normal file
2
src/config/level/phpunit/phpunit60.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
rectors:
|
||||
- Rector\Rector\Contrib\PHPUnit\NamespaceClassRector
|
3
src/config/level/symfony/symfony-di.yml
Normal file
3
src/config/level/symfony/symfony-di.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
rectors:
|
||||
- Rector\Rector\Contrib\Symfony\CommandToConstructorInjectionRector
|
||||
- Rector\Rector\Contrib\Symfony\GetterToPropertyRector
|
7
src/config/level/symfony/symfony40.yml
Normal file
7
src/config/level/symfony/symfony40.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
rectors:
|
||||
- Rector\Rector\Contrib\Symfony\ConstraintUrlOptionRector
|
||||
- Rector\Rector\Contrib\Symfony\ConstraintValidatorTestClassRenameRector
|
||||
- Rector\Rector\Contrib\Symfony\FormIsValidRector
|
||||
- Rector\Rector\Contrib\Symfony\FrameworkBundleClassReplacementsRector
|
||||
- Rector\Rector\Contrib\Symfony\StringFormTypeToClassRector
|
||||
- Rector\Rector\Contrib\Symfony\VarDumperTestTraitMethodArgsRector
|
Loading…
Reference in New Issue
Block a user