[Config] Clean up rector.php config (#514)

This commit is contained in:
Abdul Malik Ikhsan 2021-07-26 15:54:25 +07:00 committed by GitHub
parent 923bb72983
commit eb91c61b95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 8 deletions

View File

@ -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(

View File

@ -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,

View File

@ -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;

View 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(

View File

@ -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
{
/**