Matthew Brown
|
ca8f2626a2
|
Remove extraneous function reflection
|
2018-03-30 20:08:12 -04:00 |
|
Matthew Brown
|
75e59f29ea
|
Check as many autoloaded files as possible
and ignore reflected function docblocks - fixes #629
|
2018-03-30 20:03:56 -04:00 |
|
Matthew Brown
|
504a057071
|
Trap return type parse issues in fixUpLocalType
|
2018-03-27 08:07:44 -04:00 |
|
Matthew Brown
|
a51e67018e
|
Fix #587 - check RHS of assignments for variadic receptors
|
2018-03-17 15:01:13 -04:00 |
|
Matthew Brown
|
95b5f205c4
|
Fix #587 - scan all functions for func_get_args
|
2018-03-17 09:22:28 -04:00 |
|
Matthew Brown
|
eb3750d8f3
|
Remove unnecessary @var annotations
|
2018-03-17 00:19:55 -04:00 |
|
Matthew Brown
|
3059a54768
|
Fix #569 - fix trait method mapping bug
|
2018-03-12 23:37:21 -04:00 |
|
Matt Brown
|
4bf652863b
|
Also check for non-false returns on LessSpecificReturnType
|
2018-03-07 11:16:56 -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
|
2be2769008
|
Don’t adhere to assert rules with ored truths
|
2018-02-25 11:30:45 -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 |
|
Matthew Brown
|
cb1fd308f6
|
Don’t rescan files when afterVisitClassLike plugin method is active
|
2018-02-22 22:52:22 -05:00 |
|
Matthew Brown
|
8f2ef50947
|
Ensure that ClassLikeStorage exists when running plugin method
|
2018-02-22 22:35:48 -05:00 |
|
Matthew Brown
|
6d658ef934
|
Fix #535 - always run afterVisitClassLike plugin if given
|
2018-02-22 22:22:31 -05:00 |
|
Matthew Brown
|
ec74b82587
|
Fix #532 - register anonymous classes declared in file too
|
2018-02-20 09:02:51 -05:00 |
|
Matthew Brown
|
81fd016120
|
Fix #193 - allow caching of storages
|
2018-02-19 00:27:39 -05:00 |
|
Tyson Andre
|
aea3779c96
|
Fix unused imports in psalm, wrong param order doc comments (#523)
(Some of the imports appear as strings elsewhere in the same file)
|
2018-02-18 17:55:11 -05:00 |
|
Matthew Brown
|
affcaebc3d
|
Use classes, not full method ids, for plugin execution
|
2018-02-11 22:49:19 -05:00 |
|
Matthew Brown
|
e862e4ddb1
|
Make all plugin methods static
cc @TysonAndre
|
2018-02-11 20:56:34 -05:00 |
|
Matthew Brown
|
6955f77e2e
|
Fix #493 - add support for multiple @var lines per docblock
|
2018-02-07 23:33:31 -05:00 |
|
Matt Brown
|
5d25edf80c
|
Deal with overlapping docblock types and typehints better
|
2018-02-05 16:57:33 -05:00 |
|
Matthew Brown
|
e6c0fbf3b8
|
Create PropertyMap handler class
|
2018-02-04 12:34:08 -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
|
7d6dc7252a
|
Allow methods that extend nullable callmap methods to not return a value
|
2018-02-04 09:22:24 -05:00 |
|
Matthew Brown
|
645602a38e
|
Properly namespace @property types
|
2018-02-03 23:10:22 -05:00 |
|
Matthew Brown
|
8e0998e081
|
Break apart the Codebase class
|
2018-02-03 18:56:54 -05:00 |
|
Matthew Brown
|
cf8734a480
|
Add support for generic classes
|
2018-01-31 23:27:25 -05:00 |
|
Matthew Brown
|
8b740110f4
|
Remove more ? from docblocks
|
2018-01-28 17:07:09 -05:00 |
|
Matthew Brown
|
0cf8bb435f
|
Remove more unused code found by Psalm
|
2018-01-28 13:46:18 -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
|
543872f186
|
Allow @psalm-ignore-falsable-return annotation
Downgrades issues around use of current(), reset(), end() etc.
|
2018-01-24 18:52:58 -05:00 |
|
Matthew Brown
|
bc9761f6c9
|
Create Codebase out from ProjectChecker
|
2018-01-21 13:45:33 -05:00 |
|
Matthew Brown
|
e05a7c00cc
|
Break FileScanner out from FileChecker
|
2018-01-21 12:44:46 -05:00 |
|
Matthew Brown
|
bd6e4a09bd
|
Refactor to break up too-large-files
|
2018-01-14 12:09:40 -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
|
d61829adde
|
Allow the use of property docblocks without all docblocks
|
2018-01-13 00:32:20 -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 |
|
Matthew Brown
|
fb9f20f4b8
|
Find unused properties with dead code checks
Fixes #424
|
2018-01-10 23:29:18 -05:00 |
|
Matthew Brown
|
75daea5f04
|
Fix #382 - improve reserved word checks
|
2018-01-10 00:07:47 -05:00 |
|
Matt Brown
|
3b5ddb8dc2
|
Reduce use of __toString and remove profiling
|
2018-01-09 15:44:31 -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 |
|
Matthew Brown
|
693c7a81fa
|
Improve tracking of docblock types
|
2018-01-07 17:25:23 -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
|
81cfe09fae
|
Improve reporting of classlike locations in docblocks
|
2018-01-01 20:04:03 -05:00 |
|
Matthew Brown
|
f81642c1eb
|
Fix location of function param vars
|
2017-12-29 21:28:21 -05:00 |
|
Matthew Brown
|
57592aca41
|
Fix #409 - PropertyNotSetInConstructor can be suppressed at the property level
|
2017-12-27 12:27:59 +01:00 |
|
Tyson Andre
|
e2e86beee7
|
Fix a possibly undefined variable seen when issue is suppressed (#391)
|
2017-12-15 12:07:34 -05:00 |
|