Skip to content

Commit d430c57

Browse files
committed
Fix: PHP 8 build.
1 parent 4a3a2e9 commit d430c57

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979

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

8384
strategy:
8485
matrix:
@@ -87,16 +88,20 @@ jobs:
8788
- '7.2.5'
8889
- '7.3'
8990
- '7.4'
91+
php-cs-fixer-ignore:
92+
- 'false'
9093
symfony-skeleton-stability:
9194
- 'stable'
9295
allow-failures: [false]
9396
include:
9497
- php-version: '7.4'
9598
symfony-skeleton-stability: 'dev'
9699
allow-failures: true
100+
php-cs-fixer-ignore: false
97101
- php-version: '8.0'
98102
symfony-skeleton-stability: 'dev'
99103
allow-failures: true
104+
php-cs-fixer-ignore: true
100105

101106
steps:
102107
- name: "Checkout code"
@@ -143,7 +148,7 @@ jobs:
143148
run: composer update
144149

145150
- if: matrix.php-version == '8.0'
146-
run: composer update --ignore-platform-reqs
151+
run: composer update --ignore-platform-req=php
147152

148153
- name: "Install PHPUnit"
149154
run: vendor/bin/simple-phpunit install

0 commit comments

Comments
 (0)