1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
psalm/stubs
kkmuffme 26eb870e47 fix mixed replace return types for arrays
* remove useless replace return type provider code that returned incorrect type for array replacements and was worse duplicate of existing stubs
* require preg patterns to be non-empty-strings as otherwise it will throw a PHP notice
* improve return type of array replacements to be more correct (not fully correct due to https://github.com/vimeo/psalm/issues/5994#issuecomment-1614601590)
2023-06-30 17:08:03 +02:00
..
extensions Ignore nullable return form SimpleXMLElement::addChild() 2023-05-04 21:07:44 +02:00
CoreGenericAttributes.phpstub Add a stub file for Attributes defined by PHP 2023-06-17 12:26:56 +01:00
CoreGenericClasses.phpstub Unmark DateInterval::$invert as read-only 2023-06-11 16:43:51 -07:00
CoreGenericFunctions.phpstub fix mixed replace return types for arrays 2023-06-30 17:08:03 +02:00
CoreGenericIterators.phpstub fix: add missing constructor parameter to IteratorIterator 2023-04-13 00:14:26 +02:00
CoreImmutableClasses.phpstub Make array shapes strict by default (#8701) 2022-11-11 20:14:21 -05:00
Php80.phpstub Update pack() stub 2023-02-28 23:50:23 -06: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 Add support for strict arrays, fix type alias intersection, fix array_is_list assertion on non-lists (#8395) 2022-11-05 22:34:42 +01:00
Reflection.phpstub Merge pull request #9085 from BenMorel/newInstanceArgs 2023-01-19 23:08:21 +01:00
SPL.phpstub Fix template param for SplDoublyLinkedList. 2022-10-14 11:54:53 +05:30