Skip to content

Commit

Permalink
Symfony 4 (#48)
Browse files Browse the repository at this point in the history
* Reduce supported PHP versions to 7.1+, and support Symfony 4+ only. Use older versions for Symfony 2 and 3.

* Document versions / branches

* Update composer test scenarios.

* Update lowest version constraints

* More 'lowest' pinning

* fromShellCommandline is no longer needed

* Make function prototypes match base class more closely
  • Loading branch information
greg-1-anderson authored Sep 13, 2019
1 parent 9bb56cc commit ef52f6d
Show file tree
Hide file tree
Showing 10 changed files with 464 additions and 4,231 deletions.
14 changes: 9 additions & 5 deletions .scenarios.lock/install
Original file line number Diff line number Diff line change
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
1 change: 0 additions & 1 deletion .scenarios.lock/phpunit5/.gitignore

This file was deleted.

76 changes: 0 additions & 76 deletions .scenarios.lock/phpunit5/composer.json

This file was deleted.

Loading

0 comments on commit ef52f6d

Please sign in to comment.