mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 17:00:51 +00:00
rename ValidateFixtureCommand to more explicit ValidateFixtureContent
This commit is contained in:
parent
99db894192
commit
1a82613c3f
2
.github/workflows/code_analysis.yaml
vendored
2
.github/workflows/code_analysis.yaml
vendored
|
@ -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
|
||||
|
||||
-
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
?>
|
|
@ -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
|
Loading…
Reference in New Issue
Block a user