Skip to content

Commit cb39b6b

Browse files
jrushlowweaverryan
authored andcommitted
skip cs related tests in PHP 8
1 parent f1093e9 commit cb39b6b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ jobs:
7979

8080
env:
8181
SYMFONY_SKELETON_STABILITY: ${{ matrix.symfony-skeleton-stability }}
82-
PHP_CS_FIXER_IGNORE_ENV: ${{ matrix.php-cs-fixer-ignore }}
8382

8483
strategy:
8584
matrix:
@@ -88,20 +87,16 @@ jobs:
8887
- '7.2'
8988
- '7.3'
9089
- '7.4'
91-
php-cs-fixer-ignore:
92-
- 'false'
9390
symfony-skeleton-stability:
9491
- 'stable'
9592
allow-failures: [false]
9693
include:
9794
- php-version: '7.4'
9895
symfony-skeleton-stability: 'dev'
9996
allow-failures: true
100-
php-cs-fixer-ignore: false
10197
- php-version: '8.0'
10298
symfony-skeleton-stability: 'dev'
10399
allow-failures: true
104-
php-cs-fixer-ignore: true
105100

106101
steps:
107102
- name: "Checkout code"

src/Test/MakerTestCase.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ protected function executeMakerCommand(MakerTestDetails $testDetails)
5252
foreach ($files as $file) {
5353
$this->assertTrue($testEnv->fileExists($file), sprintf('The file "%s" does not exist after generation', $file));
5454

55+
if (\PHP_VERSION_ID >= 80000) {
56+
continue;
57+
}
58+
5559
if ('.php' === substr($file, -4)) {
5660
$csProcess = $testEnv->runPhpCSFixer($file);
5761

0 commit comments

Comments
 (0)