This commit is contained in:
TomasVotruba 2020-03-29 16:16:27 +02:00
parent 1cec462ccf
commit 69436fc827
6 changed files with 11 additions and 19 deletions

View File

@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v1
with:
php-version: 7.2
php-version: 7.4
coverage: none # disable xdebug, pcov
- run: composer install --no-progress
- run: bin/rector validate-fixture
- run: bin/rector validate-fixtures --ansi

View File

@ -16,4 +16,4 @@ jobs:
php-version: 7.2
coverage: none # disable xdebug, pcov
- run: composer install --no-progress
- run: composer check-services
- run: bin/console validate-services-in-sets --ansi

View File

@ -1,4 +1,4 @@
name: Sets Check
name: Check Sets
on:
pull_request: null
@ -7,7 +7,7 @@ on:
- master
jobs:
run_all_sets:
check_sets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -16,4 +16,4 @@ jobs:
php-version: 7.4
coverage: none # disable xdebug, pcov
- run: composer install --no-progress
- run: bin/rector validate-sets
- run: bin/rector validate-sets --ansi

View File

@ -1,5 +0,0 @@
<?php
declare(strict_types=1);
require __DIR__ . '/../vendor/autoload.php';

View File

@ -233,19 +233,16 @@
"scripts": {
"complete-check": [
"@check-cs",
"@check-fixtures",
"@check-services",
"bin/rector validate-fixtures --ansi",
"bin/rector validate-services-in-sets --ansi",
"bin/rector validate-sets --ansi",
"phpunit",
"@phpstan",
"@docs",
"bin/rector sync-types",
"bin/rector check-static-type-mappers",
"@check-sets"
"bin/rector check-static-type-mappers"
],
"check-sets": "bin/rector validate-sets --ansi",
"check-cs": "vendor/bin/ecs check --ansi",
"check-fixtures": "bin/rector validate-fixture --ansi",
"check-services": "bin/rector validate-services-in-sets --ansi",
"fix-cs": [
"vendor/bin/ecs check --fix --ansi",
"ci/clean_trailing_spaces.sh"

View File

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