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

223 Commits

Author SHA1 Message Date
Kamil Tekiela
59d37933b0 SplDoublyLinkedList's index is always int 2023-05-03 22:13:20 +01:00
Alies Lapatsin
7dc9a2dd50 Specify array share for stream_context_get_params return value 2023-04-17 16:11:20 +02:00
Corey Taylor
282e3d3d72 Fix various db callmaps 2023-04-10 09:06:29 -05:00
Corey Taylor
5fa01d8947 Fix remaining intl, reflection. xml and zip callmaps 2023-04-02 06:34:17 -05:00
orklah
c6f66bf5d4
Merge pull request #9577 from kamil-tekiela/improve-range
Improve types for range()
2023-03-28 20:41:13 +02:00
Kamil Tekiela
4d3ecd79cb Improve types for range() 2023-03-28 19:29:03 +01:00
orklah
94f32e9718
Merge pull request #9323 from othercorey/fix-array-unique
Fix array_unique callmap
2023-03-28 20:27:18 +02:00
Corey Taylor
718af70e54 Fix array_unique callmap 2023-03-28 04:09:47 -05:00
orklah
dc503ccbda
Merge pull request #9555 from MoonE/mysqli-fetch-field
Add better return type to mysqli fetch_field*
2023-03-27 19:09:34 +02:00
Corey Taylor
6dfaafde78 Clean up unreflectable callmap methods 2023-03-16 03:34:45 -05:00
Maximilian Krög
7822ba848f
Add better return type to mysqli fetch_field* 2023-03-14 23:23:53 +01:00
Corey Taylor
e71e2edd3c Add missing array, float, int and bool types to callmaps 2023-03-09 13:04:03 -06:00
Corey Taylor
ee77ca63e8 Fix remaining intl callmaps 2023-03-08 20:59:14 -06:00
Corey Taylor
8bd2267060 Fix DOM callmaps 2023-03-06 04:33:59 -06:00
Corey Taylor
879d9cd788 Fix remaining spl and iterator callmaps 2023-02-27 15:23:48 -06:00
Javier Spagnoletti
d3e74ac6e4 [ibm_db2] Update callmaps 2023-02-26 01:48:04 -03:00
Javier Spagnoletti
ab13ddf286 [ibm_db2] Improve return type inference for db2_autocommit() 2023-02-24 19:53:42 -03:00
orklah
12ddd03137
Merge pull request #9387 from phansys/db2_last_insert_id
[ibm_db2] Update some return types in callmaps
2023-02-24 23:44:33 +01:00
Corey Taylor
74a67a0416 Update Phar callmaps 2023-02-23 21:02:24 -06:00
Javier Spagnoletti
abc48b5077 [ibm_db2] Update some return types in callmaps 2023-02-23 21:52:18 -03:00
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
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
12632df67f Fix libxml_get_errors() return type 2023-01-16 17:48:36 -05:00
Corey Taylor
bbc522709b Clean up more callmap return types 2023-01-15 03:57:22 -06:00