Skip to content

Commit

Permalink
Another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 4, 2022
1 parent 5862ab2 commit 99bff70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/test-extension.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ git clone https://github.com/phpstan/$1.git extension
cd extension

if [[ "$PHP_VERSION" == "7.1" || "$PHP_VERSION" == "7.2" ]]; then
composer install --no-interaction

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;

composer install --no-interaction
else
composer install
composer install --no-interaction
fi;

cp ../phpstan.phar vendor/phpstan/phpstan/phpstan.phar
Expand Down

0 comments on commit 99bff70

Please sign in to comment.