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

517 Commits

Author SHA1 Message Date
kkmuffme
05f4e45026 more historical 2023-07-05 17:04:43 +02:00
kkmuffme
3d8629fddc update historical 2023-07-05 16:58:14 +02:00
kkmuffme
ce7b78cf8f offsetExists/Get/Set/Unset types were too generic since only array key types + null lead to expected results 2023-07-05 16:30:17 +02:00
Yannick Gottschalk
f93d23899d Fix glob CallMap and stub to prevent crash on alpine (and possibly other systems) 2023-06-25 13:17:13 +02:00
Andreas Braun
47569ed703
Add call map entries for MongoDB functions 2023-06-20 12:19:54 +02:00
Andreas Braun
0e26bc79aa
Update callmap for ext-mongodb 1.16 2023-06-20 12:01:08 +02:00
kkmuffme
e3f589d79e improve printf,... callmap 2023-06-09 12:59:13 +02:00
orklah
99a54fb7bb
Merge pull request #9875 from robchett/getimagesize_return_type
Improve the return types for getimagesize and getimagesizefromstring
2023-06-07 20:34:25 +02:00
orklah
08d5b719c7
Merge pull request #9878 from ygottschalk/fix/9820-glob-stub
Glob return type stub
2023-06-07 20:32:40 +02:00
Yannick Gottschalk
a130e2f06c Fixes #9820 2023-06-06 17:02:28 +02:00
Christophe Coevoet
fabb8cf10c Update the signature of debug_backtrace
the file and line keys might be missing for frames. This happens when the frame are calls originating from native code.
2023-06-06 10:20:48 +02:00
RobChett
953d7ba7d1 Improve the return types for getimagesize and getimagesizefromstring 2023-06-05 20:05:56 +01:00
kkmuffme
a33c80d291 dirname level must be > 0 otherwise fatal 2023-05-30 16:10:08 +02:00
Kamil Tekiela
fa3f4d252c base64_decode returns false only in strict mode 2023-05-27 23:23:01 +01:00
Hans Mackowiak
7a03f2390d
glob: allow empty string for pattern 2023-05-24 11:14:20 +02:00
kkmuffme
e23db18f6b methods and vars cannot be falsy 2023-05-17 22:09:37 +02:00
kkmuffme
5d0b05addf improve glob stubs
Fix https://github.com/vimeo/psalm/issues/9748
2023-05-06 18:54:30 +02:00
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
39bb7b45a7 Fix return type of str_split() 2023-03-12 21:15:53 -05: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
orklah
8f98539e0a
Merge pull request #9404 from phansys/ibm_db2
[ibm_db2] Update callmaps
2023-02-26 12:50:47 +01:00
Bruce Weirdan
e743cd9e8d
Taint map is non-empty as well 2023-02-26 03:17:13 -04:00
Javier Spagnoletti
d3e74ac6e4 [ibm_db2] Update callmaps 2023-02-26 01:48:04 -03:00
Alies Lapatsin
c23cb4bdf0
Merge branch 'master' into php83-dic 2023-02-25 11:14:00 +01:00
Alies Lapatsin
02de61eabe Update PHP_MINOR_VERSION 2023-02-25 11:13:04 +01:00
Alies Lapatsin
210f0396b4 Fix optional parameter syntax issues 2023-02-25 11:11:28 +01: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
Alies Lapatsin
f2c7ea6e4a Add json_validate to the main callmap 2023-02-21 13:49:29 +01:00
Alies Lapatsin
b7f8ea9d83 Update gc_status shape 2023-02-21 13:42:08 +01:00
Alies Lapatsin
2ca83dea5a Merge branch 'master' into php83-dic 2023-02-21 13:30:37 +01:00
Corey Taylor
4e46706800 Convert callmap associative-array types into proper array types 2023-02-21 01:28:16 -06:00