Skip to content

Commit

Permalink
[CI] Drop fixture checks, that are now covered by static reflection (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba authored Mar 13, 2021
1 parent 5677e7c commit ab1154f
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 652 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/code_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,6 @@ jobs:
name: Validate Fixtures
run: bin/rector validate-fixture-suffix --ansi

-
name: Validate Fixtures Namespace
run: bin/rector validate-fixture-namespace --ansi

-
name: Validate Fixtures class name
run: bin/rector validate-fixture-classname --ansi

-
name: Validate Fixtures file name
run: bin/rector validate-fixture-filename --ansi

# make sure skipped files have "skip_" prefix
-
name: Validate Fixtures skip file prefix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use PhpParser\Node;
use PhpParser\Node\Expr\Array_;
use PhpParser\Node\Stmt\Nop;

final class ImproveNullable
final class DoubleCallArray
{
public function getName(?Node $node)
{
Expand All @@ -16,7 +16,7 @@ final class ImproveNullable

final class CallGetName
{
public function run(ImproveNullable $improveNullable)
public function run(DoubleCallArray $improveNullable)
{
$nop = new Nop();
$improveNullable->getName($nop);
Expand All @@ -36,7 +36,7 @@ use PhpParser\Node;
use PhpParser\Node\Expr\Array_;
use PhpParser\Node\Stmt\Nop;

final class ImproveNullable
final class DoubleCallArray
{
public function getName(\PhpParser\Node $node)
{
Expand All @@ -46,7 +46,7 @@ final class ImproveNullable

final class CallGetName
{
public function run(ImproveNullable $improveNullable)
public function run(DoubleCallArray $improveNullable)
{
$nop = new Nop();
$improveNullable->getName($nop);
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit ab1154f

Please sign in to comment.