1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-08-13 02:37:19 +02:00
This commit is contained in:
Ne-Lexa
2021-12-12 12:50:30 +03:00
parent 83dd71e602
commit bfff5f475a
25 changed files with 336 additions and 323 deletions

View File

@@ -380,7 +380,7 @@ class ZipEntryTest extends TestCase
{
return [
[-1],
[0xff + 1],
[0xFF + 1],
];
}
@@ -808,7 +808,7 @@ class ZipEntryTest extends TestCase
{
return [
[-1],
[0xffffffff + 1],
[0xFFFFFFFF + 1],
];
}
@@ -951,7 +951,7 @@ class ZipEntryTest extends TestCase
{
return [
[-1],
[0xffffffff + 1],
[0xFFFFFFFF + 1],
];
}
@@ -980,7 +980,7 @@ class ZipEntryTest extends TestCase
{
return [
[-1],
[0xffff + 1],
[0xFFFF + 1],
];
}
@@ -1066,7 +1066,7 @@ class ZipEntryTest extends TestCase
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessage('Comment too long');
$longComment = random_bytes(0xffff + 1);
$longComment = random_bytes(0xFFFF + 1);
$zipEntry = new ZipEntry('entry');
$zipEntry->setComment($longComment);
}