Commit Graph

127 Commits

Author SHA1 Message Date
LolGleb f94b4fb19f [phpstorm-stubs] Fixed testMethodsDefaultParametersValue and added default values for parameters that missed it. 2023-09-14 10:01:56 +02:00
Ivan Fedorov 24c80bebff [phpstorm-stubs] update for PHP 8.3 2023-08-28 14:41:18 +02:00
Kamil Tekiela 515427c694 protocol_version was always an int property 2023-08-16 16:13:40 +02:00
Ivan Fedorov 03b75cef27 Add ArrayShape attributes for functions 2022-10-17 11:21:37 +02:00
DmitryTronin 3b14ae6313 Bulk changes based on https://github.com/JetBrains/phpstorm-stubs/pull/1411 2022-07-27 17:56:51 +02:00
Dmitry.Tronin fcd660e2db cs fixer fixes 2022-07-21 15:17:52 +02:00
Dmitry.Tronin 4121757f7f added new in 8.2 mysqli_execute_query() 2022-07-21 15:17:52 +02:00
Dmitry.Tronin 52ffa29e14 Added true return type via LanguageLevelTypeAware and other minor fixes 2022-07-21 15:17:52 +02:00
Ivan Fedorov 8191142e5a [phpstorm-stubs] update stubs according to php 5.6 2022-07-12 17:35:50 +02: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 f836f94155 [phpstorm-stubs] update stubs according to latest versions of php 2022-02-23 16:58:47 +01:00
Ivan Fedorov af045dfb25 [phpstorm-stubs] fix default values according to reflection 2022-01-20 12:50:21 +01:00
Ivan Fedorov ddd98636ee [phpstorm-stubs] return back cs-fixer 2022-01-20 08:16:50 +01:00
Ivan Fedorov 363c7059fc [phpstorm-stubs] fixes after review 2021-12-06 17:24:42 +01:00
Ivan Fedorov 9a52eba08b [phpstorm-stubs] update stubs according to php 7.0 2021-12-06 17:24:42 +01:00
Markus Staab a2229536dc allow stdClass 2021-12-04 15:33:33 +01:00
Markus Staab 8c5d28fc5b added generic template to object-fetching db methods 2021-12-04 15:33:33 +01:00
Kamil Tekiela 1910935d74 Use array|null
Co-authored-by: William Desportes <williamdes@wdes.fr>
2021-11-23 15:14:58 +01:00
Kamil Tekiela 0a272ee92f Use ?array 2021-11-23 15:14:58 +01:00
Kamil Tekiela f6d46580f8 Fix from review 2021-11-23 15:14:58 +01:00
Kamil Tekiela 58dbac80e2 Improve mysqli stubs
Improve mysqli_fetch_* stubs
Adjusted the stubs to the changes I made in the PHP manual over the past year
2021-11-23 15:14:58 +01:00
Kamil Tekiela 5da1a8603e mysqli::fetch_fields never returns false
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-10-26 15:06:50 +02:00
Ivan Fedorov d21b6679e2 [phpstorm-stubs] fix final modifier for classes 2021-10-13 09:58:12 +02:00
Ivan Fedorov c9b118e592 [phpstorm-stubs] improve return types 2021-09-29 18:10:26 +02: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 3c5ee52106 resolve problems after rebase 2021-08-15 20:51:49 +02:00
Ivan Fedorov 451b13b514 fix code style problems after rebase on master 2021-08-15 20:51:49 +02:00
Ivan Fedorov da8a11140b update stubs after rebase on master 2021-08-15 20:51:49 +02:00
Ivan Fedorov 1e87fd8c80 fix stubs for extensions 2021-08-15 20:51:49 +02:00
Ivan Fedorov 84f5b8021c update stubs after rebase on master 2021-08-14 20:08:16 +02:00
Ivan Fedorov b4e2510fcd csfixer + format function 2021-08-14 20:08:16 +02:00
Ivan Fedorov 59872a9e05 try to fix mysqli_get_client_info parameters 2021-08-14 20:08:16 +02:00
Ivan Fedorov 203455b5bf fix optional parameters 2021-08-14 20:08:16 +02:00
Ivan Fedorov 290682e546 fix typehints for php 8.0 2021-08-14 20:08:16 +02:00
Ivan Fedorov 07eaffbdc6 fix stubs for extensions 2021-08-14 20:08:16 +02:00
Ivan Fedorov 7cfe8fbbc2 fix available versions for parameters 2021-08-14 20:08:16 +02:00
Ivan Fedorov 9592fd62ca add missing parameters 2021-08-14 20:08:16 +02:00
Kirill Smelov ff2a7b4219 WI-62004 Deprecations for PHP 8.1 2021-08-11 16:26:16 +03:00
Ivan Fedorov b31c027ab4 fix typehints in extensions according to reflections 2021-07-28 13:42:43 +02:00
Ivan Fedorov 8ed3223576 update stubs map + cs fixer 2021-07-28 13:42:43 +02:00
Ivan Fedorov b5ae4f791a use LanguageLevelTypeAware for typehints 2021-07-28 13:42:43 +02:00
Ivan Fedorov 8174e4faca typehints for mysqli 2021-07-28 13:42:43 +02:00
Ivan Fedorov b7ce36242d convert Optional attribute to Required 2021-07-28 13:42:43 +02:00
Ivan Fedorov 611b5e1e0f update typehints for SPL + code style 2021-07-28 13:42:43 +02:00
Ivan Fedorov a70cb38071 fix optional parameters 2021-07-28 13:42:43 +02:00
Ivan Fedorov 8c7a22f6a4 update optional parameters 2021-07-28 13:42:43 +02:00
Ivan Fedorov e1cc533fd0 fix typehints 2021-07-28 13:42:43 +02:00
Ivan Fedorov 988eab1bc9 fix parameters for restored functions 2021-07-28 13:42:43 +02:00
Ivan Fedorov 835466f1d5 change nullable types to union types in attributes 2021-06-30 21:41:05 +03:00
Ivan Fedorov 2cd87268ec Update stubs to php 8.1 alpha2 2021-06-29 18:34:13 +03:00