Skip to content

Commit

Permalink
Merge pull request #175 from PHPCSStandards/feature/fix-compat-php-8
Browse files Browse the repository at this point in the history
Travis: require PHPUnit 9.3 for PHP 8
  • Loading branch information
jrfnl committed Jul 21, 2020
2 parents 8a62a0e + bb0a449 commit fc49241
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ install:
# The Composer PHPCS plugin takes care of setting the installed_paths for PHPCS.
- |
if [[ $TRAVIS_PHP_VERSION == "nightly" ]]; then
# Temporary fix - PHPUnit 9.3 is supposed to officially support PHP 8.
composer require --no-update phpunit/phpunit:"^9.3"
# PHPUnit 9.x does not (yet) allow for installation on PHP 8, so ignore platform
# requirements to get PHPUnit 9.x to install on nightly.
composer install --prefer-dist --no-suggest --ignore-platform-reqs
Expand Down

0 comments on commit fc49241

Please sign in to comment.