File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1313 - ubuntu-20.04
1414 - windows-2019
1515 php :
16+ - 8.0
1617 - 7.4
1718 - 7.3
1819 - 7.2
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ $ composer require clue/zlib-react:^1.0
187187See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
188188
189189This project aims to run on any platform and thus does not require any PHP
190- extensions besides ` ext-zlib ` and supports running on current PHP 7 +.
190+ extensions besides ` ext-zlib ` and supports running on PHP 7 through current PHP 8 +.
191191
192192The ` ext-zlib ` extension is required for handling the underlying data compression
193193and decompression.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class CompressorTest extends TestCase
88{
99 public function testCtorThrowsForInvalidEncoding ()
1010 {
11- $ this ->expectException (' InvalidArgumentException ' );
11+ $ this ->expectException (PHP_VERSION_ID >= 80000 ? \ValueError::class : \ InvalidArgumentException::class );
1212 new Compressor (0 );
1313 }
1414}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class DecompressorTest extends TestCase
88{
99 public function testCtorThrowsForInvalidEncoding ()
1010 {
11- $ this ->expectException (' InvalidArgumentException ' );
11+ $ this ->expectException (PHP_VERSION_ID >= 80000 ? \ValueError::class : \ InvalidArgumentException::class );
1212 new Decompressor (0 );
1313 }
1414}
You can’t perform that action at this time.
0 commit comments