diff --git a/.travis.yml b/.travis.yml index e49f307..a5cf165 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ cache: before_install: - phpenv config-rm xdebug.ini || true - - composer self-update --2 # For Composer v2 for PHP 8 while it's not installed by default by Travis + - composer self-update --2 # Upgrade to Compose 2 (needed for PHP 8 support), only needed while it's not installed by default install: - composer require symfony/dependency-injection:${SYMFONY_VERSION} --no-update --no-scripts --prefer-dist diff --git a/composer.json b/composer.json index e34d6db..12bf568 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ } ], "require": { - "php": "^7.2 || ^8.0", + "php": "^7.2|^8.0", "behat/behat": "^3.6.1", "symfony/dependency-injection": "^4.4|^5.0", "symfony/http-kernel": "^4.4|^5.0",