Skip to content

Commit d8dd72f

Browse files
committed
The ZipArchive::FL_RECOMPRESS constant is deprecated
1 parent 864c307 commit d8dd72f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ext/zip/php_zip.stub.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,15 @@ class ZipArchive implements Countable
114114
* @cvalue ZIP_FL_UNCHANGED
115115
*/
116116
public const FL_UNCHANGED = UNKNOWN;
117+
/* deprecated in libzip 1.10.0 */
118+
#ifdef ZIP_FL_RECOMPRESS
117119
/**
118120
* @var int
119121
* @cvalue ZIP_FL_RECOMPRESS
122+
* @deprecated
120123
*/
121124
public const FL_RECOMPRESS = UNKNOWN;
125+
#endif
122126
/**
123127
* @var int
124128
* @cvalue ZIP_FL_ENCRYPTED

ext/zip/php_zip_arginfo.h

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)