1
0
mirror of https://github.com/php/doc-en.git synced 2026-04-26 08:48:10 +02:00
Commit Graph

231 Commits

Author SHA1 Message Date
Máté Kocsis adf11d8d64 Revert "Add documentation for default constructors - part 1 (#2089)" (#2121) 2022-12-28 08:50:09 +01:00
Máté Kocsis 0510540984 Add documentation for default constructors - part 1 (#2089)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-12-19 21:40:26 +01:00
Máté Kocsis 476ab39857 Update ext/zip role attributes (#1974) 2022-12-11 20:25:17 +01:00
Christoph M. Becker 0ba0922e90 Fix GH-2050: PHP 8.2.0 Windows is missing the Zip extension 2022-12-09 14:57:36 +01:00
Lars Moelleken 12f917c3af ZipArchive::open(): bool|int
* ZipArchive::open(): bool|int

- https://github.com/JetBrains/phpstorm-stubs/pull/1499
- https://github.com/php/php-src/blob/ca8247654c1e324d412bb6f40ef14fb506487983/ext/zip/php_zip.c#L1454-L1471

Closes GH-2035.
2022-12-01 12:08:16 +01:00
Máté Kocsis d6aee4a500 Sync a few manual pages with the stubs (#1936) 2022-11-04 13:30:04 +01:00
Christoph M. Becker 9c63d28120 Link to compression streams from ZipArchive::getStream() 2022-08-15 15:36:29 +02:00
Remi Collet d6ac0dd312 ZipArchive::close deletes file if empty (#1628) 2022-06-15 15:50:03 +02:00
Christoph M. Becker a3eab3abd6 ZipArchive::getExternalAttributesIndex(): use canonical capitalization 2022-05-10 20:14:06 +02:00
Martin Rehberger c1da6cc7c2 Fix type for index in ZipArchive::replaceFile()
Closes GH-1563.
2022-05-02 14:31:28 +02:00
Máté Kocsis 8244b3b053 Generate ext/zip class synopses from stubs
Closes GH-1066.
2021-12-15 19:56:59 +01:00
Kamil Tekiela 994aa2b092 [skip-revcheck] Grammar 2021-10-12 21:32:54 +01:00
Yoshinari Takaoka ae11a26c5b typo, part II. 2021-10-13 00:17:43 +09:00
Remi Collet b05a34e65d typo 2021-10-12 15:00:46 +02:00
Remi Collet f57925eef0 Add new methods from version 1.20.0
- ZipArchive::clearError()
- ZipArchive::getStreamName($name, $flags=0)
- ZipArchive::getStreamIndex($index, $flags=0)
2021-10-12 14:58:03 +02:00
Christoph M. Becker 5e1a9062c0 Fix #81488: ext/zip doesn't extract files with special names 2021-10-04 15:24:53 +02:00
Máté Kocsis 7f99d5e488 Remove some unnecessary methodsynopsis role attributes (#913) 2021-09-14 14:37:29 +02:00
Sergey Panteleev eec6a4a36b Remove PHP 5, 7 references (#564)
- zookeeper
- zlib
- zip
- yaf
- uopz
- uodbc
- openssl
- funchand
2021-06-04 09:13:56 +03:00
Máté Kocsis 5770355a66 Various methodsynopsis updates based on recent stub changes
* Update ext/zip methodsynopses based on stubs
* Update resource-related ext/standard methodsynopses based on stubs
* Update ext/dom methodsynopses based on stubs
* Update ext/ffi methodsynopses based on stubs
* Update ext/fileinfo methodsynopses based on stubs
* Update ext/soap methodsynopses based on stubs
* Update ext/sodium methodsynopses based on stubs
* Update ext/ldap methodsynopses based on stubs

Closes GH-598.
2021-05-22 15:24:20 +02:00
Kim Hallberg 289efd69f9 Fix notes section being in wrong order for reference/zip (#568) 2021-04-30 15:52:17 +02:00
Sergey Panteleev aab33d6443 Removed references to PHP 5, PHP 7.0 (#544) 2021-04-23 11:35:26 +03:00
Christoph M. Becker 845a3263f0 Remove obsolete versions.xml entries
These methods have long been removed from PECL/zip, and apparently
never made it to ext/zip.
2021-01-17 15:39:59 +01:00
Yoshinari Takaoka ed78b6690b Added PHP 8 into versions.xml for zip based on stubs.
Closes GH-345.
2021-01-17 15:38:28 +01:00
George Peter Banyard d24e819ef1 Fix docs after stubs fix in php-src 2021-01-08 22:36:52 +00:00
Christoph M. Becker e727888942 The procedural Zip API is deprecated as of PHP 8.0.0 2021-01-02 13:08:29 +01:00
Máté Kocsis c0a030bf35 Generate zip methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-302.
2021-01-02 12:16:20 +01:00
Christoph Michael Becker d9466fcf93 Fix #80526: Typo in the example
Closes GH-280.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352117 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-17 13:18:46 +00:00
Christoph Michael Becker e41806c30b Revert revision(s) 351724 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker 4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana 69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Jakub Vrana c80da7c04a Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
Christoph Michael Becker 988d0167dc Fix #80318: The $method property of ZipArchive::setEncryptionIndex type should be int
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351247 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 22:50:51 +00:00
Christoph Michael Becker b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker 86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker c6b9dbcba6 Fix the return value of \zip_open()
zip_open() can also return false [0].

[0] https://github.com/php/php-src/blob/php-7.4.4/ext/zip/php_zip.c#L1160

Based on a patch contributed by Thomas Gerbet <thomas.gerbet@enalean.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351062 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-29 18:32:31 +00:00
Christoph Michael Becker 3f1917852e Fix #80292: Incorrect use of code in manual's example codes
While not really a bug, that line is misleading.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351027 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-28 13:10:39 +00:00
Remi Collet 002b7dd50a fix parameters name to match reflection one as it matters with 8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350617 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-23 07:41:40 +00:00
Remi Collet 462e369806 fix parameters name to match reflection one as it matters with 8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350616 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-23 07:40:44 +00:00
George Peter Banyard a1b24d4e73 See also section should be the last section.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350552 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-12 17:23:15 +00:00
Remi Collet e5d37ea6a0 add ZipArchive::CM_ZSTD constant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350185 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-21 13:06:39 +00:00
Remi Collet 69795fb4c7 document zip procedural API as deprecated in 8.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350175 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-20 10:26:13 +00:00
Christoph Michael Becker 6318fc9e8b Mark ZipArchive methods as public
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350084 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-25 20:44:07 +00:00
Remi Collet ed67344bbd new constant in zip 1.19.0 / php 8.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350037 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-15 14:03:21 +00:00
Yoshinari Takaoka 520d8f432f set svn properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350012 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-05 19:23:51 +00:00
Remi Collet e80d8de42c new method in zip 1.19.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350010 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-05 15:22:10 +00:00
Christoph Michael Becker ba38a95b6a Fix other typos
Detected by codespell

Patch provided by tandre@php.net.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349710 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-27 06:53:54 +00:00
Christoph Michael Becker aebf045bfb Fix miscellaneous typos
Detected by codespell

Patch provided by tandre@php.net.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349708 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-27 06:43:55 +00:00
Christoph Michael Becker f5c5171d6f Fix #79418: configure --enable-zip results in failure
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349534 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-27 16:32:30 +00:00
Remi Collet 0ba5122adc ZipArchive::open comment about empty file not valid any more
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349502 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-20 13:45:41 +00:00
Remi Collet 2d40b914f5 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349496 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-19 06:58:50 +00:00