Matthew Brown
|
7a02d300d6
|
Fix closure return type
|
2018-06-09 10:23:04 -04:00 |
|
Matthew Brown
|
6d4d0cf825
|
Fix #794 - use template types to restrict input
|
2018-06-09 10:14:18 -04:00 |
|
Matthew Brown
|
df89c8d7f2
|
Fix variadic check for included file functions
|
2018-05-30 21:01:50 -04:00 |
|
Matt Brown
|
549e90eca4
|
Treat required files the same as the files that require them, reporting-wise
|
2018-05-30 16:19:18 -04:00 |
|
Tyson Andre
|
39a1ecfd89
|
Remove unused variables (#777)
|
2018-05-29 10:08:56 +01:00 |
|
Matthew Brown
|
81ae1ca222
|
Fix #747 - allow Generator to replace Traversable in templated params
|
2018-05-28 22:26:43 +01:00 |
|
Matthew Brown
|
3805893c5a
|
Improve error messages for literal types
|
2018-05-20 17:43:02 -04:00 |
|
Matthew Brown
|
a3e2b98f7c
|
Fix #743 - put InvalidArgument messages before PossiblyFalseArgument
|
2018-05-20 13:14:31 -04:00 |
|
Matthew Brown
|
5bd9ba6207
|
Make TClassString inherit from TLiteralString
|
2018-05-20 00:27:53 -04:00 |
|
Matthew Brown
|
34a39b895c
|
Support checks for array emptiness
|
2018-05-19 20:31:48 -04:00 |
|
Matt Brown
|
5c0f4a999c
|
Move a bunch of classes to better places
|
2018-05-11 18:35:02 -04:00 |
|
Matthew Brown
|
8f9b4098bc
|
Allow scalar to work with false
Fixes #718
|
2018-05-08 22:18:58 -04:00 |
|
Matt Brown
|
6e259bed03
|
Always evaluate closures, even when passed as mixed call args
|
2018-05-08 18:11:10 -04:00 |
|
Matt Brown
|
a0984cdaf1
|
Fix #697 - make missing objectlike fields an InvalidArgument
|
2018-04-27 17:10:57 -04:00 |
|
Matt Brown
|
0882b9c0f9
|
Fix #687 - interpret unpacked arguments in array_push and array_unshift
|
2018-04-20 17:14:38 -04:00 |
|
Matt Brown
|
1f3837d972
|
Fix #686 - allow undefined class inside class_exists call
|
2018-04-19 12:16:00 -04:00 |
|
Matt Brown
|
6afaf5aae9
|
Make Psalm compatible with PHP Parser 4
|
2018-04-17 13:06:02 -04:00 |
|
Matthew Brown
|
3fe9a0606e
|
Fix #654 - warn about MixedArgument when inferredType property does not exist
And handle str_replace more leniently when args unknown
|
2018-04-07 15:16:46 -04:00 |
|
Matthew Brown
|
6a6d6465f5
|
Fix #619 - don’t use capitalised letters to discriminate classes
|
2018-03-30 19:04:21 -04:00 |
|
Matthew Brown
|
c8c216edb2
|
Fix #610 - add slightly hacky check for multiple callmap options
|
2018-03-30 18:51:59 -04:00 |
|
Matthew Brown
|
58115599a1
|
Add support for callable(...) syntax
Ref #580
|
2018-03-26 22:13:10 -04:00 |
|
Matthew Brown
|
1f57876e48
|
Allow extract array to be passed by ref
|
2018-03-21 11:14:05 -04:00 |
|
Matthew Brown
|
49820b06dd
|
Prevent variadic args disrupting required closure param count
|
2018-03-21 09:04:07 -04:00 |
|
Matthew Brown
|
be72423980
|
Check for magic __call when analysing callables
|
2018-03-21 00:13:57 -04:00 |
|
Matthew Brown
|
d17058e7d5
|
Fix #608 - only check callable type if string/array is not also there
|
2018-03-20 08:58:05 -04:00 |
|
Matthew Brown
|
8b102d891c
|
Allow intersection types in callable args
|
2018-03-18 20:29:41 -04:00 |
|
Matthew Brown
|
4b014eaee1
|
Fix #600 - don’t implicitly convert object name to string
|
2018-03-18 14:16:47 -04:00 |
|
Matt Brown
|
4248cacbaf
|
Flesh out template type before replacing
|
2018-03-06 14:23:41 -05:00 |
|
Matt Brown
|
fac5554e13
|
Fix errors around static class constants in template vars
|
2018-03-06 13:59:59 -05:00 |
|
Matt Brown
|
57bbdc8034
|
Replace classlike name with more accurate context self
|
2018-03-05 18:05:12 -05:00 |
|
Matt Brown
|
aff689deea
|
Add support for __CLASS__ in template types
|
2018-03-05 17:36:08 -05:00 |
|
Matt Brown
|
57c2adb923
|
Fix #558 - add extra tests around functionality
|
2018-03-05 17:10:52 -05:00 |
|
Matt Brown
|
850998ed1a
|
Add class-string type for enforcing use of ::class constants
|
2018-03-05 16:06:06 -05:00 |
|
Matt Brown
|
d8825701f5
|
Fix #556 - closure params with defaults can still accept extra
|
2018-03-05 10:29:19 -05:00 |
|
Matthew Brown
|
67cad2063d
|
Fix #555 - fix function name mapping class
|
2018-03-05 09:01:24 -05:00 |
|
Matthew Brown
|
154341577d
|
Give expected/actual argument counts
|
2018-03-02 00:07:19 -05:00 |
|
Matthew Brown
|
799e81bc96
|
Improve callable issue message
|
2018-03-02 00:03:07 -05:00 |
|
Matthew Brown
|
6fbd8753d5
|
Fix $function_id when checking for method existence
|
2018-03-01 23:52:11 -05:00 |
|
Matthew Brown
|
cc19f50c04
|
Prevent missing classes from confounding callable arg checks
|
2018-03-01 23:43:52 -05:00 |
|
Matthew Brown
|
6660aa8a00
|
Fix #548 - check array_map/array_filter args for param matches
|
2018-03-01 23:33:21 -05:00 |
|
Matthew Brown
|
47cb74ddd1
|
Fix issue where namespaced function could be treated as root
|
2018-02-25 11:13:00 -05:00 |
|
Matt Brown
|
441506ad6f
|
Fix #216 - scan assert* functions for assertions, then apply to current context
|
2018-02-23 15:39:33 -05:00 |
|
Matt Brown
|
e04c4f866c
|
Fix #524 - prevent fatal error when checking stubbed function from namespace
|
2018-02-21 11:32:52 -05:00 |
|
Matthew Brown
|
e862e4ddb1
|
Make all plugin methods static
cc @TysonAndre
|
2018-02-11 20:56:34 -05:00 |
|
Matt Brown
|
72675cb5a0
|
Be more rigorous about atomic docblock type reconciliation
|
2018-02-08 13:01:39 -05:00 |
|
Matthew Brown
|
8e0998e081
|
Break apart the Codebase class
|
2018-02-03 18:56:54 -05:00 |
|
Matthew Brown
|
861d907845
|
Add more information to TooMany/TooFewArguments issues
Fixes #481
|
2018-02-02 11:26:55 -05:00 |
|
Matthew Brown
|
d8fb14e6f7
|
Fix incorrect template types being passed through
|
2018-02-01 01:52:20 -05:00 |
|
Matthew Brown
|
fb300baa6d
|
Move a bunch of code into Codebase
|
2018-02-01 00:50:01 -05:00 |
|
Matt Brown
|
fc805a926e
|
Add code coverage message at the end of a scan
|
2018-01-31 16:08:52 -05:00 |
|