Commit Graph

36 Commits

Author SHA1 Message Date
LolGleb f94b4fb19f [phpstorm-stubs] Fixed testMethodsDefaultParametersValue and added default values for parameters that missed it. 2023-09-14 10:01:56 +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 363c7059fc [phpstorm-stubs] fixes after review 2021-12-06 17:24:42 +01:00
Ivan Fedorov 27d6f9e08e
Tentative return types (#1234)
[phpstorm-stubs] add tentative return type hints
2021-09-23 16:17:05 +02:00
Ivan Fedorov 8815091b45 cleanup 2021-08-14 20:08:16 +02:00
Ivan Fedorov 431e902e1a fix version range for some methods 2021-08-14 20:08:16 +02:00
Ivan Fedorov 642b05233c fix imports after rebase 2021-08-14 20:08:16 +02:00
Ivan Fedorov ed5b861e62 update stubs to suite different php versions 2021-08-14 20:08:16 +02:00
Ivan Fedorov 8ed3223576 update stubs map + cs fixer 2021-07-28 13:42:43 +02:00
Ivan Fedorov f2df719dcc add typehints for DOM 2021-07-28 13:42:43 +02:00
Ivan Fedorov 9a29812c1b update stubs to suite different php versions 2021-07-28 13:42:43 +02:00
Ivan Fedorov b1104605b7 fix default typehints in attributes in functions 2021-07-01 12:45:59 +03: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 39476b4f91 update to php 8.0.3 2021-03-06 19:59:21 +03:00
Lars Moelleken 9f6bfb660b more phpdoc fixes
fix tests: "PHP Fatal error:  Uncaught PhpParser\Error: Variadic parameter cannot have a default value on line 767"

fix tests: "Type mismatch array_key_exists: $array"

fix tests: "parameter 'withComments' with typehint 'bool' but typehints available only since php 7"
2020-12-14 12:15:52 +03:00
Maxim.Kolmakov 290ed5453b Rename parameter names of methods for PHP 8 2020-11-20 12:44:12 +01:00
Maxim.Kolmakov 43ce0bb13e Provide PHP 8 return types to function signatures 2020-11-18 17:06:05 +01:00
Maxim.Kolmakov 4c2a5f87b8 Provide PHP 8 types to function signatures 2020-11-17 18:10:56 +01:00
Kirill Smelov c5c4654a45 Annotate fileinfo methods with #[Pure] 2020-11-02 09:53:44 +01:00
Ivan Fedorov c63f6fc7da Update php to 8rc1. Align parameter names 2020-10-05 13:20:33 +03:00
roxblnfk a5c574cded
Fix finfo_buffer return type 2020-08-05 22:19:56 +03:00
Maxim.Kolmakov 244920f3ec PHP 8 stubs
Continue
2020-07-16 18:46:58 +02:00
Peter Gribanov 8841ebf3e0 correct return value for bzopen(), dba_open(), finfo_open() and shmop_open() functions 2020-06-24 18:32:22 +03:00
Ivan Fedorov d822267c1c lowercase keywords null/true/false 2020-06-18 21:20:10 +03:00
zlianon eff2ef85ad Remove whitespaces from stubs. 2020-05-13 21:13:07 +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
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
Andrey Sokolov 614a4d6b8a Added missing 7.2 constants to zlib, fileinfo, pcre, core 2017-12-21 18:03:58 +03:00
Lars Moelleken 2deab65ac8 "claim mime_content_type is deprecated"
-> https://bugs.php.net/bug.php?id=71367
2017-08-04 19:42:50 +02:00
Artem Khvastunov 5906b85691 WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00