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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user