Skip to content

Commit 289a108

Browse files
committed
Update stubs
1 parent 32a2892 commit 289a108

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

stubs/ext/zip/ZipArchive.php

+8
Original file line numberDiff line numberDiff line change
@@ -1602,6 +1602,14 @@ public static function isEncryptionMethodSupported(int $method, bool $enc = true
16021602
#[\Since('8.3')]
16031603
public const int ER_NOT_ALLOWED = UNKNOWN;
16041604
#endif
1605+
#ifdef ZIP_ER_TRUNCATED_ZIP
1606+
/**
1607+
* Possibly truncated or corrupted zip archive
1608+
* @cvalue ZIP_ER_TRUNCATED_ZIP
1609+
*/
1610+
#[\Since('8.4')]
1611+
public const int ER_TRUNCATED_ZIP = UNKNOWN;
1612+
#endif
16051613
#ifdef ZIP_AFL_RDONLY
16061614
/**
16071615
* read only -- cannot be cleared

0 commit comments

Comments
 (0)