Skip to content

Commit

Permalink
Allow installation on PHP 8.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Aug 14, 2020
1 parent bc1be0e commit adcf8ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ matrix:
- php: 7.4
env:
- DEPS=latest
- php: 'nightly'
env:
- DEPS=latest

before_install:
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
- if [[ $TEST_COVERAGE != 'true' && $TRAVIS_PHP_VERSION != 'nightly' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi

install:
- travis_retry composer install $COMPOSER_ARGS
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
}
},
"require": {
"php": "^7.1",
"php": "^7.1 || ^8.0",
"laminas/laminas-zendframework-bridge": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0"
Expand Down

0 comments on commit adcf8ab

Please sign in to comment.