Skip to content

Commit

Permalink
FIX: Clarify PHP version support
Browse files Browse the repository at this point in the history
Align with the test matrix by requiring at least
PHP 7.1. Add PHP 8 to the matrix since we’re
rolling it out across other Silverstripe packages.
  • Loading branch information
Sam Minnee authored and Garion Herman committed Oct 26, 2020
1 parent 8e8b369 commit f29fb9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ matrix:
- php: 7.4
env:
- COMPOSER_SELFUPDATE_ARG=--preview
- php: nightly
env:
- COMPOSER_ARG=--ignore-platform-reqs
- COMPOSER_SELFUPDATE_ARG=--preview

fast_finish: true

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
},
"require": {
"composer/installers": "^1.4",
"composer-plugin-api": "^1.1 || ^2"
"composer-plugin-api": "^1.1 || ^2",
"php": "^7.1 || ^8"
},
"require-dev": {
"composer/composer": "^1.5 || ^2@rc",
Expand Down

0 comments on commit f29fb9e

Please sign in to comment.