Skip to content

Commit

Permalink
Try fixing phpstan-doctrine build in test-extension.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 4, 2022
1 parent 8a4b6b2 commit 5862ab2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e/test-extension.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ if [[ "$PHP_VERSION" == "7.1" || "$PHP_VERSION" == "7.2" ]]; then

if [[ "$1" == "phpstan-mockery" ]]; then
composer require --dev phpunit/phpunit:'^7.5.20' mockery/mockery:^1.3 --update-with-dependencies
elif [[ "$1" == "phpstan-doctrine" ]]; then
composer require --dev phpunit/phpunit:'^7.5.20' doctrine/orm:^2.7.5 doctrine/lexer:^1.0 --no-update --update-with-dependencies
else
composer require --dev phpunit/phpunit:'^7.5.20' --update-with-dependencies
fi;
Expand Down

0 comments on commit 5862ab2

Please sign in to comment.