Matthew Brown
|
41f7dc4a52
|
Fix #93 - fix MethodSignatureMismatch checks on builtin class methods
|
2017-02-09 17:49:13 -05:00 |
|
Matthew Brown
|
a5922678ed
|
Merge pull request #91 from nickyr/master
Fix Psalm errors in StringChecker example, add it to psalm.xml
|
2017-02-09 16:12:44 -05:00 |
|
Nicky Robinson
|
cbcd0722d2
|
Fix Psalm errors in StringChecker example, add it to psalm.xml
|
2017-02-09 16:08:53 -05:00 |
|
Matthew Brown
|
871755ce54
|
Fix link to travis
|
2017-02-09 01:54:41 -05:00 |
|
Matthew Brown
|
66d98a023f
|
Allow false return value
|
2017-02-08 22:45:18 -05:00 |
|
Matthew Brown
|
585cf91ef0
|
If using assertions for type, count as a soft type check
|
2017-02-08 22:17:16 -05:00 |
|
Matthew Brown
|
6934b8ee45
|
Do not emit signature error for constructors
|
2017-02-08 21:19:47 -05:00 |
|
Matthew Brown
|
5cbd25fccc
|
Allow generator to be used as a traversable
|
2017-02-08 20:58:50 -05:00 |
|
Matt Brown
|
8cd83a581a
|
Also unset possibly-in-scope vars
|
2017-02-08 11:27:06 -05:00 |
|
Matthew Brown
|
09ca483e7d
|
Do not ignore object vars in hasVariable
|
2017-02-08 02:33:29 -05:00 |
|
Matthew Brown
|
64cbe005f3
|
Remove more false positives
|
2017-02-08 02:23:41 -05:00 |
|
Matthew Brown
|
cedb70b0b4
|
Reduce false positives for unused variables
|
2017-02-08 01:59:49 -05:00 |
|
Matthew Brown
|
ce63c07e42
|
Fix snippets on very long lines
|
2017-02-08 01:39:49 -05:00 |
|
Matthew Brown
|
89a5f109e8
|
Fix method reference
|
2017-02-08 00:42:53 -05:00 |
|
Matthew Brown
|
cdcacc395d
|
Rename DeadCode to UnusedVariable, UnusedMethod and UnusedClass
|
2017-02-08 00:28:26 -05:00 |
|
Matthew Brown
|
65ef5ba8b7
|
Improve native understanding of docblock-less variadics
|
2017-02-07 22:02:46 -05:00 |
|
Matthew Brown
|
895b612ca1
|
Add extra deadcode test
|
2017-02-07 21:57:59 -05:00 |
|
Matthew Brown
|
5149414c8e
|
Add simple test for dead code
|
2017-02-07 21:44:52 -05:00 |
|
Matt Brown
|
34980fc718
|
Remove dead code and fix config.xsd
|
2017-02-07 18:27:28 -05:00 |
|
Matt Brown
|
f4857eb0dd
|
Make dead code check emit an issue
|
2017-02-07 18:18:33 -05:00 |
|
Matt Brown
|
6b2bb7d917
|
Store first code location for all variables in a statement list
|
2017-02-07 18:09:12 -05:00 |
|
Matthew Brown
|
01beb97413
|
Fix #87 - array types from docblocks can be reasoned about safely
|
2017-02-03 22:07:14 -05:00 |
|
Matthew Brown
|
28e615c048
|
Merge pull request #88 from vimeo/clickable-readme-badges
Making the README badges clickable, and adding one for Packagist.
|
2017-02-03 21:38:06 -05:00 |
|
Jon Ursenbach
|
f287b9b81f
|
Making the README badges clickable, and adding one for Packagist.
|
2017-02-03 21:35:40 -05:00 |
|
Matthew Brown
|
11859e9cc0
|
Bump PhpParser version
|
2017-02-03 20:14:48 -05:00 |
|
Matt Brown
|
ba4f47a41c
|
Config for caching file hashes during run
|
2017-02-02 12:39:39 -05:00 |
|
Matthew Brown
|
0fbf8b5619
|
Remove more dead code
|
2017-02-02 00:45:23 -05:00 |
|
Matthew Brown
|
ec65f31aaa
|
Improve dead code analysis and fix errors found
|
2017-02-02 00:20:58 -05:00 |
|
Matthew Brown
|
5ec2a9742b
|
Fix union type simplification of float|int eradicating int
|
2017-02-01 19:39:40 -05:00 |
|
Matthew Brown
|
1051ba9fc1
|
Wait to evaluate property defaults until analysis
|
2017-02-01 18:27:24 -05:00 |
|
Matthew Brown
|
2852eeebad
|
Add return types to tests
|
2017-02-01 18:11:50 -05:00 |
|
Matthew Brown
|
76b6bc9b3d
|
Prevent Psalm from storing unnecessary checkers
|
2017-02-01 18:11:00 -05:00 |
|
Matthew Brown
|
bf042772bd
|
Get config constants after autoload script
|
2017-02-01 14:56:10 -05:00 |
|
Matthew Brown
|
e925e8b4db
|
Fix #86 - remove empty array from type on !empty check
|
2017-02-01 13:51:26 -05:00 |
|
Matthew Brown
|
a0711de023
|
Update config key to be more accurate ref #85
|
2017-02-01 10:13:37 -05:00 |
|
Matthew Brown
|
d3abc0011d
|
Fix #80 - add dead code checks via command line
|
2017-01-31 23:24:33 -05:00 |
|
Matthew Brown
|
eeccf791ad
|
Add unused method & unused class analysis ref #80
|
2017-01-31 20:47:16 -05:00 |
|
Matt Brown
|
a7872472be
|
Add stubbing tests and modify config initialisation
|
2017-01-31 19:22:05 -05:00 |
|
Matt Brown
|
004fd42062
|
Fix #83 - add support for stubbing
|
2017-01-31 19:21:33 -05:00 |
|
Matthew Brown
|
ce93c4ef2d
|
Assert smart things when offset is variable
|
2017-01-31 01:35:44 -05:00 |
|
Matthew Brown
|
7f8a3d798e
|
Improve clause resolution in while loops
|
2017-01-31 01:30:11 -05:00 |
|
Matthew Brown
|
965a79251d
|
Fix #82 by updating how isset calls are handled
|
2017-01-31 00:34:06 -05:00 |
|
Matthew Brown
|
7d912fc214
|
Remove vars when they’ve been changed
|
2017-01-30 22:26:41 -05:00 |
|
Matthew Brown
|
95ebf5178a
|
Add array_slice call to methods whose return types we can infer
|
2017-01-30 22:26:31 -05:00 |
|
Matt Brown
|
8c68861cc3
|
Fix #81 - interface inheritance checks were broken
|
2017-01-30 18:38:23 -05:00 |
|
Matthew Brown
|
4114456bf4
|
Key off lowercase classname and reduce dead code false positives
|
2017-01-30 00:26:17 -05:00 |
|
Matthew Brown
|
cc500e8228
|
Eliminate dead code
|
2017-01-30 00:25:16 -05:00 |
|
Matthew Brown
|
1ece3071f9
|
Add reference counting for methods and remove dead code
|
2017-01-29 23:44:05 -05:00 |
|
Matthew Brown
|
e9ba513250
|
Add classlike reference counts
|
2017-01-29 22:30:27 -05:00 |
|
Matthew Brown
|
d978966db4
|
Fix #37 - check parent calls for staticness
|
2017-01-29 22:13:53 -05:00 |
|