Skip to content

Commit

Permalink
Symfony 5 support. (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-1-anderson committed May 28, 2020
1 parent 1827707 commit d8c0791
Show file tree
Hide file tree
Showing 8 changed files with 1,159 additions and 838 deletions.
14 changes: 9 additions & 5 deletions .scenarios.lock/install
Expand Up @@ -4,16 +4,16 @@ SCENARIO=$1
DEPENDENCIES=${2-install}

# Convert the aliases 'highest', 'lowest' and 'lock' to
# the corresponding composer command to run.
# the corresponding composer update command to run.
case $DEPENDENCIES in
highest)
DEPENDENCIES=update
UPDATE_COMMAND=update
;;
lowest)
DEPENDENCIES='update --prefer-lowest'
UPDATE_COMMAND='update --prefer-lowest'
;;
lock|default|"")
DEPENDENCIES=install
UPDATE_COMMAND=''
;;
esac

Expand Down Expand Up @@ -48,7 +48,11 @@ echo
set -ex

composer -n validate --working-dir=$dir --no-check-all --ansi
composer -n --working-dir=$dir ${DEPENDENCIES} --prefer-dist --no-scripts

if [ ! -z "$UPDATE_COMMAND" ] ; then
composer -n --working-dir=$dir ${UPDATE_COMMAND} --prefer-dist --no-scripts
fi
composer -n --working-dir=$dir install --prefer-dist

# If called from a CI context, print out some extra information about
# what we just installed.
Expand Down
7 changes: 3 additions & 4 deletions .scenarios.lock/phpunit5/composer.json
Expand Up @@ -24,13 +24,12 @@
},
"require": {
"php": ">=5.5.0",
"consolidation/config": "^1.2.1"
"consolidation/config": "^1.2.1|^2"
},
"require-dev": {
"phpunit/phpunit": "^5.7.27",
"symfony/yaml": "~2.3|^3",
"consolidation/Robo": "^1.2.3",
"symfony/console": "^2.8|^3|^4",
"symfony/yaml": "~2.3|^3|^4.4|^5",
"consolidation/robo": "^1.2.3|^2",
"knplabs/github-api": "^2.7",
"php-http/guzzle6-adapter": "^1.1",
"g1a/composer-test-scenarios": "^3",
Expand Down

0 comments on commit d8c0791

Please sign in to comment.