Commit Graph

38 Commits

Author SHA1 Message Date
Ivan Fedorov 92dda01179 [phpstorm-stubs] fix cs-fixer errors 2023-12-15 20:42:51 +01:00
Ivan Fedorov 0fe2c0c634 [phpstorm-stubs] replace deprecated cs-fixer rule with a modern one 2022-02-23 17:45:11 +01:00
Ivan Fedorov d067f1b72f batch update of all stubs with defined code style 2021-03-17 17:45:32 +03:00
Lars Moelleken 24139c6ba4 optimize "checkHtmlTags"-check
-> TODO: 175 HTML erros
2020-12-14 12:15:52 +03:00
Lars Moelleken 5a6651d1cc fix "&Alias;" usage
+ revert some changes
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
Kirill Smelov ac93814bf3 Annotate http methods with #[Pure] 2020-11-02 09:53:44 +01:00
Maxim.Kolmakov 1f1d0b6e79 Add missing deprecations 2020-10-27 18:44:21 +01:00
Maxim.Kolmakov b8164b5054 Move @deprecated to #[Deprecated] 2020-10-27 18:05:51 +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 58f603f630 Annotate http functions with #[Pure] 2020-10-20 20:01:43 +02:00
Lars Moelleken a8c609c8ad [+]: normalize more phpdocs (double -> float) + fix some more types 2020-09-03 22:41:10 +02:00
Lars Moelleken 32051b89a2 [+]: fix some more phpdocs 2020-09-02 21:26:03 +02:00
Slapoguzov Alexander f29c46d69e
Merge branch 'master' into phpdoc_fixes 2020-09-01 09:45:30 +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
Anatoly Pashin 047350460f Fix `false on error` returns 2020-08-07 17:53:35 +10:00
Ivan Fedorov d822267c1c lowercase keywords null/true/false 2020-06-18 21:20:10 +03:00
Ivan Fedorov 92c510353a Revert "Cleanup and rules for PHPCS"
This reverts commit 1d8094ce
2020-06-12 14:02:01 +03:00
Maxim.Kolmakov a8ea3b8db6 Fix undefined class inspection 2020-06-08 16:34:00 +02:00
Maxim.Kolmakov 1d8094ce29 Cleanup and rules for PHPCS 2020-06-08 16:23:16 +02: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 d9eea53167 PHP tags cleanup 2020-03-19 14:48:38 +01:00
Artemy Pestretsov cfa446c565 Fix some type according to review 2019-07-04 21:01:30 +03:00
Artemy Pestretsov ea4d53c2d4 Add hand-picked changes from pr553 2019-06-26 15:26:31 +03:00
Léo 5024d5430a
Update http3.php
From https://github.com/mdref/mdref-http/blob/master/http.stub.php
2019-03-13 18:54:37 +01:00
Léo b4377ec822
Removed excessive "@" 2019-03-06 19:52:41 +01:00
Léo 41dad94e90
Update http3.php
https://mdref.m6w6.name/#pecl.http
2019-03-06 19:32:59 +01:00
Wouter van Dongen 6379e805db Update http3.php (pecl/http using version 3.2.0)
See https://mdref.m6w6.name/http
2018-11-22 15:33:57 +01: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
Maxim.Kolmakov edbf107492 @return should be omitted for __construct 2018-05-30 17:53:56 +02:00
andrey-sokolov 0f20701cec Merge pull request #183 from signe/http3
Implements PECL HTTP v3.x
2017-07-14 16:07:31 +03:00
Carson Full 5b6cbb39ea
Removed unneeded implements clauses from Iterators.
Fixes error "Interface/Class cannot implement previously implemented interface".
2017-07-06 19:51:09 -05:00
Kat Rossiter 52cbd0079b Add \http\Env\Request 2017-03-15 16:25:51 -07:00
Kat Rossiter b8c1f12ce9 Add \http\Env\Response and \http\Env\Url 2017-03-15 16:17:22 -07:00
Kat Rossiter 5c29e6a348 Implements http\QueryString and http\Url from PECL HTTP v3.x 2017-03-15 15:49:38 -07:00
Artem Khvastunov 5906b85691 WI-33237 split embedded stubs into modules 2017-03-07 14:52:15 +01:00