Commit Graph

28 Commits

Author SHA1 Message Date
Ivan Fedorov 27d6f9e08e
Tentative return types (#1234)
[phpstorm-stubs] add tentative return type hints
2021-09-23 16:17:05 +02:00
Ivan Fedorov 611b5e1e0f update typehints for SPL + code style 2021-07-28 13:42:43 +02:00
Ivan Fedorov e1c0e6e3a4 convert nullable to union types in attributes 2021-07-28 13:42:43 +02:00
Ivan Fedorov 22e6586b45 typehints in XmlReader 2021-07-28 13:42:43 +02:00
Ivan Fedorov d8207897d6 update typehints in XmlWriter 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
Rabih Monzer f53f539494 WI-60175: Fix invlalid links in XMLWriter class 2021-05-11 20:45:53 +03:00
Anton 331659be5a Update xmlwriter.php
see example in php manual
2021-04-04 20:24:41 +03:00
Ivan Fedorov d067f1b72f batch update of all stubs with defined code style 2021-03-17 17:45:32 +03:00
Lars Moelleken a01b820aab add more type fixes 2020-12-21 17:43:34 +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 290ed5453b Rename parameter names of methods for PHP 8 2020-11-20 12:44:12 +01:00
Maxim.Kolmakov c433ad857b Add proper nullability 2020-11-19 13:20:31 +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
Ivan Fedorov adf9095c54 Update to 8rc2 and align parameter names 2020-10-17 18:52:47 +03:00
Maxim.Kolmakov 960ea48b9a PHP 8 stubs
Continue
2020-07-16 20:44:21 +02:00
zlianon eff2ef85ad Remove whitespaces from stubs. 2020-05-13 21:13:07 +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 9d2c8c7c6f Php Stubs update, fixed tests 2018-04-24 14:24:48 +03:00
tsufeki 130e3f8e82 Fix typos and wrong typehints in function signatures. 2018-01-30 20:42:46 +01:00
Jens Hausdorf 375a477e81
fix spelling mistake 2018-01-03 11:54:01 +01:00
Andrey Sokolov 22791794f7 added missing parameter xmlwriter functions 2017-08-01 18:26:46 +03:00
Artem Khvastunov 5906b85691 WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00