Commit Graph

31 Commits

Author SHA1 Message Date
Ivan Fedorov 82d7d4444e [phpstorm-stubs] Update return type for xml_parse_into_struct 2023-10-30 18:41:37 +01:00
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 d21b6679e2 [phpstorm-stubs] fix final modifier for classes 2021-10-13 09:58:12 +02:00
Ivan Fedorov d067f1b72f batch update of all stubs with defined code style 2021-03-17 17:45:32 +03:00
Ivan Fedorov d2808423da update stubs to php 8.0.1 2021-01-09 18:23:12 +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
Lars Moelleken ad901bf4c0 improve some more phpdocs
dom_import_simplexml -> fix types

-> https://3v4l.org/67Al2
2020-12-14 12:15:52 +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 c8cfd40341 Add test on pass by ref 2020-11-18 17:22:48 +01:00
Maxim.Kolmakov 4e77d60ac8 Add proper imports 2020-11-18 17:11:37 +01:00
Maxim.Kolmakov 43ce0bb13e Provide PHP 8 return types to function signatures 2020-11-18 17:06:05 +01:00
Maxim.Kolmakov 697123f334 Provide PHP 8 types to function signatures
Use LanguageLevelTypeAware
2020-11-18 13:41:19 +01:00
Maxim.Kolmakov 4c2a5f87b8 Provide PHP 8 types to function signatures 2020-11-17 18:10:56 +01: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
Maxim.Kolmakov db716551b2 Annotate xml functions with #[Pure] 2020-10-20 20:27:09 +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
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
Maxim.Kolmakov f23297fad6 PHP 8 stubs
Continue
2020-07-16 18:30:50 +02:00
Peter Gribanov 16a0de7429 correct return value for PHP internal functions on failure 2020-06-24 22:15:36 +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
Michael Moravec c7b7dd2a9d
PHP 7.2 additions 2017-12-23 06:50:43 +01:00
Artem Khvastunov 5906b85691 WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00