Skip to content

Commit

Permalink
Update dependencies for 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zbateson committed Mar 18, 2024
1 parent cf9ff87 commit f41556e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.2, 8.1, 8.0, 7.4, 7.3, 7.2]
php: [8.3, 8.2, 8.1, 8.0]
stability: [prefer-stable]

name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,19 @@ To include it for use in your project, please install via composer:
composer require zbateson/stream-decorators
```

## Php 7 Support Dropped

As of stream-decorators 2.0, support for php 7 has been dropped.

## Requirements

StreamDecorators requires PHP 7.2 or newer. Tested on PHP 7.2, 7.3, 7.4, 8.0, 8.1 and 8.2.
stream-decorators requires PHP 8.0 or newer. Tested on 8.0, 8.1, 8.2 and 8.3.

## New in 2.0

Support for guzzlehttp/psr7 1.9 dropped, min supported version is 2.0.

zbateson/mb-wrapper has been updated to 2.0 as well, which throws an UnsupportedCharsetException converting from/to an unsupported charset, which changes the behaviour of CharsetStream.

## Usage

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
}
],
"require": {
"php": ">=7.2",
"guzzlehttp/psr7": "^1.9 | ^2.0",
"zbateson/mb-wrapper": "^1.0.0"
"php": ">=8.0",
"guzzlehttp/psr7": "^2.0",
"zbateson/mb-wrapper": "^2.0"
},
"require-dev": {
"phpunit/phpunit": "<10.0",
Expand Down

0 comments on commit f41556e

Please sign in to comment.