diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89c2e28eb..09a4c28ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,7 +79,6 @@ jobs: env: SYMFONY_SKELETON_STABILITY: ${{ matrix.symfony-skeleton-stability }} - PHP_CS_FIXER_IGNORE_ENV: ${{ matrix.php-cs-fixer-ignore }} strategy: matrix: @@ -88,8 +87,6 @@ jobs: - '7.2' - '7.3' - '7.4' - php-cs-fixer-ignore: - - 'false' symfony-skeleton-stability: - 'stable' allow-failures: [false] @@ -97,11 +94,9 @@ jobs: - php-version: '7.4' symfony-skeleton-stability: 'dev' allow-failures: true - php-cs-fixer-ignore: false - php-version: '8.0' symfony-skeleton-stability: 'dev' allow-failures: true - php-cs-fixer-ignore: true steps: - name: "Checkout code" diff --git a/src/Test/MakerTestCase.php b/src/Test/MakerTestCase.php index be541ecec..545bfba04 100644 --- a/src/Test/MakerTestCase.php +++ b/src/Test/MakerTestCase.php @@ -52,6 +52,10 @@ protected function executeMakerCommand(MakerTestDetails $testDetails) foreach ($files as $file) { $this->assertTrue($testEnv->fileExists($file), sprintf('The file "%s" does not exist after generation', $file)); + if (\PHP_VERSION_ID >= 80000) { + continue; + } + if ('.php' === substr($file, -4)) { $csProcess = $testEnv->runPhpCSFixer($file);