[fixtures] Enable validate-fixture-skip-naming check (#5081)

* [fixtures] Enable validate-fixture-skip-naming check

* full path vendor vendor/symplify/easy-testing/bin/easy-testing validate-fixture-skip-naming rules tests

* 21 files

* more fixture

* various fix

* various fix

* more fixtures

* apply to packages rules tests utils

* more fixtures

* more fixtures

* more fixtures

* more fixtures

* more fixtures

* more fixtures

* more fixtures

* fixture fix

* done

* fixture fix
This commit is contained in:
Abdul Malik Ikhsan 2021-01-04 20:18:27 +07:00 committed by GitHub
parent 17f47bd5c4
commit e1c89d17f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
121 changed files with 109 additions and 109 deletions

View File

@ -34,9 +34,9 @@ jobs:
run: bin/rector validate-fixture-classname --ansi
# make sure skipped files have "skip_" prefix
# -
# name: Validate Fixtures skip file prefix
# run: vendor/bin/easy-testing validate-fixture-skip-naming rules tests
-
name: Validate Fixtures skip file prefix
run: vendor/symplify/easy-testing/bin/easy-testing validate-fixture-skip-naming rules tests
-
name: 'Validate Sets Loading'

View File

@ -183,7 +183,7 @@
"rules/coding-style/tests/Rector/Namespace_/ImportFullyQualifiedNamesRector/Source/YetAnotherClass.php",
"rules/coding-style/tests/Rector/Throw_/AnnotateThrowablesRector/Source/i_throw_an_exception.func.php",
"rules/dead-code/tests/Rector/MethodCall/RemoveDefaultArgumentValueRector/Source/UserDefined.php",
"rules/naming/tests/ValueObjectFactory/PropertyRenameFactory/Fixture/SomeClass.php.inc",
"rules/naming/tests/ValueObjectFactory/PropertyRenameFactory/Fixture/skip_some_class.php.inc",
"rules/renaming/tests/Rector/FileWithoutNamespace/PseudoNamespaceToNamespaceRector/Source/ChangeMeAnotherNamespace.php",
"rules/renaming/tests/Rector/Name/RenameClassRector/Source/SkipClassImportingSameName.php",
"rules/renaming/tests/Rector/Name/RenameClassRector/Source/SkipSameNamedInterface.php",

View File

@ -2,7 +2,7 @@
namespace Rector\CodeQuality\Tests\Rector\BooleanAnd\SimplifyEmptyArrayCheckRector\Fixture;
class Fixture3
class SkipFixture3
{
public function isntEmptyArray($values): bool
{

View File

@ -2,7 +2,7 @@
namespace Rector\CodeQuality\Tests\Rector\BooleanNot\SimplifyDeMorganBinaryRector\Fixture;
class BinaryAnd
class SkipBinaryAnd
{
public static function chr_to_decimal(string $char): int
{

View File

@ -2,7 +2,7 @@
namespace Rector\CodeQuality\Tests\Rector\FuncCall\AddPregQuoteDelimiterRector\Fixture;
class UnknownDelimiter
class SkipUnknownDelimiter
{
public function test()
{

View File

@ -2,7 +2,7 @@
namespace Rector\CodeQuality\Tests\Rector\FuncCall\SetTypeToCastRector\Fixture;
class Assign
class SkipAssign
{
public function run($foo)
{

View File

@ -2,7 +2,7 @@
namespace Rector\CodeQuality\Tests\Rector\Identical\SimplifyConditionsRector\Fixture;
class DualNull
class SkipDualNull
{
public function run()
{

View File

@ -2,7 +2,7 @@
namespace Rector\CodeQuality\Tests\Rector\If_\CombineIfRector\Fixture;
class ChildElse
class SkipChildElse
{
public function run()
{

View File

@ -2,7 +2,7 @@
namespace Rector\CodeQuality\Tests\Rector\If_\CombineIfRector\Fixture;
class ChildElseif
class SkipChildElseif
{
public function run()
{

View File

@ -2,7 +2,7 @@
namespace Rector\CodeQuality\Tests\Rector\If_\CombineIfRector\Fixture;
class MoreStatements
class SkipMoreStatements
{
public function run()
{

View File

@ -2,7 +2,7 @@
namespace Rector\CodeQuality\Tests\Rector\If_\CombineIfRector\Fixture;
class ParentElse
class SkipParentElse
{
public function run()
{

View File

@ -2,7 +2,7 @@
namespace Rector\CodeQuality\Tests\Rector\If_\CombineIfRector\Fixture;
class ParentElseif
class SkipParentElseif
{
public function run()
{

View File

@ -4,7 +4,7 @@ namespace Rector\CodeQuality\Tests\Rector\If_\ExplicitBoolCompareRector\Fixture;
use PhpParser\Node\Stmt\If_;
final class IfElse
final class SkipIfElse
{
public function run(If_ $if)
{

View File

@ -2,7 +2,7 @@
namespace Rector\CodeQuality\Tests\Rector\If_\SimplifyIfElseToTernaryRector\Fixture;
class TooLong
class SkipTooLong
{
public function run()
{

View File

@ -5,7 +5,7 @@ namespace Rector\CodeQuality\Tests\Rector\If_\SimplifyIfReturnBoolRector\Fixture
use PHPStan\Type\ConstantScalarType;
use PHPStan\Type\NullType;
class BooleanNullableButNonTruableType
class ConstantScalarType_
{
public function run(ConstantScalarType $type)
{
@ -30,7 +30,7 @@ namespace Rector\CodeQuality\Tests\Rector\If_\SimplifyIfReturnBoolRector\Fixture
use PHPStan\Type\ConstantScalarType;
use PHPStan\Type\NullType;
class BooleanNullableButNonTruableType
class ConstantScalarType_
{
public function run(ConstantScalarType $type)
{

View File

@ -2,7 +2,7 @@
namespace Rector\CodeQuality\Tests\Rector\If_\SimplifyIfReturnBoolRector\Fixture;
class NullableToFalse
class SkipNullableToFalse
{
public function run(string $someString)
{

View File

@ -2,7 +2,7 @@
namespace Rector\CodeQuality\Tests\Rector\Return_\SimplifyUselessVariableRector\Fixture;
class Fixture2
class SkipFixture2
{
private $noError = 'noError';

View File

@ -2,7 +2,7 @@
namespace Rector\CodingStyle\Tests\Rector\ClassMethod\ReturnArrayClassMethodToYieldRector\Fixture;
final class ShouldNotApplyWhenClassNameDiffers
final class SkipShouldNotApplyWhenClassNameDiffers
{
public function getSubscribedEvents(): array
{

View File

@ -4,7 +4,7 @@ namespace Rector\CodingStyle\Tests\Rector\ClassMethod\ReturnArrayClassMethodToYi
use Rector\CodingStyle\Tests\Rector\ClassMethod\ReturnArrayClassMethodToYieldRector\Source\ParentTestCase;
final class ShouldNotApplyWhenMethodNameDiffers extends ParentTestCase
final class SkipShouldNotApplyWhenMethodNameDiffers extends ParentTestCase
{
public function getSomePublicData(): array
{

View File

@ -2,7 +2,7 @@
namespace Rector\CodingStyle\Tests\Rector\If_\NullableCompareToNullRector\Fixture;
class NullableScalars
class SkipNullableScalars
{
public function run(?array $arrayOrNull)
{

View File

@ -5,7 +5,7 @@ namespace Rector\CodingStyle\Tests\Rector\Namespace_\ImportFullyQualifiedNamesRe
use Elasticr\FoRest\Request\ApiRequest;
use Tests\Elasticr\FoRest\Request\ArticleRequest;
final class AlreadyClassExists
final class SkipAlreadyClassExists
{
/**
* @return \Tests\Elasticr\FoRest\App\Request\AlreadyClassExists

View File

@ -9,7 +9,7 @@ use Doctrine\ORM\Mapping as ORM;
* @ORM\Entity()
* @ORM\InheritanceType("SINGLE_TABLE")
*/
class ShouldKeepAllDocBlocksAnnotationsParameters
class SkipShouldKeepAllDocBlocksAnnotationsParameters
{
public function nothing(): void
{

View File

@ -4,7 +4,7 @@ namespace Rector\CodingStyle\Tests\Rector\Namespace_\ImportFullyQualifiedNamesRe
use Symfony\Component\Routing\Annotation\Route;
class SymfonyRoute
class SkipSymfonyRoute
{
/**
* @Route(

View File

@ -4,7 +4,7 @@ namespace Rector\CodingStyle\Tests\Rector\Use_\RemoveUnusedAliasRector\Fixture;
use Rector\CodingStyle\Tests\Rector\Use_\RemoveUnusedAliasRector\Source\Mapping as ORM;
class DocBlock
class SkipDocBlock
{
/**
* @ORM\Id

View File

@ -5,7 +5,7 @@ namespace Rector\CodingStyle\Tests\Rector\Use_\RemoveUnusedAliasRector\Fixture;
use DateTime as PhpDateTime;
use DateTimeImmutable as PhpDateTimeImmutable;
class DocBlockUniontype
class SkipDocBlockUniontype
{
/**
* @var PhpDateTime|bool

View File

@ -6,7 +6,7 @@ use Nette\Utils\FileSystem as NetteFileSystem;
use Symfony\Component\Filesystem\Filesystem;
use Symplify\ConsoleColorDiff\Console\Output\ConsoleDiffer;
final class NetteSymfonyFilesystemAlias
final class SkipNetteSymfonyFilesystemAlias
{
/**
* @var Filesystem

View File

@ -5,7 +5,7 @@ namespace Rector\CodingStyle\Tests\Rector\Use_\RemoveUnusedAliasRector\Fixture;
use Rector\CodingStyle\Tests\Rector\Use_\RemoveUnusedAliasRector\Source\AbstractKernel as BaseKernel;
use Rector\CodingStyle\Tests\Rector\Use_\RemoveUnusedAliasRector\Source\Another\AbstractKernel;
class Used extends BaseKernel
class SkipUsed extends BaseKernel
{
public function run(BaseKernel $baseKernel, AbstractKernel $abstractKernel)
{

View File

@ -2,7 +2,7 @@
namespace Rector\DeadCode\Tests\Rector\Assign\RemoveDoubleAssignRector\Fixture;
class Calls
class SkipCalls
{
public function functions()
{

View File

@ -6,7 +6,7 @@ use PhpParser\Node\Expr\StaticCall;
use PhpParser\Node\Identifier;
use PhpParser\Node\Name;
class InsideIfElse
class SkipInsideIfElse
{
public function callMe(StaticCall $staticCall, $newMethod): StaticCall
{

View File

@ -2,7 +2,7 @@
namespace Rector\DeadCode\Tests\Rector\BooleanAnd\RemoveAndTrueRector\Fixture;
class KeepSomething
class Something
{
public function run()
{
@ -18,7 +18,7 @@ class KeepSomething
namespace Rector\DeadCode\Tests\Rector\BooleanAnd\RemoveAndTrueRector\Fixture;
class KeepSomething
class Something
{
public function run()
{

View File

@ -2,7 +2,7 @@
namespace Rector\DeadCode\Tests\Rector\ClassConst\RemoveUnusedPrivateConstantRector\Fixture;
final class UsedInTrait
final class SkipUsedInTrait
{
use aTrait;
private const SOME_CONSTANT = 5;

View File

@ -11,7 +11,7 @@ class StrictPapa
}
class ParentRequired extends StrictPapa
class SkipParentRequired extends StrictPapa
{
public function getIt($value, $value2)
{

View File

@ -2,7 +2,7 @@
namespace Rector\DeadCode\Tests\Rector\ClassMethod\RemoveUnusedPrivateMethodRector\Fixture;
final class PrivateConstructor
final class SkipPrivateConstructor
{
private function __construct()
{

View File

@ -2,7 +2,7 @@
namespace Rector\DeadCode\Tests\Rector\FunctionLike\RemoveOverriddenValuesRector\Fixture;
final class Issue1093
final class SkipIssue1093
{
public function run($themes = [])
{

View File

@ -2,7 +2,7 @@
namespace Rector\DeadCode\Tests\Rector\FunctionLike\RemoveOverriddenValuesRector\Fixture;
final class Issue1286
final class SkipIssue1286
{
public function run()
{

View File

@ -3,7 +3,7 @@
namespace Rector\DeadCode\Tests\Rector\Plus\RemoveDeadZeroAndOneOperationRector\Fixture;
class NoUnintended
class SkipNoUnintended
{
private function do(int $var)
{

View File

@ -7,7 +7,7 @@ use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*/
class SkipDoctrineEntityProperty
class DoctrineEntityProperty
{
private $unusedProperty;
@ -28,7 +28,7 @@ use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*/
class SkipDoctrineEntityProperty
class DoctrineEntityProperty
{
/**
* @ORM\Column

View File

@ -2,7 +2,7 @@
namespace Rector\DeadCode\Tests\Rector\Property\RemoveUnusedPrivatePropertyRector\Fixture;
class KeepFunctionCall
class FunctionCall
{
private $prop;
@ -22,7 +22,7 @@ class KeepFunctionCall
namespace Rector\DeadCode\Tests\Rector\Property\RemoveUnusedPrivatePropertyRector\Fixture;
class KeepFunctionCall
class FunctionCall
{
public function doThing()
{

View File

@ -2,7 +2,7 @@
namespace Rector\DeadCode\Tests\Rector\PropertyProperty\RemoveNullPropertyInitializationRector\Fixture;
class TypedPropertyClass
class SkipTypedPropertyClass
{
private ?string $lowerCase = null;
}

View File

@ -2,7 +2,7 @@
namespace Rector\DeadCode\Tests\Rector\StaticCall\RemoveParentCallWithoutParentRector\Fixture;
class AnonymousClassWithParent
class SkipAnonymousClassWithParent
{
public function foo()
{

View File

@ -2,7 +2,7 @@
namespace Rector\DeadCode\Tests\Rector\StaticCall\RemoveParentCallWithoutParentRector\Fixture;
class EdgeCase extends AbstractFilterFactory
class SkipEdgeCase extends AbstractFilterFactory
{
public function getOrderByIdDesc()
{

View File

@ -6,7 +6,7 @@ namespace Rector\Defluent\Tests\NodeFactory\FluentChainMethodCallRootExtractor\F
use Rector\Defluent\Tests\NodeFactory\FluentChainMethodCallRootExtractor\Source\AnotherTypeFactory;
final class IsFactoryVariableDoubleMethodCall
final class SkipIsFactoryVariableDoubleMethodCall
{
public function run()
{

View File

@ -6,7 +6,7 @@ namespace Rector\Defluent\Tests\NodeFactory\FluentChainMethodCallRootExtractor\F
use Rector\Defluent\Tests\NodeFactory\FluentChainMethodCallRootExtractor\Source\SomeClassWithFluentMethods;
final class ReturnNewDoubleMethodCall
final class SkipReturnNewDoubleMethodCall
{
public function run()
{

View File

@ -6,7 +6,7 @@ namespace Rector\Defluent\Tests\NodeFactory\FluentChainMethodCallRootExtractor\F
use Rector\Defluent\Tests\NodeFactory\FluentChainMethodCallRootExtractor\Source\SomeClassWithFluentMethods;
final class VariableDoubleMethodCall
final class SkipVariableDoubleMethodCall
{
public function run()
{

View File

@ -35,7 +35,7 @@ final class FluentChainMethodCallRootExtractorTest extends AbstractKernelTestCas
public function test(): void
{
$assignAndRootExpr = $this->parseFileAndCreateAssignAndRootExprForSure(
__DIR__ . '/Fixture/variable_double_method_call.php.inc'
__DIR__ . '/Fixture/skip_variable_double_method_call.php.inc'
);
$this->assertFalse($assignAndRootExpr->isFirstCallFactory());
@ -46,7 +46,7 @@ final class FluentChainMethodCallRootExtractorTest extends AbstractKernelTestCas
public function testFactory(): void
{
$assignAndRootExpr = $this->parseFileAndCreateAssignAndRootExprForSure(
__DIR__ . '/Fixture/is_factory_variable_double_method_call.php.inc'
__DIR__ . '/Fixture/skip_is_factory_variable_double_method_call.php.inc'
);
$this->assertTrue($assignAndRootExpr->isFirstCallFactory());
@ -55,7 +55,7 @@ final class FluentChainMethodCallRootExtractorTest extends AbstractKernelTestCas
public function testNew(): void
{
$assignAndRootExpr = $this->parseFileAndCreateAssignAndRootExprForSure(
__DIR__ . '/Fixture/return_new_double_method_call.php.inc'
__DIR__ . '/Fixture/skip_return_new_double_method_call.php.inc'
);
$this->assertFalse($assignAndRootExpr->isFirstCallFactory());

View File

@ -7,7 +7,7 @@ use DateTimeZone;
use Rector\Defluent\Tests\Rector\MethodCall\InArgChainFluentMethodCallToStandaloneMethodCallRectorTest\Source\SetGetDateTime;
use Nette\Utils\DateTime as NetteDateTime;
final class SelfSelf
final class SkipSelfSelf
{
public function run(SetGetDateTime $setGetDateTime, DateTimeZone $dateTimeZone)
{

View File

@ -8,7 +8,7 @@ use Rector\DoctrineCodeQuality\Tests\Rector\Property\RemoveRedundantDefaultPrope
/**
* @ORM\Entity
*/
class NullableSkipped
class SkipNullable
{
/**
* @ORM\Column(type="string", nullable=true)

View File

@ -8,7 +8,7 @@ use Rector\DoctrineCodeQuality\Tests\Rector\Property\RemoveRedundantDefaultPrope
/**
* @ORM\Entity
*/
class PrecisionSkipped
class SkipPrecision
{
/**
* @ORM\Column(type="integer", precision=1)

View File

@ -8,7 +8,7 @@ use Rector\DoctrineCodeQuality\Tests\Rector\Property\RemoveRedundantDefaultPrope
/**
* @ORM\Entity
*/
class ScaleSkipped
class SkipScale
{
/**
* @ORM\Column(type="decimal", precision=1)

View File

@ -8,7 +8,7 @@ use Rector\DoctrineCodeQuality\Tests\Rector\Property\RemoveRedundantDefaultPrope
/**
* @ORM\Entity
*/
class UniqueSkipped
class SkipUnique
{
/**
* @ORM\Column(type="string", unique=true)

View File

@ -8,7 +8,7 @@ use Rector\DoctrineCodeQuality\Tests\Rector\Property\RemoveRedundantDefaultPrope
/**
* @ORM\Entity
*/
class NullableFalseSkipped
class SkipNullable
{
/**
* @ORM\ManyToOne(targetEntity=Training::class)

View File

@ -8,7 +8,7 @@ use Rector\DoctrineCodeQuality\Tests\Rector\Property\RemoveRedundantDefaultPrope
/**
* @ORM\Entity
*/
class ReferencedColumnNameSkipped
class SkipReferencedColumnName
{
/**
* @ORM\ManyToOne(targetEntity=Training::class)

View File

@ -8,7 +8,7 @@ use Rector\DoctrineCodeQuality\Tests\Rector\Property\RemoveRedundantDefaultPrope
/**
* @ORM\Entity
*/
class UniqueSkipped
class SkipUnique
{
/**
* @ORM\ManyToOne(targetEntity=Training::class)

View File

@ -8,7 +8,7 @@ use Rector\DoctrineCodeQuality\Tests\Rector\Property\RemoveRedundantDefaultPrope
/**
* @ORM\Entity
*/
class FetchSkipped
class SkipFetch
{
/**
* @ORM\ManyToMany(targetEntity=Training::class, fetch="AUTO")

View File

@ -8,7 +8,7 @@ use Rector\DoctrineCodeQuality\Tests\Rector\Property\RemoveRedundantDefaultPrope
/**
* @ORM\Entity
*/
class OrphanRemovalSkipped
class SkipOrphanRemoval
{
/**
* @ORM\ManyToMany(targetEntity=Training::class, orphanRemoval=true)

View File

@ -8,7 +8,7 @@ use Rector\DoctrineCodeQuality\Tests\Rector\Property\RemoveRedundantDefaultPrope
/**
* @ORM\Entity
*/
class FetchSkipped
class SkipFetch
{
/**
* @ORM\ManyToOne(targetEntity=Training::class, fetch="AUTO")

View File

@ -8,7 +8,7 @@ use Rector\DoctrineCodeQuality\Tests\Rector\Property\RemoveRedundantDefaultPrope
/**
* @ORM\Entity
*/
class FetchSkipped
class SkipFetch
{
/**
* @ORM\OneToMany(targetEntity=Training::class, fetch="AUTO")

View File

@ -8,7 +8,7 @@ use Rector\DoctrineCodeQuality\Tests\Rector\Property\RemoveRedundantDefaultPrope
/**
* @ORM\Entity
*/
class OrphanRemovalSkipped
class SkipOrphanRemoval
{
/**
* @ORM\OneToMany(targetEntity=Training::class, orphanRemoval=true)

View File

@ -8,7 +8,7 @@ use Rector\DoctrineCodeQuality\Tests\Rector\Property\RemoveRedundantDefaultPrope
/**
* @ORM\Entity
*/
class FetchSkipped
class SkipFetch
{
/**
* @ORM\OneToOne(targetEntity=Training::class, fetch="AUTO")

View File

@ -8,7 +8,7 @@ use Rector\DoctrineCodeQuality\Tests\Rector\Property\RemoveRedundantDefaultPrope
/**
* @ORM\Entity
*/
class OrphanRemovalSkipped
class SkipOrphanRemoval
{
/**
* @ORM\OneToOne(targetEntity=Training::class, orphanRemoval=true)

View File

@ -2,7 +2,7 @@
namespace Rector\DowngradePhp70\Tests\Rector\FunctionLike\DowngradeTypeParamDeclarationRector\Fixture;
class ArrayFunctionParam
class SkipArray
{
public function run(array $value)
{

View File

@ -2,7 +2,7 @@
namespace Rector\DowngradePhp70\Tests\Rector\FunctionLike\DowngradeTypeParamDeclarationRector\Fixture;
class CallableFunctionParam
class SkipCallable
{
public function run(callable $value)
{

View File

@ -7,7 +7,7 @@ interface NothingHappensInterface
public function test(array $input);
}
class NothingHappens implements NothingHappensInterface
class SkipNothingHappens implements NothingHappensInterface
{
public function test(array $input)
{

View File

@ -2,7 +2,7 @@
namespace Rector\DowngradePhp73\Tests\Rector\List_\DowngradeListReferenceAssignmentRector\Fixture;
class SkippedValues
class Values
{
public function run($string)
{
@ -17,7 +17,7 @@ class SkippedValues
namespace Rector\DowngradePhp73\Tests\Rector\List_\DowngradeListReferenceAssignmentRector\Fixture;
class SkippedValues
class Values
{
public function run($string)
{

View File

@ -2,7 +2,7 @@
namespace Rector\DowngradePhp74\Tests\Rector\Array_\DowngradeArraySpreadRector\Fixture;
class NoUnpacks
class SkipNoUnpacks
{
public function run()
{

View File

@ -4,7 +4,7 @@ namespace Rector\DowngradePhp74\Tests\Rector\ClassMethod\DowngradeContravariantA
use Exception;
final class SetNotFoundException extends Exception
final class SkipConstruct extends Exception
{
private $setName;

View File

@ -2,7 +2,7 @@
namespace Rector\DowngradePhp74\Tests\Rector\LNumber\DowngradeNumericLiteralSeparatorRector\Fixture;
class NoChange
class SkipNoChange
{
public function run()
{

View File

@ -2,7 +2,7 @@
namespace Rector\EarlyReturn\Tests\Rector\If_\ChangeAndIfToEarlyReturnRector\Fixture;
class KeepCommentOfRemovedNode
class DontRemoveCommentOfRemovedNode
{
public function canDrive(Car $car): void
{
@ -21,7 +21,7 @@ class KeepCommentOfRemovedNode
namespace Rector\EarlyReturn\Tests\Rector\If_\ChangeAndIfToEarlyReturnRector\Fixture;
class KeepCommentOfRemovedNode
class DontRemoveCommentOfRemovedNode
{
public function canDrive(Car $car): void
{

View File

@ -2,7 +2,7 @@
namespace Rector\EarlyReturn\Tests\Rector\If_\RemoveAlwaysElseRector\Fixture;
class EmptyIf
class SkipEmptyIf
{
public function run()
{

View File

@ -2,7 +2,7 @@
namespace Rector\EarlyReturn\Tests\Rector\If_\RemoveAlwaysElseRector\Fixture;
class NoBreak
class SkipNoBreak
{
public function run()
{

View File

@ -2,7 +2,7 @@
namespace Rector\EarlyReturn\Tests\Rector\If_\RemoveAlwaysElseRector\Fixture;
class SimpleIf
class SkipSimpleIf
{
public function run()
{

View File

@ -2,7 +2,7 @@
namespace Rector\EarlyReturn\Tests\Rector\Return_\ReturnBinaryAndToEarlyReturnRector\Fixture;
class KeepComment
class Comment
{
public function accept($something, $somethingelse, $anotherelse, $last)
{
@ -23,7 +23,7 @@ class KeepComment
namespace Rector\EarlyReturn\Tests\Rector\Return_\ReturnBinaryAndToEarlyReturnRector\Fixture;
class KeepComment
class Comment
{
public function accept($something, $somethingelse, $anotherelse, $last)
{

View File

@ -4,7 +4,7 @@ namespace Rector\Generic\Tests\Rector\ClassMethod\ArgumentAdderRector\Fixture;
use Rector\Generic\Tests\Rector\ClassMethod\ArgumentAdderRector\Source\SomeContainerBuilder;
class AlreadyAdded extends SomeContainerBuilder
class SkipAlreadyAdded extends SomeContainerBuilder
{
public function addCompilerPass($pass, $type, int $priority = 10)
{

Some files were not shown because too many files have changed in this diff Show More