Skip to content

Commit

Permalink
Updated composer to support PHP 8 (#60)
Browse files Browse the repository at this point in the history
Allow php8
  • Loading branch information
toooni authored Feb 3, 2021
1 parent a74c71e commit a434167
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ php:
- 7.2
- 7.3
- 7.4
- 8.0

matrix:
include:
Expand All @@ -32,3 +33,4 @@ script:
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- if [[ $TRAVIS_PHP_VERSION = '7.1' ]] ; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
- if [[ $TRAVIS_PHP_VERSION = '8.0' ]] ; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
"sort-packages": true
},
"require" : {
"php": "^7.1",
"php": "^7.1|^8.0",
"vimeo/psalm": "^3.14"
},
"require-dev" : {
"friendsofphp/php-cs-fixer": "^2.10",
"phpstan/phpstan": "^0.12",
"phpunit/phpunit": "^7.0|^8.0",
"sebastian/phpcpd": "^4.0"
"phpunit/phpunit": "^7.0|^8.0|^9.0",
"sebastian/phpcpd": "^4.0|^5.0|^6.0"
},
"autoload" : {
"psr-4" : {
Expand Down

0 comments on commit a434167

Please sign in to comment.