Skip to content

Commit d49b57d

Browse files
committed
Add workaround for Psalm and PHP 8.5
1 parent 0a6b7a6 commit d49b57d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,11 @@ jobs:
7979
key: "cache-composer-${{ hashFiles('composer.json') }}"
8080
restore-keys: 'cache-composer-'
8181
- name: Run composer
82+
if: ${{ matrix.php_version != '8.5' }}
8283
run: composer update ${{ matrix.dependencies_level }} --prefer-dist --no-interaction --no-progress
84+
- name: Run composer PHP 8.5 workaround
85+
if: ${{ matrix.php_version == '8.5' }}
86+
run: composer update ${{ matrix.dependencies_level }} --ignore-platform-reqs --prefer-dist --no-interaction --no-progress
8387
- name: Check composer.json
8488
run: composer normalize --dry-run
8589
- name: Run tests

0 commit comments

Comments
 (0)