Skip to content

Commit

Permalink
Add support for PHP 8 (#25)
Browse files Browse the repository at this point in the history
This support is considered experimental for now, as PHP 8 is not
released yet.
  • Loading branch information
stof authored Jul 9, 2020
1 parent 2c79645 commit 5fb2493
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ php:
- 7.3
- 7.4

install: composer install
jobs:
include:
- php: nightly
env: COMPOSER_FLAGS='--ignore-platform-reqs'
allow_failures:
- php: nightly


install: composer update $COMPOSER_FLAGS

script: ./vendor/bin/phpunit --coverage-text
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.3",
"php": "^7.3 || ^8",
"phpspec/prophecy": "^1.3",
"phpunit/phpunit":"^9.1"
},
Expand Down

0 comments on commit 5fb2493

Please sign in to comment.