Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
php8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
fenric committed Dec 26, 2020
1 parent a592ca1 commit 2746bb9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ matrix:
- php: 7.1
- php: 7.2
- php: 7.3
- php: 7.4
- php: nightly
fast_finish: true

before_install:
Expand All @@ -13,4 +15,4 @@ before_install:
install:
- travis_retry composer install --no-interaction --prefer-source --no-suggest

script: vendor/bin/phpunit --colors=always --coverage-text
script: php vendor/bin/phpunit --colors=always --coverage-text
27 changes: 19 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
{
"name": "sunrise/http-server-request",
"description": "Sunrise HTTP Server Request wrapper for PHP 7.1+ based on PSR-7 & PSR-17",
"keywords": ["fenric", "sunrise", "http-server-request", "psr-7", "psr-17"],
"homepage": "https://github.com/sunrise-php/http-server-request",
"description": "Sunrise HTTP server request wrapper for PHP 7.1+ based on PSR-7 & PSR-17",
"license": "MIT",
"keywords": [
"fenric",
"sunrise",
"http",
"http-server-request",
"psr-7",
"psr-17",
"php7",
"php8"
],
"authors": [
{
"name": "Anatoly Fenric",
Expand All @@ -17,15 +26,16 @@
}
],
"require": {
"php": "^7.1",
"php": "^7.1|^8.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0",
"sunrise/http-message": "^1.0",
"sunrise/stream": "^1.0",
"sunrise/uri": "^1.0"
"sunrise/http-message": "^1.4",
"sunrise/stream": "^1.2",
"sunrise/uri": "^1.2"
},
"require-dev": {
"phpunit/phpunit": "7.5.6"
"phpunit/phpunit": "7.5.20|9.5.0",
"sunrise/coding-standard": "1.0.0"
},
"provide": {
"psr/http-message-implementation": "1.0"
Expand All @@ -45,7 +55,8 @@
},
"scripts": {
"test": [
"phpunit --colors=always --coverage-text"
"phpunit --colors=always --coverage-text",
"phpcs"
]
}
}

0 comments on commit 2746bb9

Please sign in to comment.