Matthew Brown
|
e1d922e9df
|
Add support for ignoredExceptions
|
2018-06-22 01:26:10 -04:00 |
|
Matthew Brown
|
e3ae1bf26f
|
Fix #15 - check for uncaught throws if config flag is set
|
2018-06-22 01:13:49 -04:00 |
|
Matthew Brown
|
4688cf7a92
|
Fix #831 - ignore falsable issues when getting callmap function params
|
2018-06-20 09:09:03 -04:00 |
|
Matthew Brown
|
fa51c39902
|
Improve dead code analysis of switch statements
|
2018-06-16 21:54:44 -04:00 |
|
Matthew Brown
|
3670f066bb
|
Improve dead code detection
|
2018-06-16 20:01:41 -04:00 |
|
Matthew Brown
|
3a3c10d044
|
Improve handling of ? before type
|
2018-06-08 23:54:07 -04:00 |
|
Matthew Brown
|
068dc50b21
|
Fix #792 - allow docblock array form of variadic arg
|
2018-06-08 21:18:49 -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 |
|
Matthew Brown
|
81ae1ca222
|
Fix #747 - allow Generator to replace Traversable in templated params
|
2018-05-28 22:26:43 +01:00 |
|
Matthew Brown
|
62486c1adb
|
Fix #772 - allow closures to be defined on a single line
|
2018-05-25 18:42:39 +01:00 |
|
Matthew Brown
|
c217849737
|
Improve handling of projects that use include/require heavily
|
2018-05-22 23:39:01 -04:00 |
|
Matthew Brown
|
228337415b
|
Fix #761 - add support for class constants in enums
|
2018-05-21 00:46:56 -04:00 |
|
Matt Brown
|
5c0f4a999c
|
Move a bunch of classes to better places
|
2018-05-11 18:35:02 -04:00 |
|
Matt Brown
|
4507962883
|
Fix possibly undefined issue
|
2018-04-25 14:45:51 -04:00 |
|
Matt Brown
|
8ec34ed4ed
|
Only cache effects hashes when there’s no change
|
2018-04-25 14:33:39 -04:00 |
|
rightfold
|
5c908da55a
|
Check that __clone, __construct, __destruct signatures omit return types
PHP complains when you have a return type declared for these three methods.
|
2018-04-21 16:04:03 -04:00 |
|
Matt Brown
|
6afaf5aae9
|
Make Psalm compatible with PHP Parser 4
|
2018-04-17 13:06:02 -04:00 |
|
Matt Brown
|
c721a7085a
|
Remove blank line
|
2018-04-10 14:03:36 -04:00 |
|
Matt Brown
|
fe033f1b6c
|
Fix #663 - infer array return types for closures
|
2018-04-10 13:05:31 -04:00 |
|
Matthew Brown
|
5915718013
|
Fix #660 - always refer closure types
|
2018-04-09 22:00:36 -04:00 |
|
Matt Brown
|
e97750c761
|
Check for empty values properly
Ref #647
|
2018-04-05 14:28:33 -04:00 |
|
Matthew Brown
|
452fd2e7c9
|
Make UndefinedClass an explicit class-related issue
|
2018-03-21 10:17:57 -04:00 |
|
Matthew Brown
|
7a5d4b8516
|
Fix the right thing
|
2018-03-20 23:55:26 -04:00 |
|
Matthew Brown
|
eb3750d8f3
|
Remove unnecessary @var annotations
|
2018-03-17 00:19:55 -04:00 |
|
Matt Brown
|
0bd229a86f
|
Add better checks for trait-related fatal errors
|
2018-03-13 18:12:05 -04:00 |
|
Matthew Brown
|
3b48f43fdc
|
Throw exception if function doesn’t exist
|
2018-03-03 16:52:48 -05:00 |
|
Matt Brown
|
276c1a785d
|
Allow underscores to be ignored by UnusedParam checks
|
2018-03-02 11:32:34 -05:00 |
|
Matt Brown
|
80864b1ce8
|
Don’t be concerned about unused params named $_
Fixes #540
|
2018-02-27 11:39:26 -05:00 |
|
Matt Brown
|
5471b89391
|
Make array coercion an error
|
2018-02-21 18:59:31 -05:00 |
|
Matt Brown
|
316dd78e6a
|
Fix #509 - don’t complain about a missing param type when system parent has one
|
2018-02-21 11:57:52 -05:00 |
|
Matthew Brown
|
108ca54867
|
Fix #516 - make sure --find-references-to doesn’t output missing references
|
2018-02-17 17:45:30 -05:00 |
|
Matthew Brown
|
c87204acbf
|
Don’t check for unused vars when checking for initialiasations
Fixes #517
|
2018-02-17 12:02:31 -05:00 |
|
Matthew Brown
|
7940268a13
|
Fix #512 - check for undefined constant in param default
|
2018-02-15 20:27:42 -05:00 |
|
Matt Brown
|
1d46124bab
|
Fix issues found by detecting docblock type inconsistencies
|
2018-02-06 13:40:28 -05:00 |
|
Matthew Brown
|
473a174f23
|
Memoise type tokenisation and move functions to more logical locations
|
2018-02-04 12:23:32 -05:00 |
|
Matthew Brown
|
8e0998e081
|
Break apart the Codebase class
|
2018-02-03 18:56:54 -05:00 |
|
Matthew Brown
|
e5bc0e6129
|
Fix #431 - report invalid return types before invalid nullable/falsable ones
|
2018-02-02 19:08:10 -05:00 |
|
Matthew Brown
|
fb300baa6d
|
Move a bunch of code into Codebase
|
2018-02-01 00:50:01 -05:00 |
|
Matthew Brown
|
cf8734a480
|
Add support for generic classes
|
2018-01-31 23:27:25 -05:00 |
|
Matthew Brown
|
de9b90297a
|
Allow inheriting functions with nullable signatures to return void
|
2018-01-31 19:24:34 -05:00 |
|
Matt Brown
|
3d6bb23e28
|
Add stats breakdown for files
|
2018-01-31 17:09:09 -05:00 |
|
Matt Brown
|
b2b2572e4d
|
Fix #478 - allow is_a checks with string arg
|
2018-01-30 16:45:29 -05:00 |
|
Matthew Brown
|
6c38b2fdfe
|
Fix #348 - don’t warn about a little contravariance
|
2018-01-29 22:29:49 -05:00 |
|
Matthew Brown
|
3482ee3b39
|
Split UntypedParam into MissingParamType and MissingClosureParamType
|
2018-01-28 20:03:47 -05:00 |
|
Matthew Brown
|
44b8b22995
|
Improve checks for unused variables and params
|
2018-01-28 17:28:34 -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
|
62401f15fd
|
Prevent finding unused classes and methods when multithreaded
|
2018-01-25 15:40:01 -05:00 |
|
Matthew Brown
|
ea28ee709d
|
Improve unused variable detection slightly
|
2018-01-25 01:04:26 -05:00 |
|