1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
psalm/stubs
Marco Pivetta 0a6c9d0177 Removed DateTimeImmutable::setDate() from the CallMap: fully covered by stub
Also simplified the return type from `static|false` to `static`, since
the method throws at all times, on failure.

On PHP 7.x, it could only fail if an invalid type was passed in, which is
not really valid anyway, from a type perspective.

Ref (PHP 8.1.x): 32d55f7422/ext/date/php_date.c (L3258-L3274)
Ref (PHP 7.0.33): bf574c2b67/ext/date/php_date.c (L3496-L3512)
2022-08-05 12:48:29 +02:00
..
CoreGenericClasses.phpstub Allow null to ArrayAccess::offsetSet $offset param 2022-03-06 13:47:32 +01:00
CoreGenericFunctions.phpstub Fix nullable return types for CallMap functions 2022-07-13 22:44:38 -05:00
CoreGenericIterators.phpstub Fix #6464: false positive for RecursiveArrayIterator::CHILD_ARRAYS_ONLY 2021-09-09 11:12:24 +02:00
CoreImmutableClasses.phpstub Removed DateTimeImmutable::setDate() from the CallMap: fully covered by stub 2022-08-05 12:48:29 +02:00
decimal.phpstub Allow operator overloading for Decimal extension (fixes #3938). 2021-12-08 10:59:37 -06:00
DOM.phpstub Fix SimpleXMLIterator historic and current signatures 2021-08-16 00:04:59 +03:00
ext-apcu.phpstub bugfix/#7912: Add Iterator implements to stub 2022-05-17 23:55:44 +02:00
ext-ds.phpstub Add Set::map() to ext-ds stub 2021-12-14 10:19:08 +01:00
ext-geos.phpstub Rename stub to avoid phpstorm conflict (#5213) 2021-02-13 18:42:34 -05:00
mongodb.phpstub Add mongodb Cursor and CursorInterface stubs and fix WriteConcern::__construct (#5813) 2021-05-22 19:03:07 -04:00
mysqli.phpstub typo 2021-12-29 16:56:09 +01:00
pdo.phpstub pdo: more precise generic type 2022-01-03 17:11:03 +01:00
Php80.phpstub Code style 2022-07-25 17:15:28 +03:00
Php81.phpstub Update stub 2022-02-23 00:52:53 +02:00
phpparser.phpstub ->args to ->getArgs 2021-10-09 23:37:04 +02:00
phpredis.phpstub update phpredis stubs 2022-03-04 12:56:30 +01:00
Reflection.phpstub Fix return type of ReflectionNamedType::getName() 2022-06-29 18:22:46 +02:00
soap.phpstub Update signatures of methods of SoapClient 2021-12-12 19:43:06 +03:00
SPL.phpstub Fix invalid class/method declaration in stub 2021-10-05 21:41:27 +09:00
Xdebug.phpstub Rename stub to avoid phpstorm conflict (#5213) 2021-02-13 18:42:34 -05:00