Skip to content

Commit

Permalink
allow Composer to run the symfony/flex plug-in
Browse files Browse the repository at this point in the history
  • Loading branch information
craue committed Jan 25, 2022
1 parent 42a4601 commit e486530
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ before_script:

script:
# validate composer.json
- if [ -n "${WITH_STATIC_ANALYSIS:-}" ]; then composer validate --strict --no-check-lock; fi;
- if [ -n "${WITH_STATIC_ANALYSIS:-}" ]; then composer --no-plugins validate --strict --no-check-lock; fi;
# run PHPStan
- if [ -n "${WITH_STATIC_ANALYSIS:-}" ]; then vendor/bin/phpstan analyse; fi;
# run PHPUnit
Expand Down
1 change: 1 addition & 0 deletions .travis_install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export COMPOSER_NO_INTERACTION=1
composer self-update

# install Symfony Flex
composer config allow-plugins.symfony/flex true
composer require --no-progress --no-scripts --no-plugins symfony/flex

case "${DEPS:-}" in
Expand Down

0 comments on commit e486530

Please sign in to comment.