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

371 Commits

Author SHA1 Message Date
orklah
40622148ca
Merge pull request #9362 from othercorey/drop-associative-array
Convert callmap associative-array types into proper array types
2023-02-23 21:17:48 +01:00
Bruce Weirdan
bf7e5a3f9b
Fixed count/sizeof mismatches in callmaps
`sizeof` is an alias for `count`, so their signatures must always match.
2023-02-22 19:54:27 -04:00
Javier Spagnoletti
1cd64fe6b8 Instances of object returned by db2_*() functions are always instances of stdClass 2023-02-21 20:24:06 -03:00
Corey Taylor
4e46706800 Convert callmap associative-array types into proper array types 2023-02-21 01:28:16 -06:00
Corey Taylor
c62465ceef Fix several spl callmap methods 2023-02-20 22:30:21 -06:00
Corey Taylor
ab77cfd490 Fix memcached extension callmap 2023-02-15 17:26:58 -06:00
Bruce Weirdan
f73fe36bfd
Merge pull request #9292 from othercorey/drop-cairo-callmap 2023-02-14 10:44:52 -04:00
Corey Taylor
18b4fc532a Drop abandoned ncurses callmap 2023-02-14 05:54:24 -06:00
Corey Taylor
c3b5877519 Drop abandoned cairo extension 2023-02-14 05:52:51 -06:00
Corey Taylor
8fb290eb0d Fix remaining callmap functions 2023-02-12 23:10:09 -06:00
Corey Taylor
42e301cf84 Update callmap types for php 8.2 2023-02-12 01:24:43 -06:00
Bruce Weirdan
0fb0714141
Merge pull request #9271 from othercorey/drop-newt-functions 2023-02-11 21:12:47 -04:00
Bruce Weirdan
506d05f7d4
Merge pull request #9270 from othercorey/drop-maxdb-functions 2023-02-11 21:08:26 -04:00
Corey Taylor
ea8979ecd9 Drop abandoned newt callmap functions 2023-02-11 18:20:32 -06:00
Corey Taylor
c48c0c5c85 Drop abandoned maxdb callmap functions 2023-02-11 18:01:55 -06:00
Corey Taylor
8bbef27587 Drop removed xsl callmap functions 2023-02-11 17:50:31 -06:00
orklah
8e3ba6af72
Merge pull request #9264 from othercorey/fix-callmap-sigs
Fix several callmap fuction signatures
2023-02-11 12:22:33 +01:00
Corey Taylor
9547a5cba5 Fix several callmap function signatures 2023-02-11 04:53:11 -06:00
Corey Taylor
4f4ffb9080 Drop abandoned mcve m_ functions 2023-02-11 04:44:18 -06:00
Bruce Weirdan
1ee0f1bcb8
Merge pull request #9256 from othercorey/spoofchecker-callmap
fixes https://github.com/vimeo/psalm/issues/9254
2023-02-09 12:53:42 -04:00
Corey Taylor
b467a0a74e Fix Spoofchecker callmaps 2023-02-09 10:38:39 -06:00
orklah
2b7ba42520
Merge pull request #9226 from phansys/mysqli
Use "numeric-string" type for some MySQLi properties
2023-02-06 21:36:21 +01:00
Javier Spagnoletti
22efcb12fb Use "numeric-string" type for some MySQLi properties 2023-02-06 17:20:05 -03:00
orklah
05bdeb2c5a
Merge pull request #9227 from othercorey/callmap-resources
Convert callmaps resource types
2023-02-06 18:33:52 +01:00
Corey Taylor
e754fd8b59 Add more specific return for class-implements 2023-02-06 01:24:18 -06:00
Corey Taylor
e8ae1ec084 Convert callmaps resource types 2023-02-06 01:12:14 -06:00
Corey Taylor
f922e576c8 Fix xmlrpc callmap functions that were dropped in PHP 8.0 2023-02-02 12:21:31 -06:00
orklah
a4d1b0691d
Merge pull request #9085 from BenMorel/newInstanceArgs
Fix ReflectionClass::newInstanceArgs() with named parameters
2023-01-19 23:08:21 +01:00
Corey Taylor
cfaf763ba7 Fix remaining ignored CallMap return types that can be updated 2023-01-17 17:24:51 -06:00
Jack Worman
b2c69ada43 Fix libxml_get_errors() return type 2023-01-16 17:38:22 -05:00
Corey Taylor
bbc522709b Clean up more callmap return types 2023-01-15 03:57:22 -06:00
Benjamin Morel
a669c89074 Fix ReflectionClass::newInstanceArgs() 2023-01-08 23:58:14 +01:00
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
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
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
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