1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-04 10:38:49 +01:00
Commit Graph

13993 Commits

Author SHA1 Message Date
a233e621b2 cs-fix 2023-10-19 11:29:55 +02:00
ec959e95d7 Merge remote-tracking branch 'origin/master' into strict_types 2023-10-19 11:28:39 +02:00
8ca610ae60 Fix 2023-10-19 11:23:24 +02:00
576e4d2bc4 Fix method calls and property accesses after extension_loaded 2023-10-19 11:16:20 +02:00
Aleksandr
a652db4170
Update IssueBuffer.php 2023-10-19 11:54:03 +04:00
orklah
24168f6c58
Merge pull request #9794 from robchett/remove_TCallableArray_and_TCallableList
Improved type of callable-array
2023-10-17 23:38:12 +02:00
robchett
0f8a3204f3 Rollback some changes 2023-10-17 21:47:12 +01:00
orklah
d6186ec32a
Merge pull request #10277 from mathroc/patch-3
str_replace / substr_replace signature improvements
2023-10-17 20:32:29 +02:00
orklah
5a862784ac
Merge pull request #10289 from ging-dev/add-fix
Additional caching fixes
2023-10-17 20:32:03 +02:00
orklah
1cdef4014b
Merge pull request #10290 from robchett/method_exists_exponential_growth
Fix memory explosion with calls to method_exists
2023-10-17 20:31:04 +02:00
robchett
e2d1e83b87 Fix memory explosion with calls to method_exists 2023-10-17 19:15:23 +01:00
ging-dev
18c037ec6e fix: bug fixes for test cases 2023-10-17 20:23:11 +07:00
ging-dev
8ee875086f chore: add failing test 2023-10-17 20:17:15 +07:00
orklah
db82d26abc
Merge pull request #10228 from ging-dev/fix
fix: #10080
2023-10-17 01:12:47 +02:00
Mathieu Rochette
54a31b64a4
str_replace / substr_replace signature improvements 2023-10-16 22:45:39 +02:00
ging-dev
0162e75ee8 fix: #10080 2023-10-17 02:43:22 +07:00
orklah
67d6468009
Merge pull request #10276 from braindawg/addIntlExtensionStubs
Add intl extension stub
2023-10-16 20:31:21 +02:00
orklah
b432d812fb
Merge pull request #10274 from tuqqu/enum-case-value-type-from-class-constant
Fix inferring enum case value from a class constant
2023-10-16 20:25:11 +02:00
orklah
c9c3067044
Merge pull request #10279 from trusting-thompson/final-static-constant-type
fix final class constant type
2023-10-16 20:24:25 +02:00
orklah
8f9f8d0104
Merge pull request #10211 from robchett/disable_ignoreInternalFunctionFalseReturn_by_default
Disable ignoreInternalFunction(False|Null)Return by default
2023-10-16 20:22:34 +02:00
orklah
7a7d6a25af
Merge pull request #10242 from cgocast/5.x
Allow tainted numerics except for 'html' and 'has_quotes'
2023-10-16 20:17:39 +02:00
Daniel Linjama
545e21b56b fix final class constant type 2023-10-13 14:18:58 +03:00
tuqqu
d0825b5fe2 Fix for inferring enum case value from a class constant, const test fix 2023-10-13 01:15:05 +02:00
tuqqu
6039e2be9b Fix for inferring enum case value from a class constant 2023-10-10 22:56:36 +02:00
robchett
0bd4f9bffd Update baseline for remaining nullable/falsable issues 2023-10-10 00:04:16 +01:00
robchett
6de539e047 Fix falsable issues with file i/o functions 2023-10-10 00:04:16 +01:00
robchett
5a43e99d15 Fix falsable return issues from array functions, reset/key/shift 2023-10-10 00:04:16 +01:00
robchett
e677c68842 Fix falsable issue with strtotime 2023-10-10 00:04:16 +01:00
robchett
ae8e740127 Fix falsable issues with igbinary_serialize 2023-10-10 00:04:16 +01:00
robchett
ad4dc7705d Fix falsable issues with base64_decode 2023-10-10 00:04:16 +01:00
robchett
f62fd826a2 Fix falsable issues with ini_get/getopt 2023-10-10 00:04:16 +01:00
robchett
276a25de92 Fix falsable issues with json_encode 2023-10-10 00:04:16 +01:00
robchett
f6d4a98063 Fix falsable issue with phpversion 2023-10-10 00:04:16 +01:00
robchett
b109cc8bdf Suppress PossiblyInvalidArrayAccess after preg_split 2023-10-10 00:04:16 +01:00
robchett
f94df41d76 Fix issues with nullable preg_replace 2023-10-10 00:04:16 +01:00
robchett
70507717c4 Fix falsable issues with ob_get_clean in tests 2023-10-09 23:42:59 +01:00
robchett
5e667ef35d Fix falsable calls to getcwd in /tests 2023-10-09 23:42:59 +01:00
robchett
55124181e7 Ignore internal null/false for unit test code 2023-10-09 23:42:59 +01:00
robchett
889bdca461 The function in a callable-array is a non-empty-string 2023-10-09 19:58:05 +01:00
robchett
c341d6f80c Add note to UPGRADING.md about ignoreInternalFunction(False|Null)Return defaulting to false 2023-10-09 19:01:47 +01:00
robchett
e8b2251b94 Set ignoreInternalFunctionFalseReturn and ignoreInternalFunctionNullReturn to false by default 2023-10-09 19:01:47 +01:00
orklah
9b00ac0992
Merge pull request #10265 from tuqqu/introduce-duplicate-property-issue
Introduce `DuplicateProperty` issue
2023-10-09 19:48:58 +02:00
orklah
f1fc9c4887
Merge pull request #10270 from cgocast/issue10269
Fix return of BadSqlTainter::afterExpressionAnalysis()
2023-10-09 19:48:20 +02:00
orklah
ee4e8aa720
Merge pull request #10271 from klimick/type-check-nested-templates
Type check nested templates
2023-10-09 19:47:15 +02:00
RobChett
df6b5fbb75 Update tests for new callable-array shape 2023-10-09 18:04:02 +01:00
RobChett
922e57d86b Formatting 2023-10-09 18:04:02 +01:00
RobChett
f0c9bee421 Improve destructured type of callable-array 2023-10-09 18:04:02 +01:00
RobChett
cac5a1037a Remove TCallableArray and TCallableList 2023-10-09 18:04:02 +01:00
orklah
3f7306d8df
Merge pull request #10254 from tuqqu/never-function-return-error-message
Fix error message for implicitly returning functions with `never` return type
2023-10-09 18:51:11 +02:00
klimick
a3df6505f0 Type check nested templates 2023-10-09 17:07:52 +03:00