1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 09:37:59 +01:00
psalm/stubs
Valentin Udaltsov 07a64f6894 Improved Reflection stubs
ReflectionParameter::getPosition() is non-negative-int.
ReflectionMethod name property is always non-empty-string.
ReflectionAttribute::getTarget() returns Attribute::TARGET_* instead of int-mask. Even for attributes of promoted properties (https://3v4l.org/rpM1t).
*::getAttributes() always returns a list (https://3v4l.org/LYAMb).
2024-02-07 02:39:56 +03:00
..
extensions Fix ownerDocument type 2024-01-31 16:10:51 +06:00
CoreGenericAttributes.phpstub Add support for Override attribute 2023-12-15 11:14:53 +01:00
CoreGenericClasses.phpstub Use same parameter names in stubs 2023-12-12 18:51:31 +01:00
CoreGenericFunctions.phpstub Narrow down get_browser returning array or object based on $return_array param 2023-10-25 10:34:46 +02:00
CoreGenericIterators.phpstub Use same parameter names in stubs 2023-12-12 18:51:31 +01:00
CoreImmutableClasses.phpstub DateTimeZone::getName() always returns non-empty-string and cannot be constructed with an empty string 2023-09-09 23:48:49 +01:00
Php74.phpstub strip_tags()/$allowed_tags can accept arrays since 7.4 2023-08-17 21:36:47 +02:00
Php80.phpstub Improved Reflection stubs 2024-02-07 02:39:56 +03:00
Php81.phpstub fix I::cases() where interface I extends BackedEnum 2023-01-05 21:35:47 -04:00
Php82.phpstub Add a stub file for Attributes defined by PHP 2023-06-17 12:26:56 +01:00
phpparser.phpstub Added stub for PhpParser\Node\Name 2023-06-28 03:13:42 +02:00
Reflection.phpstub Improved Reflection stubs 2024-02-07 02:39:56 +03:00
SPL.phpstub Use same parameter names in stubs 2023-12-12 18:51:31 +01:00