Skip to content

Commit

Permalink
Try fixing phpstan-doctrine build
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 4, 2022
1 parent 9fcac3f commit 6911224
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/extension-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ jobs:
ini-values: memory_limit=384M
extensions: soap

- name: "Downgrade PHPUnit"
if: matrix.extension-name == 'phpstan-doctrine' && (matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3')
run: "composer require --dev phpunit/phpunit:^7.5.20 --no-update --update-with-dependencies"

- name: "Downgrade Doctrine ORM"
if: matrix.extension-name == 'phpstan-doctrine' && (matrix.php-version == '7.1')
run: "composer require --dev doctrine/orm:^2.7.5 doctrine/lexer:^1.0 --no-update --update-with-dependencies"

- name: "Install dependencies"
run: "composer update --no-interaction --no-progress --ignore-platform-reqs"

Expand Down

0 comments on commit 6911224

Please sign in to comment.