Commit Graph

3865 Commits

Author SHA1 Message Date
Ivan Fedorov 7d4fe939ee fix param type in imap_headerinfo 2024-03-24 13:22:58 +01:00
Ivan Fedorov 217ed9356d fix cs-fixer 2024-03-15 13:01:43 +01:00
Tim Bond 4bec2af84a Hide command progress bars in CI job output 2024-03-15 12:59:55 +01:00
sandacode f98f62e8fc Let EvLoop::defaultLoop() return an EvLoop instance
Currently: 'void' method 'defaultLoop' result used.

According to the documentation it either returns the default loop, or creates + returns it.
2024-03-15 11:10:09 +01:00
Emjek Cordover cf2eb62517 Spoofchecker::areConfusable() $errorCode param is int
Updating this to match the manual: https://www.php.net/manual/en/spoofchecker.areconfusable.php

This was updated in the manual by php/doc-en#907
2024-03-14 19:40:14 +01:00
Ivan Fedorov 78d64a0d0c [phpstorm-stubs] disable test for constant values
need to find a way to automatically fetch constant vales from php-src and update them automatically
2024-03-07 12:03:05 +01:00
Ivan Fedorov 40e527c781 [phpstorm-stubs] replace incorrect attributes with PHPDoc 2024-03-07 11:20:07 +01:00
Benjamin Morel 9608c95323 Tighter return types for Redis::(keys|hKeys|hVals|hGetAll)() 2024-03-02 20:58:25 +01:00
Dmitriy Derepko b9c135d451 Leave only default values 2024-02-28 10:03:24 +01:00
Dmitriy Derepko e36ddd7ffa Sync headers_sent
https://www.php.net/manual/en/function.headers-sent.php
2024-02-28 10:03:24 +01:00
Tim Bond e443b6f33f Update return descriptions of array diff functions
Several array diff functions had their params changed
to use `array` instead of `array1`.  This commit updates
the return value _descriptions_ to match both the updated
variable names and the manual's textual descriptions
2024-02-27 20:02:13 +01:00
Kristofer Karlsson 9ffbeb6aa8 fix: ArrayObject::offsetGet should return null 2024-02-27 19:13:27 +01:00
Dmitriy Derepko a2f04e115c Sync header_remove
https://www.php.net/manual/en/function.header-remove
2024-02-27 19:12:14 +01:00
Cees-Jan Kiewiet 717e2d512b [UV] Add missing second argument to uv_run
Also update extension repository URL

Refs: 670a609efc/php_uv.c (L3607C64-L3607C96)
2024-02-16 15:25:59 +01:00
Cees-Jan Kiewiet 5f083ca077 [UV] Mark second argument on uv_close optional
Refs: 670a609efc/php_uv.c (L3914-L3927)
2024-02-16 15:22:16 +01:00
Daniel Jakob 1e945e5229 Correct the `result_code` argument name
In the methods `passthru`, `exec` and `system`, the argument `result_code` was incorrectly named `return_var` in the function description
2024-02-16 12:57:00 +01:00
Ivan Fedorov 30b3723aa6 [phpstorm-stubs] update pgsql constants values 2024-02-13 23:57:25 +01:00
Ilia Smirnov be32b6125b WI-75686 Move .phpstorm.meta.php to meta directory 2024-02-06 17:47:55 +01:00
Ilia Smirnov 7975d7e7e6 WI-75686 Add Pest under EXTERNAL to PhpCoreStubsProvider 2024-02-06 17:47:55 +01:00
Ilia Smirnov a54fd9458e WI-75686 Add Pest stub 2024-02-06 17:47:55 +01:00
Rotzbua 2fc4935595 Add missing key `ec` in return for function `openssl_pkey_get_details`
OPENSSL_KEYTYPE_EC, an additional array key named "ec", containing the key data is returned. 

Source:
https://www.php.net/manual/en/function.openssl-pkey-get-details.php
2024-01-29 15:16:25 +01:00
Ivan Fedorov 2e8e4c69e3 update constants values 2024-01-29 15:14:26 +01:00
Alexander Schranz fd75669eaf Update Redis.php 2024-01-24 19:39:21 +01:00
Alexander Schranz 7f047a993b Fix xTrim threshold parameter 2024-01-24 19:39:21 +01:00
Viktor Pikaev 8ea3bf4472 php-ds: add missed return types for the getIterator() methods 2024-01-17 11:11:03 +01:00
Victor Khalyutkin da7113dbdd Change ArrayObject offsetGet php-doc 2024-01-17 11:10:32 +01:00
Ivan Fedorov 4e5ef2f0bb [phpstorm-stubs] WI-75592 add constructor for new version of extension 2024-01-15 14:54:17 +01:00
Ivan Fedorov 6e796f815a [phpstorm-stubs] WI-75601 fix wrong typehint 2024-01-15 12:53:54 +01:00
Tim 340feaa6a9 Update actions/checkout to v4
This resolves the "The following actions uses node12 which is deprecated
and will be forced to run on node16: actions/checkout@v2" warning seen
when running Actions
2024-01-15 10:39:26 +01:00
Alexandre Bouvier cb45670f35 Add template annotations for Parle\Stack 2024-01-13 08:35:40 +01:00
Till Krüss 572cacbaf3 sync stubs with v0.7.0 2024-01-13 00:34:08 +01:00
Tim bf4fb68f0a Add missing $_SERVER superglobals
In addition, update the default value for REQUEST_TIME to match its actual datatype
2024-01-13 00:31:52 +01:00
Ivan Fedorov d8bdf0ace0 [phpstorm-stubs] fix constant value 2024-01-13 00:28:28 +01:00
Ivan Fedorov 0f51e31bf6 [phpstorm-stubs] fix cs-fixer rules 2024-01-13 00:28:28 +01:00
Ivan Fedorov 9e105c218a [phpstorm-stubs] update stubs according to latest php version 2024-01-13 00:28:28 +01:00
Ivan Fedorov 9065858a12 [phpstorm-stubs] update tests after update of php parser 2024-01-13 00:28:28 +01:00
Ivan Fedorov 9da0ac30eb [phpstorm-stubs] update composer.lock according to latest composer packages 2024-01-13 00:28:28 +01:00
Ivan Fedorov 9669e5d3e7 [phpstorm-stubs] update docker images to latest PHP 2024-01-13 00:28:28 +01:00
Ivan Fedorov 522b18e75d [phpstorm-stubs] Use precise package versions in composer 2024-01-13 00:28:28 +01:00
Ivan Fedorov 1f65707eee [phpstorm-stubs] Don't run constants tests with old PHP versions
We can't fetch class constants from reflection on those PHP versions
2024-01-13 00:28:28 +01:00
Ondřej Mirtes 50172be1ab BackedEnum::from() can also throw TypeError 2024-01-02 12:04:54 +01:00
Ivan Fedorov 92dda01179 [phpstorm-stubs] fix cs-fixer errors 2023-12-15 20:42:51 +01:00
Ivan Fedorov 06af30faea [phpstorm-stubs] update cs-fixer config 2023-12-15 20:38:47 +01:00
Ivan Fedorov 0ed9bb72e2 [phpstorm-stubs] update testClassesReadonly test 2023-12-15 20:07:14 +01:00
Ivan Fedorov c4c34f1936 [phpstorm-stubs] update composer requirements 2023-12-15 19:41:03 +01:00
Ivan Fedorov 2be4232f17 Revert "[phpstorm-stubs] update CHAR_MAX constant value"
This reverts commit 295a990191.
2023-12-15 18:49:56 +01:00
Ivan Fedorov 5ac3709063 [phpstorm-stubs] update docker images to php 8.3 2023-12-15 18:49:56 +01:00
Tim Bond 1df0a978f0 Add additional documentation to BackedEnum methods 2023-12-05 11:38:27 +01:00
Bart Vanhoutte 1858014665 Added simdjson under PECL to PhpCoreStubsProvider. 2023-12-01 12:49:33 +01:00
Bart Vanhoutte 848d2f6b35 Updated PhpStormStubsMap.php. 2023-12-01 12:49:33 +01:00