rename ValidateFixtureCommand to more explicit ValidateFixtureContent

This commit is contained in:
TomasVotruba 2020-07-27 10:51:10 +02:00
parent 99db894192
commit 1a82613c3f
3 changed files with 34 additions and 2 deletions

View File

@ -23,7 +23,7 @@ jobs:
-
name: Validate Fixtures
run: |
bin/rector validate-fixtures --ansi
bin/rector validate-fixture-content --ansi
bin/rector validate-fixture-suffix --ansi
-

View File

@ -0,0 +1,32 @@
<?php
namespace Rector\Naming\Tests\Rector\Class_\RenamePropertyToMatchTypeRector\Fixture;
use PhpParser\Node\Identifier;
use PhpParser\Node\Name;
interface UpdateDocName
{
/**
* @param Identifier|Name $value
*/
public function method(\PhpParser\Node $value);
}
?>
-----
<?php
namespace Rector\Naming\Tests\Rector\Class_\RenamePropertyToMatchTypeRector\Fixture;
use ReflectionProperty;
interface UpdateDocName
{
/**
* @param Identifier|Name $node
*/
public function method(\PhpParser\Node $node);
}
?>

View File

@ -16,7 +16,7 @@ use Symplify\PackageBuilder\Console\ShellCode;
use Symplify\SmartFileSystem\Finder\FinderSanitizer;
use Symplify\SmartFileSystem\SmartFileInfo;
final class ValidateFixturesCommand extends Command
final class ValidateFixtureContentCommand extends Command
{
/**
* @var FinderSanitizer