Sync Docker and composer PHP versions in new projects (#190)
This commit is contained in:
parent
1364979af6
commit
aba3961ff2
@ -21,6 +21,7 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
|
||||
composer create-project "$SKELETON $SYMFONY_VERSION" tmp --stability="$STABILITY" --prefer-dist --no-progress --no-interaction --no-install
|
||||
|
||||
cd tmp
|
||||
composer require "php:>=$PHP_VERSION"
|
||||
composer config --json extra.symfony.docker 'true'
|
||||
cp -Rp . ..
|
||||
cd -
|
||||
|
Loading…
x
Reference in New Issue
Block a user