Commit Graph

53 Commits

Author SHA1 Message Date
Ivan Fedorov 24c80bebff [phpstorm-stubs] update for PHP 8.3 2023-08-28 14:41:18 +02:00
Ivan Fedorov 3f7da5dd5a [phpstorm-stubs] update php for test to 8.2 rc4 2022-10-18 11:34:37 +02:00
Ivan Fedorov 07aac05fbf Apply suggestions from code review
Co-authored-by: DmitryTronin <dmitry.tronin@jetbrains.com>
2022-10-17 11:21:37 +02:00
Ivan Fedorov 03b75cef27 Add ArrayShape attributes for functions 2022-10-17 11:21:37 +02:00
Ivan Fedorov 7a656c8c2d [phpstorm-stubs] update 8.2 to beta 3 2022-08-25 15:04:30 +02:00
DmitryTronin 3b14ae6313 Bulk changes based on https://github.com/JetBrains/phpstorm-stubs/pull/1411 2022-07-27 17:56:51 +02:00
Dmitry.Tronin 52ffa29e14 Added true return type via LanguageLevelTypeAware and other minor fixes 2022-07-21 15:17:52 +02:00
Ivan Fedorov 1867d29562 [phpstorm-stubs] add entities that added in php 8.2 2022-07-18 21:10:23 +02:00
Ivan Fedorov af045dfb25 [phpstorm-stubs] fix default values according to reflection 2022-01-20 12:50:21 +01:00
Ivan Fedorov 84f5b8021c update stubs after rebase on master 2021-08-14 20:08:16 +02:00
Ivan Fedorov 62fc06fdbd update stubs to php 8.1 2021-08-14 20:08:16 +02:00
Ivan Fedorov 07eaffbdc6 fix stubs for extensions 2021-08-14 20:08:16 +02:00
Ivan Fedorov 988eab1bc9 fix parameters for restored functions 2021-07-28 13:42:43 +02:00
Ivan Fedorov 2cd87268ec Update stubs to php 8.1 alpha2 2021-06-29 18:34:13 +03:00
Ivan Fedorov d067f1b72f batch update of all stubs with defined code style 2021-03-17 17:45:32 +03:00
Ivan Fedorov 53277234b3 update stubs to php 8.0.2 2021-02-12 16:22:23 +03:00
Ivan Fedorov da2db55ccc add test for optional parameters 2021-01-29 18:37:18 +03:00
Ivan Fedorov 8af4549f0b update sockets stubs according to reflection 2021-01-25 18:56:46 +03:00
Lars Moelleken a01b820aab add more type fixes 2020-12-21 17:43:34 +03:00
Lars Moelleken b7f660237f optimize "checkHtmlTags"-check + fix html tags 2020-12-14 12:15:52 +03:00
Lars Moelleken 5ae931dfeb fix some more broken html tags
-> PhpStorm can't render the phpdoc if there are too much broken html in the phpdoc. example: phpdoc from "snmp3_set"
2020-12-14 12:15:52 +03:00
Maxim.Kolmakov 805481d493 Revert function duplication
More granular approach is needed
2020-11-17 12:49:11 +01:00
Maxim.Kolmakov 1d6f06d38b Simplify annotation + fix wrong to values 2020-11-12 12:13:34 +01:00
Maxim.Kolmakov 7236db87f6 Unify quotes + fix to version 2020-11-12 12:13:34 +01:00
Maxim.Kolmakov daafd5b7c1 Add different signatures for 8.0 and before 2020-11-12 12:13:34 +01:00
andrey-sokolov 5543cc70f3
Phpdotnet docs validation (#947)
* Php stubs description validation (#890) parameters check and some description and return type fixes

Co-authored-by: Maxim.Kolmakov <maxim.kolmakov@jetbrains.com>
2020-11-03 17:06:54 +03:00
Maxim.Kolmakov 63e88cfe54 Fix backward compatibility with is_resource code 2020-10-20 11:25:13 +02:00
Maxim.Kolmakov 720fbcf9eb Amend visibility of constructor 2020-10-19 13:12:48 +02:00
Anatoly Pashin f441ac802d Add AddressInfo resource object 2020-10-19 12:02:10 +10:00
Anatoly Pashin 8b901c1a79 Add Socket resource object 2020-10-19 11:57:05 +10:00
Lars Moelleken 99c598ca53 use "&" for references
+ fix some return types
+ normalize the param phpdocs
+ normalize the "php.net" links (language "en" as default)
2020-08-23 01:03:37 +02:00
Peter Gribanov 16a0de7429 correct return value for PHP internal functions on failure 2020-06-24 22:15:36 +03:00
Jaroslav Hanslík c6ca067047 Added missing sockets functions and constants 2020-06-01 13:36:11 +03:00
Pierre Grimaud 152f419006
Fix typos 2020-04-26 17:12:34 +02:00
Maxim.Kolmakov b1041ca152 Cleanup @since tags with old versions <5.3 2020-01-22 18:26:13 +01:00
Ivan Fedorov 79f9860eea update since versions in core to make it major
seems that new features are being introduced only in major releases so it doesn't makes sense to display redundant .0 patch version in 'since' tag and more over such major version will allow to create matching between language level and since version in phpstorm and create appropriate inspection like it's done for 'deprecated' inspection
2019-10-31 12:29:32 +03:00
Svetlana Zemlyanskaya 263786eb01
Update stubs for PHP 7.2 (#662)
* WI-37330 Update stubs for PHP 7.2

https://github.com/php/php-src/blob/php-7.2.0beta1/UPGRADING
2019-10-01 11:37:10 +02:00
Maxim.Kolmakov 4bd6fa12c4 Enable all easy to install extensions + fix stubs according to new tests 2019-09-17 18:40:05 +02:00
Olga Strizhenko 84c7a76d28 Fix stub for socket_export_stream function - return false as well 2019-08-08 11:33:34 +02:00
Frago9876543210 8855458e66
Fixed stub for socket_export_stream function 2019-08-08 10:21:27 +03:00
Lars Moelleken ee38c94254 [+]: re-add some more fixes
-> found via https://github.com/voku/phpstorm-stubs/tree/return_type_fixes_v2
2019-07-04 22:10:34 +02:00
Artemy Pestretsov f161ec38d8
Merge pull request #625 from pestretsov/hand_picked_changes_from_pr_553
Add hand-picked changes from #553
2019-07-04 21:16:35 +03:00
Maxim.Kolmakov 2b4410c8c0 Get back accidentally removed constants 2019-06-27 12:01:47 +02:00
Artemy Pestretsov ea4d53c2d4 Add hand-picked changes from pr553 2019-06-26 15:26:31 +03:00
Maxim.Kolmakov 19e5e3211a Remove duplicated constants from general standard_defines.php 2019-06-25 19:18:40 +02:00
Fabian Sabau dbaf3ce379 Remove duplicate url scheme inside phpDoc blocks
Signed-off-by: Fabian Sabau <fabian.sabau+github@gmail.com>
2018-11-28 17:34:30 +01:00
Maxim.Kolmakov 890dcf4a42 @link and @see tags should use https 2018-10-16 11:28:37 +02:00
Andrey Sokolov 4352577586 Replace http with https in doc links 2018-08-13 16:39:18 +03:00
Gert de Pagter db07f4569d Use https for @link annotations (#367)
* Replace http with https

* Replace http with https in readme
2018-08-13 14:15:36 +03:00
Frank van Hest 02207f4c16
WI-39334 | Third argument for socket_cmsg_space 2017-12-22 12:34:25 +01:00