Etienne Roudeix
e96d4227fb
Fix JSON_OBJECT_AS_ARRAY flag documentation
2024-04-02 16:08:19 +02:00
Ivan Fedorov
24c80bebff
[phpstorm-stubs] update for PHP 8.3
2023-08-28 14:41:18 +02:00
Ivan Fedorov
79317085c9
[phpstorm-stubs] update stubs according to latest php 8.1
2022-04-28 10:53:09 +02:00
Ivan Fedorov
af045dfb25
[phpstorm-stubs] fix default values according to reflection
2022-01-20 12:50:21 +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
df0ad91825
fixed missing return value JsonSerializable::jsonSerialize
2021-07-21 13:27:28 +03:00
Ivan Fedorov
c75f3adb83
WI-59516 WI-59517 json_last_error getcwd file_exists depend on global scope
2021-03-30 15:41:48 +03:00
Ivan Fedorov
d067f1b72f
batch update of all stubs with defined code style
2021-03-17 17:45:32 +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
ad2ba09927
WI-53100 PHP stubs miss tables from inside the return section
2020-11-11 09:27:50 +01:00
Kirill Smelov
01eb9db097
Annotate json methods with #[Pure]
2020-11-02 09:53:44 +01:00
Maxim.Kolmakov
0c857a143a
json_last_error can be called later on to get the error
2020-10-22 10:29:44 +02:00
Maxim.Kolmakov
ddefa58556
Annotate json functions with #[Pure]
2020-10-20 19:51:08 +02:00
Ivan Fedorov
adf9095c54
Update to 8rc2 and align parameter names
2020-10-17 18:52:47 +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
b1041ca152
Cleanup @since tags with old versions <5.3
2020-01-22 18:26:13 +01:00
Maxim.Kolmakov
9f4ab8bab7
Provide some missing since and deprecated tags
2020-01-17 18:38:30 +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
Svetlana Zemlyanskaya
263786eb01
Update stubs for PHP 7.2 ( #662 )
...
* WI-37330 Update stubs for PHP 7.2
https://github.com/php/php-src/blob/php-7.2.0beta1/UPGRADING
2019-10-01 11:37:10 +02:00
Maxim Kolmakov
a228765608
Revert "json encode/decode throws JsonException when JSON_THROW_ON_ERROR is set"
2019-07-10 13:39:41 +02:00
Anatoly Pashin
16bcbd9f55
json_encode and json_decode throws JsonException when JSON_THROW_ON_ERROR is set
2019-07-09 14:05:11 +10: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
1e2596f729
Merge pull request #390 from aalwash/master
...
WI-42885 Updated stubs with 7.3.0 changes (partly)
2018-08-03 16:52:41 +03:00
Ali Alwash
1d77a0e453
Update json.php
...
Wrong constant used
2018-08-03 14:02:02 +02:00
Richard Bairwell
6fcaa2c875
Fix return type of json_encode
2018-07-24 11:06:03 +01:00
Ali Alwash
6b00c5ff43
Partly implemented 7.3.0 changes WI-42885
2018-07-23 21:23:19 +02:00
Michael Moravec
c7b7dd2a9d
PHP 7.2 additions
2017-12-23 06:50:43 +01:00
Andrey Sokolov
bbd07fbf7a
Added new 7.2 JSON constants
2017-12-22 17:37:17 +03:00
Benjamin Morel
1d53524414
Fix typo
2017-11-03 22:05:29 +01:00
Karol Wnuk
924110d88f
Add visibility for jsonSerialize() in JsonSeializable interface
2017-08-02 23:15:48 +01:00
Andrey Sokolov
fe76547933
Added missing JSON constants
2017-05-23 19:44:04 +03:00
Artem Khvastunov
5906b85691
WI-33237 split embedded stubs into modules
2017-03-07 14:52:15 +01:00