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

13800 Commits

Author SHA1 Message Date
3b66272aa0 More rector fixes 2023-10-21 20:45:09 +02:00
cddf6a9a57 Rector fixes 2023-10-21 20:44:04 +02:00
orklah
915d801508
Merge pull request #10295 from nicelocal/fix_extension_loaded
Fix method calls and property accesses after extension_loaded
2023-10-21 13:27:32 +02:00
orklah
3ddceb3ff3
Merge pull request #10294 from aleksandr-shevchenko/patch-1
Update IssueBuffer.php
2023-10-19 20:22:07 +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
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
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
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
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
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
cgocast
56926ee488 Fix return of BadSqlTainter::afterExpressionAnalysis() 2023-10-09 14:27:36 +02:00
cgocast
eea7c33309
Merge branch 'vimeo:5.x' into 5.x 2023-10-09 14:17:50 +02:00
orklah
cad10a1af8
Merge pull request #10266 from tuqqu/never-parameter-type
Disallow `never` type for parameters
2023-10-09 01:20:56 +02:00
tuqqu
a4cebb2cb8 Disallow never type for parameters 2023-10-08 20:47:37 +02:00
orklah
16be90c351
Merge pull request #10262 from robchett/negated_class_exist_convert_class-string_to_string
Negated class_exist check on class-string converts to string instead of mixed
2023-10-08 19:09:14 +02:00
orklah
67ac81e220
Merge pull request #10261 from robchett/allow_named_params_for_callables
Allow parameter names in callable docblocks with templates
2023-10-08 19:08:23 +02:00
orklah
b65e095ea0
Merge pull request #10264 from robchett/support_aliases_for_check_type
Add alias support to psalm-check-type
2023-10-08 19:07:45 +02:00
robchett
d874aab881 Add alias support to psalm-check-type 2023-10-08 17:46:59 +01:00
robchett
c729fcd5c8 Negated class_exist check on class-string converts to string instead of mixed 2023-10-08 15:48:48 +01:00
robchett
fc7f846fbd Fix test case for named variadic callable docblock 2023-10-07 16:59:43 +01:00
robchett
c71a252dee Add tests for callable docblock parsing 2023-10-07 16:04:48 +01:00
robchett
a93b35853e Allow names in callable docblocks 2023-10-07 14:49:21 +01:00
tuqqu
2bc330976f Add tests for never return type 2023-10-04 21:18:59 +02:00
tuqqu
2a910d1f17 Changed error message for never return error 2023-10-04 21:00:04 +02:00
tuqqu
413f1d6ce3 Fix error message for returning function with never return type 2023-10-04 20:51:31 +02:00
orklah
69d5881d56
Merge pull request #10248 from tuqqu/check-return-by-ref-in-descendant-method
Emit `MethodSignatureMismatch` when descendant does not return by reference
2023-10-03 07:41:10 +02:00
orklah
8d35034b77
Merge pull request #10244 from tuqqu/socket-shutdown-fix
Add stream_socket_shutdown socket_shutdown to impure function list
2023-10-03 07:39:47 +02:00
tuqqu
9f9e5f1e18 Emit MethodSignatureMismatch when descendant does not return by reference 2023-10-03 03:41:11 +02:00
tuqqu
2baa094f58 Remove duplicate from impure list 2023-10-03 02:17:26 +02:00
tuqqu
b05ffeaf20 Add socket_shutdown stream_socket_shutdown functions to impure list 2023-10-03 02:17:08 +02:00
orklah
3a8f2d2a07
Merge pull request #10241 from kkmuffme/remove-duplicate-namespace-in-internal-method-error
Remove duplicate namespace in InternalMethod error message
2023-10-02 21:35:54 +02:00
cgocast
e0c24cbe7a Remove unused parents_nodes 2023-10-02 15:38:01 +02:00
cgocast
6eb40e7897 Fix code style 2023-10-02 15:22:57 +02:00
cgocast
2eca720e9d Merge branch '5.x' of https://github.com/cgocast/psalm into 5.x 2023-10-02 15:13:07 +02:00