History log of /PHP-8.2/ext/zip/php_zip.stub.php (Results 1 – 25 of 37)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 148ac364 17-Jan-2023 Máté Kocsis

Customize the link of some constants in the manual

These changes are necessary because the links which are generated by default are already taken.

# e4f23769 26-Sep-2022 Máté Kocsis

Improve string class constant code generation (#9577)

Using strlen() will make sure that non-constant values can also be used.

# 946cdb8a 15-Sep-2022 Remi Collet

remove LIBZIP_VERSION constant def from stub

# 0c4c9fb9 16-Aug-2022 Máté Kocsis

Declare et/zip constants in stubs (#9146)

# 342e18f1 12-Jul-2022 Tim Düsterhus

Support the actual `#[\SensitiveParameter]` attribute in stubs (#8836)

# 1a4401d4 12-Apr-2022 Tim Düsterhus

Mark parameter in ext/zip as sensitive

# a13b94c5 02-May-2022 Remi Collet

Merge branch 'PHP-8.1'

* PHP-8.1:
Fix test XFAIL, update phar to use spl_autoload_register
bug: Fix type for $index in ZipArchive::replaceFile


# 0e9c7c16 02-May-2022 Remi Collet

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
bug: Fix type for $index in ZipArchive::replaceFile
Fix test XFAIL, update phar to use spl_autoload_register


# 389d1130 02-May-2022 Martin Rehberger

bug: Fix type for $index in ZipArchive::replaceFile

# dc4cfb1c 12-Oct-2021 Nikita Popov

Don't accept flags in ZipArchive::getStream()

Per discussion on https://github.com/php/php-src/commit/e489e2d3885c35a2a969d92bada5d42aac1bbec6
this method should not accept $flags, so un

Don't accept flags in ZipArchive::getStream()

Per discussion on https://github.com/php/php-src/commit/e489e2d3885c35a2a969d92bada5d42aac1bbec6
this method should not accept $flags, so un-alias it from
getStreamName().

show more ...

# e489e2d3 11-Oct-2021 Nikita Popov

Add missing $flags param to getStream()

This is an alias of getStreamName() but was missing the optional
$flags parameter.

# e9b96ae5 05-Oct-2021 Remi Collet

Add ZipArchive::clearError, getStreamIndex and getStreamName methods

public function clearError(): void {}
public function getStreamIndex(int $index, int $flags = 0) {}
p

Add ZipArchive::clearError, getStreamIndex and getStreamName methods

public function clearError(): void {}
public function getStreamIndex(int $index, int $flags = 0) {}
public function getStreamName(string $name, int $flags = 0) {}

ZipArchive::getStream is kept for BC

See https://github.com/pierrejoye/php_zip/issues/20

show more ...

# 172c2987 27-May-2021 Máté Kocsis

Declare tentative return types for ext/zip (#7053)

# b567a9d1 19-Apr-2021 Máté Kocsis

Use typed properties in ext/zip

Closes GH-6881

# 4c6533c2 17-Feb-2021 Máté Kocsis

Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend

Closes GH-6706

# 1954e597 26-Jan-2021 Máté Kocsis

Add support for generating class entries from stubs

Closes GH-6289

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

# f40838ea 08-Jan-2021 George Peter Banyard

Rename ``zip_ent`` parameter to ``zip_entry`` for consistency

All other functions use ``zip_entry``

# e470f9b3 02-Jan-2021 Christoph M. Becker

ZipArchive methods do not return NULL

Closes GH-6563.

# dafc72cb 23-Sep-2020 Remi Collet

for consistency use for all *Name methods

# de912821 16-Sep-2020 Máté Kocsis

Display string default values in stubs more uniformly

Settling on using quoted string

# c76910cd 16-Sep-2020 Máté Kocsis

Display types in stubs more uniformly

In preparation for generating method signatures for the manual.

This change gets rid of bogus false|null return types, a few unnecessary traili

Display types in stubs more uniformly

In preparation for generating method signatures for the manual.

This change gets rid of bogus false|null return types, a few unnecessary trailing backslashes, and settles on using ? when possible for nullable types.

show more ...

# 3e800e99 24-Aug-2020 Máté Kocsis

Move custom type checks to ZPP

Closes GH-6034

# 2803c8fb 07-Aug-2020 Máté Kocsis

Add all the missing parameter types to stubs

Closes GH-5955

# f3b1f342 20-Jun-2020 Máté Kocsis

Deprecate the procedural API of ext/zip

Closes GH-5746

# eae3bda9 05-Jun-2020 Remi Collet

encode param is optional

12