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 |
|
Matthew Brown
|
e0fa3adb6f
|
Split up CallChecker to speed up Psalm
|
2018-01-28 18:29:38 -05:00 |
|
Matthew Brown
|
ed5245bc47
|
Go easy on unknown invocations
|
2018-01-28 18:13:38 -05:00 |
|
Matthew Brown
|
44b8b22995
|
Improve checks for unused variables and params
|
2018-01-28 17:28:34 -05:00 |
|
Matthew Brown
|
4a672fade8
|
Add a couple of optimisations suggested by Scrutinizer
|
2018-01-28 17:26:09 -05:00 |
|
Matthew Brown
|
7ce053bd8a
|
Make docblocks sligtly more phpdoc-compatible
|
2018-01-28 16:52:57 -05:00 |
|
Matthew Brown
|
dd32452d90
|
Remove more dead code found by Psalm
|
2018-01-28 12:43:19 -05:00 |
|
Matthew Brown
|
f628187de9
|
Remove dead code found by improved Psalm checks
|
2018-01-28 12:01:51 -05:00 |
|
Matt Brown
|
a2d11cce51
|
Fix static/self return type handling
|
2018-01-26 13:51:00 -05:00 |
|
Matt Brown
|
5e0a8c4339
|
Inherit correct self return type
|
2018-01-26 10:59:30 -05:00 |
|
Matt Brown
|
543872f186
|
Allow @psalm-ignore-falsable-return annotation
Downgrades issues around use of current(), reset(), end() etc.
|
2018-01-24 18:52:58 -05:00 |
|
Matt Brown
|
f0ee7203ec
|
Copy over infinite loop protection
|
2018-01-24 13:38:53 -05:00 |
|
Matt Brown
|
445b128a50
|
Fix recursion in static calls too
|
2018-01-24 13:26:24 -05:00 |
|
Matt Brown
|
72a4f148ff
|
Prevent infinite loops when analysing private functions that call each other
|
2018-01-24 13:11:23 -05:00 |
|
Matthew Brown
|
68b00ea49a
|
Add automatic fix for PossiblyUndefinedVariable
|
2018-01-21 16:24:20 -05:00 |
|
Matthew Brown
|
bc9761f6c9
|
Create Codebase out from ProjectChecker
|
2018-01-21 13:45:33 -05:00 |
|
Matthew Brown
|
67ef894ecc
|
Add extra trait test
|
2018-01-21 00:32:45 -05:00 |
|
Matt Brown
|
2212d7c032
|
Reinstate $this type after parent call
Fixes #444
|
2018-01-17 11:00:58 -05:00 |
|
Matthew Brown
|
bd6e4a09bd
|
Refactor to break up too-large-files
|
2018-01-14 12:09:40 -05:00 |
|
Matthew Brown
|
e402ae978a
|
Fix Array_ items nullability
|
2018-01-13 18:33:32 -05:00 |
|
Matthew Brown
|
95553ffc0e
|
Fix by ref method location
|
2018-01-13 01:25:13 -05:00 |
|
Matthew Brown
|
5b45909d6f
|
Use better method for determining by-reference status of functions
|
2018-01-13 01:15:00 -05:00 |
|
Matthew Brown
|
5d9ebd06d6
|
Don’t check classes after extension_loaded call
|
2018-01-12 23:47:36 -05:00 |
|
Matthew Brown
|
7fa541e39b
|
Allow reference-returning functions to be passed as arguments of byref functions
|
2018-01-11 23:18:13 -05:00 |
|
Matt Brown
|
4ea1eb3e2c
|
Fix #436 - get the right location for stubbed functions before analysing their calls
|
2018-01-11 17:39:12 -05:00 |
|
Matt Brown
|
72848477c2
|
Add all Possibly* issues to more lenient config
And add granularity to InvalidPropertyAssignment* issues
|
2018-01-10 10:56:43 -05:00 |
|
Matt Brown
|
edde8930af
|
Speed up Psalm by caching result of Union::getId
|
2018-01-09 15:05:48 -05:00 |
|
Matt Brown
|
916ae930e2
|
Use properly-cased version of class name
|
2018-01-09 10:49:29 -05:00 |
|
Matthew Brown
|
3f3c1380ee
|
Fix erroneous error about no parent when analysing trait call
|
2018-01-09 09:22:23 -05:00 |
|
Matt Brown
|
45eaea1ed9
|
Flesh out callmap type
|
2018-01-05 11:50:27 -05:00 |
|
Matthew Brown
|
8a8253ac4c
|
Fix indentation
|
2018-01-02 21:23:48 -05:00 |
|
Matthew Brown
|
81cfe09fae
|
Improve reporting of classlike locations in docblocks
|
2018-01-01 20:04:03 -05:00 |
|
Matthew Brown
|
a1247aeb60
|
Remove unused var
|
2018-01-01 12:13:32 -05:00 |
|
Matthew Brown
|
7418d6685f
|
Add PossibyInvalidFunctionCall, emitted when function call may not be valid
|
2018-01-01 12:00:02 -05:00 |
|
Matthew Brown
|
c38cf9b672
|
Migrate type reconciliation code to its own class
|
2017-12-29 10:55:53 -05:00 |
|
Matthew Brown
|
58c7aa74b4
|
Prevent recursion when analysing constructor property assignments
|
2017-12-23 01:01:59 +01:00 |
|