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 |
|
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
|
abf561bb7d
|
Improve Psalter return type additions
|
2018-01-23 12:03:18 -05:00 |
|
Matthew Brown
|
fdadcd3a70
|
Fix implemented interface checks for self/static
|
2018-01-23 01:32:16 -05:00 |
|
Matt Brown
|
e249c27308
|
Don’t update return types to null
|
2018-01-22 18:00:19 -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
|
bd6e4a09bd
|
Refactor to break up too-large-files
|
2018-01-14 12:09:40 -05:00 |
|
Matthew Brown
|
fb9f20f4b8
|
Find unused properties with dead code checks
Fixes #424
|
2018-01-10 23:29:18 -05:00 |
|
Matt Brown
|
d93906243d
|
Fix incorrect missing return type
|
2018-01-10 13:04:37 -05:00 |
|
Matthew Brown
|
75daea5f04
|
Fix #382 - improve reserved word checks
|
2018-01-10 00:07:47 -05:00 |
|
Matthew Brown
|
6b68da0e4d
|
Always check typehints for bad classes
|
2018-01-09 22:46:55 -05:00 |
|
Matt Brown
|
edde8930af
|
Speed up Psalm by caching result of Union::getId
|
2018-01-09 15:05:48 -05:00 |
|
Matt Brown
|
b373d6093a
|
Be more lenient with nullable docblock types, allow no return statements
|
2018-01-08 17:17:49 -05:00 |
|
Harrison Heck
|
78346b3400
|
Fix method call missing object.
|
2018-01-07 23:49:26 -05:00 |
|
Matthew Brown
|
66fa081488
|
Fix issue with nullable types going into docblock
|
2018-01-07 18:06:31 -05:00 |
|
Matthew Brown
|
fe96868e27
|
Add documentation
|
2018-01-07 17:25:23 -05:00 |
|
Matthew Brown
|
693c7a81fa
|
Improve tracking of docblock types
|
2018-01-07 17:25:23 -05:00 |
|
Matthew Brown
|
39685e1be6
|
Collapse Issue inheritance and rename new issues
|
2018-01-07 17:25:23 -05:00 |
|
Matthew Brown
|
29b09f9633
|
Continue after param replacement
|
2018-01-07 17:25:23 -05:00 |
|
Matthew Brown
|
dc053e699b
|
Fix resolution of same-namespaced classes
|
2018-01-07 17:25:23 -05:00 |
|
Matthew Brown
|
0e67aae21b
|
Allow updating of params
|
2018-01-07 17:25:23 -05:00 |
|
Matthew Brown
|
5bae869dc6
|
Break file manipulation out into Psalter
|
2018-01-07 17:25:23 -05:00 |
|
Matt Brown
|
928b01a7c7
|
Find and fix code issues where functionality is available
|
2018-01-07 17:25:23 -05:00 |
|
Matt Brown
|
a76fde5b98
|
Break out mismatching param/return type issues from InvalidDocblock
|
2018-01-05 12:11:12 -05:00 |
|
Matthew Brown
|
2ebf6a0ef5
|
Allow non-lethal method signature mismatches to be suppressed
|
2018-01-05 01:04:07 -05:00 |
|
Matthew Brown
|
40587292a5
|
Don’t warn about wider child param types
|
2018-01-05 00:55:48 -05:00 |
|
Matthew Brown
|
6f5a214365
|
Allow param redefinition, but complain if it differs to parent class
|
2018-01-05 00:19:35 -05:00 |
|
Matthew Brown
|
c9173c7da3
|
Add more specific issues for falsable/nullable invalid return types
|
2018-01-04 21:36:16 -05:00 |
|
Matthew Brown
|
6cff92d813
|
Don’t worry about invalid closure docblocks
|
2018-01-04 20:35:43 -05:00 |
|
Matthew Brown
|
a8ac9d4fdc
|
Flesh out return types before comparing
|
2018-01-04 20:13:09 -05:00 |
|
Matthew Brown
|
5995de0c9f
|
Fix possible nullref
|
2018-01-04 19:31:12 -05:00 |
|
Matthew Brown
|
6e7bab58c4
|
Be better about inherited core method arg types
|
2018-01-04 18:58:03 -05:00 |
|
Matthew Brown
|
12aef22f05
|
Fix issue where byref differences would not be highlighted
|
2018-01-04 14:01:17 -05:00 |
|
Matt Brown
|
310f91ea81
|
Warn when methods with typehints don’t return for all codepaths
|
2018-01-02 16:57:40 -05:00 |
|
Matthew Brown
|
81cfe09fae
|
Improve reporting of classlike locations in docblocks
|
2018-01-01 20:04:03 -05:00 |
|
Matthew Brown
|
752e99ad2e
|
Reduce PossiblyUnusedParam false positives
|
2017-12-30 08:47:00 -05:00 |
|
Matthew Brown
|
f81642c1eb
|
Fix location of function param vars
|
2017-12-29 21:28:21 -05:00 |
|
Matthew Brown
|
875bb8c072
|
Improve dead code detection, reducing false positives for params
|
2017-12-29 17:27:16 -05:00 |
|
Matthew Brown
|
8efc939a5f
|
Move Psalm execution code into PHP file that Psalm can analyse
|
2017-12-29 17:02:56 -05:00 |
|
Matthew Brown
|
2011b8fb8f
|
Remove dead code
|
2017-12-16 10:51:04 -05:00 |
|
Matt Brown
|
eca7351472
|
Add return-level issues as well as function-level ones
Fixes #379
|
2017-12-07 15:50:25 -05:00 |
|
Matthew Brown
|
df90d72ad1
|
Emit return type errors at the function itself, not its parent
Fixes #363
|
2017-12-06 00:11:05 -05:00 |
|
Matthew Brown
|
52fc81e4ab
|
Remove need for a __toString return type
Fixes #364
|
2017-12-05 23:47:50 -05:00 |
|
Matthew Brown
|
a8a1489a8f
|
Fix closure naming convention so it doesn’t confuse method id checks
|
2017-12-05 01:47:49 -05:00 |
|
Matthew Brown
|
cff7f35d00
|
Change __toString type conversions to more precise getId checks
|
2017-12-03 12:44:08 -05:00 |
|
Matthew Brown
|
cb9079ca88
|
Improve generic param replacement
|
2017-12-03 11:23:40 -05:00 |
|
Matthew Brown
|
cfeb4c2586
|
Simplify vars_possibly_in_scope types
|
2017-12-02 13:32:20 -05:00 |
|