Commit Graph

19 Commits

Author SHA1 Message Date
Ivan Fedorov 03b75cef27 Add ArrayShape attributes for functions 2022-10-17 11:21:37 +02:00
Ivan Fedorov 96c26c803a [phpstorm-stubs] add int ranges 2022-04-11 10:45:14 +02:00
Ivan Fedorov 6146eb5541 [phpstorm-stubs] update stubs to latest php 8.0 update 2021-12-18 22:24:00 +01:00
Ivan Fedorov 9a52eba08b [phpstorm-stubs] update stubs according to php 7.0 2021-12-06 17:24:42 +01:00
Ivan Fedorov d067f1b72f batch update of all stubs with defined code style 2021-03-17 17:45:32 +03:00
Ivan Fedorov 119818ee2a add test for parameters default values 2021-02-02 16:54:54 +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 c433ad857b Add proper nullability 2020-11-19 13:20:31 +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
Maxim Kolmakov 4f934aec22
Apply suggestions from code review
Remove incorrect purity (pass by ref, pointer modification, callbacks)

Co-authored-by: Kirill Smelov <kirill.smelov@jetbrains.com>
2020-10-21 10:59:12 +02:00
Maxim.Kolmakov cf1111719a Annotate bz2 functions with #[Pure] 2020-10-20 20:26:33 +02:00
Ivan Fedorov adf9095c54 Update to 8rc2 and align parameter names 2020-10-17 18:52:47 +03:00
Ivan Fedorov c63f6fc7da Update php to 8rc1. Align parameter names 2020-10-05 13:20:33 +03: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
Maxim.Kolmakov b1041ca152 Cleanup @since tags with old versions <5.3 2020-01-22 18:26:13 +01:00
Artemy Pestretsov ea4d53c2d4 Add hand-picked changes from pr553 2019-06-26 15:26:31 +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
Artem Khvastunov 5906b85691 WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00