1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-08-06 07:27:23 +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

@@ -36,13 +36,13 @@ class ZipStreamOpenTest extends TestCase
}
if ($exceptionClass !== null) {
$this->setExpectedException(
$this->expectException(
$exceptionClass,
$exceptionMessage
);
}
static::assertInternalType('resource', $resource);
static::assertIsResource($resource);
$zipFile = new ZipFile();
$zipFile->openFromStream($resource);