1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-08-04 14:37:24 +02:00

Add PHP 8 support

This commit is contained in:
Daniel Opitz
2021-01-09 18:16:56 +01:00
parent 501b52f6fc
commit 4ecb0c4ee6
23 changed files with 239 additions and 144 deletions

View File

@@ -76,7 +76,7 @@ abstract class AbstractUnicodeExtraFieldTest extends TestCase
*/
public function testUnicodeErrorParse()
{
$this->setExpectedException(
$this->expectException(
ZipException::class,
'Unicode path extra data must have at least 5 bytes.'
);
@@ -90,7 +90,7 @@ abstract class AbstractUnicodeExtraFieldTest extends TestCase
*/
public function testUnknownVersionParse()
{
$this->setExpectedException(
$this->expectException(
ZipException::class,
'Unsupported version [2] for Unicode path extra data.'
);