Skip to content

Commit bb8059f

Browse files
author
Benoit POLASZEK
committed
chore: modify CI to handle PHP 8.5 platform requirements during dependency installation
1 parent fe563ee commit bb8059f

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
@@ -23,7 +23,12 @@ jobs:
2323
php-version: ${{ matrix.php }}
2424

2525
- name: Install dependencies
26-
run: composer install --prefer-dist --no-progress
26+
run: |
27+
if [[ "${{ matrix.php }}" == "8.5" ]]; then
28+
composer install --prefer-dist --no-progress --ignore-platform-req=php
29+
else
30+
composer install --prefer-dist --no-progress
31+
fi
2732
2833
- name: Check types
2934
run: vendor/bin/phpstan analyse

0 commit comments

Comments
 (0)