Skip to content

Commit

Permalink
Update stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
phpstan-bot committed Sep 20, 2024
1 parent 32a2892 commit 289a108
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions stubs/ext/zip/ZipArchive.php
Original file line number Diff line number Diff line change
Expand Up @@ -1602,6 +1602,14 @@ public static function isEncryptionMethodSupported(int $method, bool $enc = true
#[\Since('8.3')]
public const int ER_NOT_ALLOWED = UNKNOWN;
#endif
#ifdef ZIP_ER_TRUNCATED_ZIP
/**
* Possibly truncated or corrupted zip archive
* @cvalue ZIP_ER_TRUNCATED_ZIP
*/
#[\Since('8.4')]
public const int ER_TRUNCATED_ZIP = UNKNOWN;
#endif
#ifdef ZIP_AFL_RDONLY
/**
* read only -- cannot be cleared
Expand Down

0 comments on commit 289a108

Please sign in to comment.