1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
Commit Graph

437 Commits

Author SHA1 Message Date
Ryan Bonham
0d360419b7
Update Call Maps and Signature for get_headers 2023-01-06 19:24:00 -05:00
Corey Taylor
e779c5f741 Fix iterator and exception callmaps 2022-12-31 11:34:48 -06:00
Sebastian Krüger
ddf846b8c7
.xdebug_info only available for php >= 2022-12-27 18:39:41 +01:00
Sebastian Krüger
c74aacdeee
feat: add xdebug_info (fixes #8977) 2022-12-27 17:45:58 +01:00
Alies Lapatsin
f700feb5b5 Add imap_is_open() to PHP 8.2 dictionary (Only as of PHP 8.2.1) 2022-12-26 16:19:03 +01:00
Alies Lapatsin
6cd85b9b84 Add imap_is_open() to PHP 8.2 dictionary 2022-12-26 16:14:20 +01:00
Jack Worman
1bb9eb4cfc forbidden function bug and better get_defined_functions() signature 2022-12-24 12:34:40 -06:00
Corey Taylor
d6eca8c056 Verify nullable callmap parameters 2022-12-23 06:04:35 -06:00
Tomas
ed859450c4 Add DateTimeInterface::__serialize and DateTimeInterface::__unserialize to call maps 2022-12-21 20:52:48 +01:00
orklah
9c0c234f25
Merge pull request #8974 from fluffycondor/chr-non-empty-string
(mb_)chr returns a non-empty-string
2022-12-21 18:47:29 +01:00
fluffycondor
63e0e4a3a7 (mb_)chr returns a non-empty-string 2022-12-21 22:55:05 +06:00
Jack Worman
b712355775 getopt return type fix 2022-12-19 07:02:50 -06:00
fluffycondor
cac273e04f Make md5 return type more precise 2022-12-18 23:15:25 +06:00
sasezaki
9c1b2520d1 Fix DOMDocument's propertery name preserveWhiteSpace - #8915 2022-12-17 17:58:30 +09:00
Corey Taylor
067d0649ca Fix remaining invalid unreflectable methods 2022-12-15 04:09:02 -06:00
Corey Taylor
902ea9d7e2 Fix DOM and Reflection unreflectable methods 2022-12-14 10:18:15 -06:00
orklah
00706de18e
Merge pull request #8826 from othercorey/callmap-methods
Add validation for Class::Method names in CallMap
2022-12-13 18:47:23 +01:00
Corey Taylor
e57079f581 Add validation for Class::Method names in CallMap 2022-12-13 03:34:47 -06:00
Alies Lapatsin
0afe0d54f2 Merge branch 'master' into add-missing-sodium-functions
# Conflicts:
#	dictionaries/CallMap_82_delta.php
2022-12-10 01:47:55 +01:00
Bruce Weirdan
a568b087a2
Merge pull request #8871 from lptn/libxml_get_external_entity_loader 2022-12-09 19:26:44 -04:00
Alies Lapatsin
1d26ae6d38
Merge branch 'master' into libxml_get_external_entity_loader 2022-12-09 14:02:52 +03:00
Alies Lapatsin
aced00313b Add array shape for libxml_*et_external_entity_loader functions 2022-12-09 12:02:03 +01:00
Alies Lapatsin
1cbf45025c Add libxml_get_external_entity_loader to CallMap (PHP 8.2)
https://www.php.net/manual/en/function.libxml-get-external-entity-loader.php
2022-12-09 11:35:30 +01:00
Alies Lapatsin
ce3be3b6f5 Add some missing sodium functions to CallMap 2022-12-09 11:04:36 +01:00
Alies Lapatsin
676e120b49 Add missing ZipArchive method to CallMap (PHP 8.2) 2022-12-09 10:07:59 +01:00
orklah
e4b64af599
Merge pull request #8861 from VincentLanglet/count
Precise count range
2022-12-09 00:41:00 +01:00
Vincent Langlet
f6051bc417 Precise count range 2022-12-08 16:44:10 +01:00
Kamil Tekiela
ace5743c99 mysqli_execute_query accepts any type of param 2022-12-04 17:29:50 +00:00
orklah
5c46c45057 capitalize properties 2022-12-04 17:18:24 +01:00
orklah
929723a133 capitalize properties 2022-12-04 17:10:40 +01:00
orklah
4a77f24869
Merge pull request #8825 from othercorey/fix-returns
Fix return types for date functions in callmap
2022-12-04 01:07:33 +01:00
Corey Taylor
d9b651a126 Fix return types for date functions in callmap 2022-12-03 17:55:29 -06:00
Alies Lapatsin
e0a7df4bad Update dictionaties: use more specific boolean types 2022-12-03 21:28:03 +01:00
orklah
8f39de9001
Merge pull request #8739 from niconoe-/fix-8735
Fix #8735: IntlDateFormatter CallMaps.
2022-11-23 18:57:53 +01:00
Nicolas Giraud
98c60f4276 Add missing CallMap on some IntlDateFormatter related to PHP 8.0. 2022-11-23 14:25:46 +01:00
Nicolas Giraud
208b745ec4 Remove IntlDateFormatter::setTimeZoneId from CallMap_historical as this method is removed since PHP 7.0.0. 2022-11-23 13:47:37 +01:00
Nicolas Giraud
9f4ba8d834 #8735: Add missing updates of CallMap_historical regarding new changes of IntlDateFormatter. 2022-11-23 13:42:50 +01:00
Nicolas Giraud
18bd412dd5 Fix #8735: IntlDateFormatter CallMaps. 2022-11-23 13:33:02 +01:00
orklah
e83ac65e79
Merge pull request #8729 from lptn/fix-dictionary-for-strip_tags-function
Fix dictionary for strip_tags
2022-11-23 13:28:48 +01:00
Alies Lapatsin
7678b34945 Update CallMap to reflect the most up-to-date signature 2022-11-22 23:51:50 +01:00
Alies Lapatsin
d33c338072 strip_tags: allow nullable allowed_tags arguments from PHP80 2022-11-22 12:27:50 +01:00
Kamil Tekiela
810ef8b771
Argument 1 of curl_unescape 2022-11-21 22:59:22 +00:00
Alies Lapatsin
8dd76ded86 Fix dictionary for strip_tags
- allow null
 - allow array from PHP 7.4 (see https://www.php.net/manual/en/function.strip-tags.php)

https://3v4l.org/VjbXO
https://3v4l.org/VWsPr
2022-11-21 23:33:25 +01:00
Fran Moreno
c3bd060f06
Fix DateTimeZone::listAbbreviations return type
Also fixes DateTimeZone::getOffset return type
2022-11-18 08:50:00 +01:00
Matthew Brown
8d36bdc3ed
Make array shapes strict by default (#8701)
* Make array shapes strict by default

* Fix PSL tests
2022-11-11 20:14:21 -05:00
Bram Leeda
66af7392fc
Update the historical CallMap data for MemcachePool::getExtendedStats 2022-11-11 14:18:53 +01:00
Bram Leeda
6000b0f327
Add extra types to Memcache::getExtendedStats and Memcached::getStats 2022-11-11 11:54:07 +01:00
68a5511057 Merge remote-tracking branch 'origin/4.x' into HEAD 2022-11-08 10:25:04 +01:00
Marco Pivetta
5e9b921fc6 Making json_encode() always produce a non-empty-string, when successful
`json_encode()` never produces `''` as a value: that would be invalid JSON anyway
2022-11-07 20:42:47 +01:00
orklah
f630a0dc39
Merge pull request #8655 from come-nc/fix/reflectionextension-callmap
Fix return type of ReflectionExtension::getVersion
2022-11-07 13:23:42 +01:00