File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,11 @@ jobs:
100100 # PHPCS is only compatible with PHP 7.4 as of version 3.5.0.
101101 - php : 7.4
102102 env : PHPCS_VERSION="3.5.0"
103+ - php : 8.0
104+ env : PHPCS_VERSION="dev-master" LINT=1
105+ # PHPCS is only compatible with PHP 8.0 as of version 3.5.7.
106+ - php : 8.0
107+ env : PHPCS_VERSION="3.5.7"
103108
104109 # PHP 5.4/5.5 need trusty.
105110 - php : 5.5
@@ -146,8 +151,8 @@ before_install:
146151 # --prefer-dist will allow for optimal use of the travis caching ability.
147152 # The Composer PHPCS plugin takes care of setting the installed_paths for PHPCS.
148153 - |
149- if [[ $TRAVIS_PHP_VERSION == "nightly" ]]; then
150- # Not all dependencies allow for installing on nightly yet , so ignore platform requirements.
154+ if [[ $TRAVIS_PHP_VERSION == "nightly" || $TRAVIS_PHP_VERSION == "8.0" ]]; then
155+ # Not all dependencies allow for installing on PHP 8.0+ , so ignore platform requirements.
151156 travis_retry composer install --prefer-dist --no-suggest --ignore-platform-reqs
152157 else
153158 travis_retry composer install --prefer-dist --no-suggest
You can’t perform that action at this time.
0 commit comments