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 25, 2020
1 parent ddabe5f commit 51bdf8c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 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
21 changes: 16 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
{
"name": "sunrise/stream",
"description": "Simple Stream wrapper for PHP 7.1+ based on PSR-7 & PSR-17",
"keywords": ["fenric", "sunrise", "stream", "psr-7", "psr-17"],
"homepage": "https://github.com/sunrise-php/stream",
"description": "Simple Stream wrapper for PHP 7.1+ based on PSR-7 & PSR-17",
"license": "MIT",
"keywords": [
"fenric",
"sunrise",
"http",
"stream",
"psr-7",
"psr-17",
"php7",
"php8"
],
"authors": [
{
"name": "Anatoly Fenric",
Expand All @@ -17,12 +26,13 @@
}
],
"require": {
"php": ">=7.1",
"php": "^7.1|^8.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0"
},
"require-dev": {
"phpunit/phpunit": ">=7.5.6"
"phpunit/phpunit": ">=7.5.6",
"sunrise/coding-standard": "1.0.0"
},
"provide": {
"psr/http-message-implementation": "1.0"
Expand All @@ -34,7 +44,8 @@
},
"scripts": {
"test": [
"phpunit --colors=always --coverage-text"
"phpunit --colors=always --coverage-text",
"phpcs"
]
}
}

0 comments on commit 51bdf8c

Please sign in to comment.