1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 13:51:54 +01:00

Fix syntax check failures

They were caused by installing packages with `--ignore-platform-reqs`
which brought PHP 8.1 autoloaded packages and caused fatal errors when
running php-parallel-lint. Instead of ignoring platform requirements we
now remove packages that are incompatible with PHP 7.1 (phpunit and its
dependents).
This commit is contained in:
Bruce Weirdan 2022-05-29 00:24:11 -04:00
parent 06d8e3e399
commit c3ea97949d
No known key found for this signature in database
GPG Key ID: CFC3AAB181751B0D

View File

@ -31,8 +31,11 @@ jobs:
restore-keys: |
${{ runner.os }}-composer-
- name: Drop incompatible packages
run: composer remove --no-interaction --dev phpunit/phpunit brianium/paratest psalm/plugin-phpunit weirdan/prophecy-shim
- name: Run composer install
run: composer install -o --ignore-platform-reqs
run: composer install -o
env:
COMPOSER_ROOT_VERSION: dev-master