Skip to content

Commit

Permalink
The ZipArchive::FL_RECOMPRESS constant is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Jun 28, 2023
1 parent 864c307 commit d8dd72f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ext/zip/php_zip.stub.php
Expand Up @@ -114,11 +114,15 @@ class ZipArchive implements Countable
* @cvalue ZIP_FL_UNCHANGED
*/
public const FL_UNCHANGED = UNKNOWN;
/* deprecated in libzip 1.10.0 */
#ifdef ZIP_FL_RECOMPRESS
/**
* @var int
* @cvalue ZIP_FL_RECOMPRESS
* @deprecated
*/
public const FL_RECOMPRESS = UNKNOWN;
#endif
/**
* @var int
* @cvalue ZIP_FL_ENCRYPTED
Expand Down
6 changes: 4 additions & 2 deletions ext/zip/php_zip_arginfo.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit d8dd72f

@lazerg
Copy link

@lazerg lazerg commented on d8dd72f Jun 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great

Please sign in to comment.