mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-08 12:20:52 +00:00
[Config] Clean up rector.php config (#514)
This commit is contained in:
parent
923bb72983
commit
eb91c61b95
|
@ -19,6 +19,9 @@ use Rector\Php80\ValueObject\AnnotationToAttribute;
|
|||
use Rector\PhpAttribute\NodeAnalyzer\NamedArgumentsResolver;
|
||||
use Rector\PhpAttribute\Value\ValueNormalizer;
|
||||
|
||||
/**
|
||||
* @see \Rector\Tests\PhpAttribute\Printer\PhpAttributeGroupFactoryTest
|
||||
*/
|
||||
final class PhpAttributeGroupFactory
|
||||
{
|
||||
public function __construct(
|
||||
|
|
|
@ -10,7 +10,6 @@ use Rector\Core\Configuration\Option;
|
|||
use Rector\Core\Rector\AbstractRector;
|
||||
use Rector\Nette\Set\NetteSetList;
|
||||
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
|
||||
use Rector\PHPUnit\Rector\Class_\AddSeeTestAnnotationRector;
|
||||
use Rector\PHPUnit\Set\PHPUnitSetList;
|
||||
use Rector\Restoration\Rector\ClassMethod\InferParamFromClassMethodReturnRector;
|
||||
use Rector\Restoration\ValueObject\InferParamFromClassMethodReturn;
|
||||
|
@ -71,9 +70,6 @@ return static function (ContainerConfigurator $containerConfigurator): void {
|
|||
$parameters->set(Option::AUTO_IMPORT_NAMES, true);
|
||||
|
||||
$parameters->set(Option::SKIP, [
|
||||
// buggy in refactoring
|
||||
AddSeeTestAnnotationRector::class,
|
||||
|
||||
StringClassNameToClassConstantRector::class,
|
||||
// some classes in config might not exist without dev dependencies
|
||||
SplitStringClassConstantToClassConstFetchRector::class,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Rector\Tests\PSR4;
|
||||
namespace Rector\Tests\PSR4\Composer;
|
||||
|
||||
use Rector\Core\PhpParser\Node\CustomNode\FileWithoutNamespace;
|
||||
use Rector\Core\ValueObject\Application\File;
|
||||
|
|
|
@ -10,6 +10,9 @@ use Rector\Core\ValueObject\Application\File;
|
|||
use Rector\PSR4\Contract\PSR4AutoloadNamespaceMatcherInterface;
|
||||
use Symplify\SmartFileSystem\SmartFileInfo;
|
||||
|
||||
/**
|
||||
* @see \Rector\Tests\PSR4\Composer\PSR4NamespaceMatcherTest
|
||||
*/
|
||||
final class PSR4NamespaceMatcher implements PSR4AutoloadNamespaceMatcherInterface
|
||||
{
|
||||
public function __construct(
|
||||
|
|
|
@ -10,9 +10,6 @@ use Rector\Core\ValueObject\Application\File;
|
|||
use Rector\Core\ValueObject\Configuration;
|
||||
use Rector\Core\ValueObject\StaticNonPhpFileSuffixes;
|
||||
|
||||
/**
|
||||
* @see \Rector\Tests\Renaming\Rector\Name\RenameClassRector\RenameNonPhpTest
|
||||
*/
|
||||
final class NonPhpFileProcessor implements FileProcessorInterface
|
||||
{
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user