Skip to content

Commit

Permalink
Fix syntax check failures
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
weirdan committed May 29, 2022
1 parent 06d8e3e commit c3ea979
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c3ea979

Please sign in to comment.