Skip to content

Commit

Permalink
fix: composer install vs composer upgrade (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarlovi authored Sep 30, 2022
1 parent 09ae08d commit aedc23a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resources/PHP/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ endif
sh/php: ${HOME}/.composer var/phpqa composer.lock ## Run PHP shell
sh -c "${PHPQA_DOCKER_COMMAND} sh"

composer/install: ${HOME}/.composer var/phpqa
composer/install: composer/install-highest
composer/install-highest: ${HOME}/.composer var/phpqa
sh -c "${PHPQA_DOCKER_COMMAND} composer install"
composer/install-lowest: ${HOME}/.composer var/phpqa
sh -c "${PHPQA_DOCKER_COMMAND} composer install --prefer-lowest"
sh -c "${PHPQA_DOCKER_COMMAND} composer upgrade --prefer-lowest"

composer/validate: ${HOME}/.composer var/phpqa composer.lock
sh -c "${PHPQA_DOCKER_COMMAND} composer validate --no-interaction"
Expand Down

0 comments on commit aedc23a

Please sign in to comment.