File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 66 - 7.2
77 - 7.3
88 - 7.4
9+ # Should be changed to 8.0 once travis officially provides that label.
10+ - nightly
911
1012env :
1113 - VALIDATION=false
@@ -28,7 +30,12 @@ cache:
2830
2931before_script :
3032 - if [[ $STATIC_ANALYSIS = true ]]; then composer require phpstan/phpstan --no-update; fi
31- - composer install
33+ - |
34+ if php -r 'exit(PHP_MAJOR_VERSION < 8 ? 0 : 1);';
35+ then composer install
36+ else
37+ composer install --ignore-platform-reqs
38+ fi
3239 - set -e # Stop on first error.
3340 - phpenv config-rm xdebug.ini || true
3441 - if find . -name "*.php" -path "./src/*" -path "./experiments/*" -path "./tools/*" -path "./syntax-visualizer/server/src/*" -exec php -l {} 2>&1 \; | grep "syntax error, unexpected"; then exit 1; fi
You can’t perform that action at this time.
0 commit comments