1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-10 23:18:40 +01:00
Commit Graph

11211 Commits

Author SHA1 Message Date
Andrew Nagy
e16a4f3f85 more testing fixes 2022-11-30 18:28:13 +00:00
Andrew Nagy
b0705b4e29 fix tests 2022-11-30 18:14:06 +00:00
Andrew Nagy
da66665de9 Merge branch '4.x' into feature/upgrade-lsp 2022-11-30 17:59:23 +00: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
orklah
618d599283
Merge pull request #8678 from VincentLanglet/phpstanParamOut
Add support for phpstan-param-out
2022-11-07 13:15:45 +01:00
Vincent Langlet
6916d414e2 Add support for phpstan-param-out 2022-11-07 10:22:33 +01:00
Côme Chilliet
8e70aa3a77
Fix ReflectionExtension::getVersion signature in CallMap_historical.php as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-07 09:12:36 +01:00
orklah
d0bc6e25d8
Merge pull request #8677 from orklah/openssl
adding openssl_x509_verify
2022-11-06 21:37:08 +01:00
orklah
398cf99c6c revert wrong commit 2022-11-06 21:24:03 +01:00
orklah
74111a3e93 adding openssl_x509_verify 2022-11-06 21:22:57 +01:00
orklah
b48a713a48
Merge pull request #8676 from othercorey/fix-return-callmap
Fix assert testing callmap return types
2022-11-06 09:59:46 +01:00
Corey Taylor
b87ebd697f Fix assert testing callmap return types 2022-11-06 00:59:55 -05:00
orklah
0e1c638a95
Merge pull request #8666 from weirdan/remove-argc-argv-from-env
Remove `argc` and `argv` elements from `$_ENV`
2022-11-05 20:58:17 +01:00
Bruce Weirdan
81423dc12b
Remove argc and argv elements from $_ENV
Fixes vimeo/psalm#8662
2022-11-05 15:19:21 -04:00
orklah
1e454fa3d5
Merge pull request #8644 from neclimdul/SplFile-getSize
Fix Spl file handling signatures
2022-11-04 07:28:54 +01:00
James Gilliland
a1f40c9cab Fix Spl file handling signatures
Update SplFileInfo method signatures and related classes.

Fixes #8642
2022-11-04 07:11:05 +01:00
orklah
3daad0c32d
Merge pull request #8652 from VincentLanglet/improveSerializeSupport
serialize is not pure for array of object
2022-11-03 20:29:09 +01:00
Vincent Langlet
c02ed9da0a Fix cs 2022-11-03 20:24:15 +01:00
orklah
2b3fa46348
Merge pull request #8654 from VincentLanglet/phpstanAssert
Add support for phpstan assertions
2022-11-03 18:30:20 +01:00
Vincent Langlet
fbaf6afb30 Try 2022-11-03 18:11:01 +01:00
Vincent Langlet
dc977964c6 Refacto 2022-11-03 16:05:40 +01:00
Côme Chilliet
24581dfecb
Fix return type of ReflectionExtension::getVersion
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-11-03 15:08:27 +01:00
Vincent Langlet
b2f095f1b8 Add tests 2022-11-03 14:39:48 +01:00
Vincent Langlet
6382af1c97 Add support for phpstan assertions 2022-11-03 14:26:27 +01:00
Vincent Langlet
4a27322144 serialize is not pure for array of object 2022-11-03 11:48:33 +01:00
orklah
85b5436776
Merge pull request #8650 from VincentLanglet/serialize
Do not report serialize as unused
2022-11-02 23:24:37 +01:00
Vincent Langlet
0bdfc4b60b Mark serialize as impure only for object 2022-11-02 23:08:03 +01:00
Vincent Langlet
ef0a17ee11 Do not report serialize as unused 2022-11-02 22:52:42 +01:00
orklah
761d67faa6
Merge pull request #8641 from BenMorel/xmlreader
Fix XMLReader::expand() nullable parameter $baseNode
2022-11-01 19:54:48 +01:00
orklah
d3f4240d6a
Merge pull request #8643 from franmomu/patch-1
Allow to set PHP 8.2 version
2022-11-01 19:52:59 +01:00
Fran Moreno
933caa8f69
Allow to set PHP 8.2 2022-11-01 16:25:03 +01:00
Benjamin Morel
ee7fc0fad8 Fix XMLReader::expand() nullable parameter $baseNode 2022-11-01 13:26:41 +01:00
orklah
3f0107e0c7
Merge pull request #8634 from lptn/php82
Add dictionary delta for PHP 8.2
2022-10-31 19:43:34 +01:00
Alies Lapatsin
c57378b6fb
Merge branch '4.x' into php82 2022-10-31 22:28:01 +04:00
Alies Lapatsin
9516baced6 Update str_split signature to reflect PHP 8.2 changes 2022-10-31 21:27:46 +03:00
orklah
41e870baa9
Merge pull request #8639 from hamburnyog/fix-issue-8631
Fix for issue #8631
2022-10-31 17:33:12 +01:00
William Owen O. Ponce
77b3962b94 Fix typo 2022-10-31 23:09:07 +08:00
Alies Lapatsin
b450eac812 Add PHP 8.2 functions to the main delta 2022-10-31 13:00:11 +03:00
Alies Lapatsin
855eef9205 Increment PHP_MINOR_VERSION (to load delta for PHP 8.2) 2022-10-31 12:44:34 +03:00
Alies Lapatsin
ceb50e5cd5
Merge branch '4.x' into php82 2022-10-31 13:00:29 +04:00
Alies Lapatsin
61e95f948d Add removed section 2022-10-31 01:42:05 +03:00
Alies Lapatsin
6cf0657c6a Add dictionary delta for PHP 8.2 2022-10-31 00:43:40 +03:00
orklah
b739b67080
Merge pull request #8594 from kkmuffme/callable-invalidargument-required-param-mismatch-missing-error
ensure callbacks have the required number of params
2022-10-22 12:20:29 +02:00
kkmuffme
7d953dfb90 add tests 2022-10-22 08:53:40 +02:00
kkmuffme
edeff148b4 handle variadic 2022-10-22 08:28:56 +02:00
orklah
e8e8777561
Merge pull request #8592 from gphargreaves/#7810/improve-reflection-stubs
#7810/improve reflection stubs
2022-10-18 00:09:06 +02:00
orklah
48b8efde99
Merge pull request #8584 from boesing/feature/8521
Enhance type detection for internal php functions `key`, `current`, `end` and `reset`
2022-10-18 00:07:13 +02:00
orklah
4025ce7a30
Merge pull request #8600 from kkmuffme/fix-wrong-phpversion-id
fix wrong php version id in $_FILES
2022-10-17 23:58:25 +02:00
kkmuffme
41fbb14586 fix wrong php version id in $_FILES 2022-10-17 23:05:50 +02:00
Maximilian Bösing
eb6bbfb3b5
qa: remove redundant check as !empty already ensures that key does not return null
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
2022-10-17 20:38:34 +02:00