Skip to content

Commit

Permalink
Update to PHP 8 (#4)
Browse files Browse the repository at this point in the history
* Update to PHP 8

Co-authored-by: Christian Marx <cmarx@fintecsystems.com>
  • Loading branch information
christianmarx and Christian Marx committed Nov 17, 2021
1 parent 6141ea8 commit 28e5991
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Expand Up @@ -13,19 +13,19 @@ llanguage: php
fast_finish: true
include:
# Minimum supported dependencies with the latest and oldest PHP version
- php: 7.3
- php: 8.0
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
- php: 7.1
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"

# Test the latest stable release
- php: 7.1
- php: 7.2
- php: 7.3
- php: 8.0
env: COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text"

# Latest commit to master
- php: 7.3
# Latest commit to master.
- php: 8.0
env: STABILITY="dev"

allow_failures:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -12,12 +12,12 @@
}
],
"require": {
"php": "^7.1",
"php": "^7.1 || ^8",
"php-http/httplug": "^2.0",
"guzzlehttp/psr7": "^1.3"
},
"require-dev": {
"phpunit/phpunit": "^7.5 || ^8.2",
"phpunit/phpunit": "^7.5 || ^8.2 || ^9.5",
"php-http/mock-client": "^1.3.0",
"symfony/var-dumper": "^4.3"
},
Expand Down

0 comments on commit 28e5991

Please sign in to comment.