Matthew Brown
|
4348888b3e
|
Prevent error when no params are given
|
2017-02-21 01:56:43 -05:00 |
|
Matthew Brown
|
e61ea17db5
|
Move FileChecker functionality into separate, better-contained classes
|
2017-02-18 13:41:27 -05:00 |
|
Matthew Brown
|
81e24de76f
|
Fix invalid NullPropertyFetch warning
|
2017-02-12 18:06:18 -05:00 |
|
Matthew Brown
|
3f0a87f6fe
|
Add more specific __toString error issue
|
2017-02-12 13:26:24 -05:00 |
|
Matthew Brown
|
f32fabd798
|
Remove dead code
|
2017-02-11 19:30:06 -05:00 |
|
Matthew Brown
|
8ff6634e7b
|
Add issue for possibly unused variables in public/private methods
also changed a lot of access
|
2017-02-11 18:56:38 -05:00 |
|
Matthew Brown
|
deb11c9402
|
Change some errors from InvalidReturnType to MoreSpecificReturnType
|
2017-02-11 18:25:44 -05:00 |
|
Matt Brown
|
32d85e20da
|
Remove unused vars
|
2017-02-10 19:10:13 -05:00 |
|
Matt Brown
|
c0a6fc9125
|
Fix #90 - add genericised stubs for common array functions
|
2017-02-10 18:12:59 -05:00 |
|
Matthew Brown
|
8ffd45407c
|
Add support for namespaced templates
|
2017-02-10 00:14:44 -05:00 |
|
Matthew Brown
|
4a82c0a09a
|
Add support for nested types in templates
|
2017-02-09 22:57:23 -05:00 |
|
Matthew Brown
|
5e8a40a5a1
|
Merge pull request #94 from vimeo/template-tags
Add support for templating
|
2017-02-09 20:51:23 -05:00 |
|
Matthew Brown
|
98b0ed280c
|
Add support for templating
|
2017-02-09 20:35:17 -05:00 |
|
Matthew Brown
|
41f7dc4a52
|
Fix #93 - fix MethodSignatureMismatch checks on builtin class methods
|
2017-02-09 17:49:13 -05:00 |
|
Matthew Brown
|
6934b8ee45
|
Do not emit signature error for constructors
|
2017-02-08 21:19:47 -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
|
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 |
|
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
|
0fbf8b5619
|
Remove more dead code
|
2017-02-02 00:45:23 -05:00 |
|
Matthew Brown
|
d3abc0011d
|
Fix #80 - add dead code checks via command line
|
2017-01-31 23:24:33 -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
|
2e4aa3d3b1
|
Do not suggest mixed types
|
2017-01-27 22:44:52 -07:00 |
|
Matthew Brown
|
c868781731
|
Fix multiline docblock issue reporting issue
|
2017-01-27 22:24:25 -07:00 |
|
Matthew Brown
|
6714e28f5d
|
Fix line numbers for return typehints
|
2017-01-27 19:09:40 -07:00 |
|
Matthew Brown
|
a35f2e0792
|
Don’t unset $this when calculating scope changes
|
2017-01-27 18:54:27 -07:00 |
|
Matthew Brown
|
63801c38c0
|
Make location of constructor error more specific
|
2017-01-26 23:32:03 -07:00 |
|
Matthew Brown
|
6bcc763414
|
Fix #3 by checking inside __constructor calls for initialisations
|
2017-01-26 23:23:12 -07:00 |
|
Matthew Brown
|
7e7743d6fb
|
Do not complain about missing void return types if config set
|
2017-01-25 17:07:28 -07:00 |
|
Matthew Brown
|
15e8c1b904
|
Fix simplifyUnionType so classes with __toString aren’t confused with string
|
2017-01-25 17:01:01 -07:00 |
|
Matthew Brown
|
58aee6340d
|
Remove var_dump (shame on me)
|
2017-01-23 15:17:35 -07:00 |
|
Matthew Brown
|
df1d6abd7c
|
Make brand-new return types more accurate
|
2017-01-23 15:16:13 -07:00 |
|
Matt Brown
|
c1e62a09e7
|
Merge suppressed issues with source’s issues
|
2017-01-19 17:58:08 -05:00 |
|
Matt Brown
|
c0898aa6e5
|
Fix issue where inferred return type contained subclasses
|
2017-01-17 12:51:09 -05:00 |
|
Matt Brown
|
6b47741528
|
Remove extraneous check
|
2017-01-17 11:20:28 -05:00 |
|
Matt Brown
|
dae7718ae8
|
Support array_combine types and introduce a MoreSpecificReturnType issue
|
2017-01-17 11:17:49 -05:00 |
|
Matthew Brown
|
bc668e2c7a
|
Change variadic docblock param to match language syntax
|
2017-01-17 01:14:43 -05:00 |
|
Matthew Brown
|
693811abed
|
Allow non-array docblock typehints for variadic params
|
2017-01-17 00:26:40 -05:00 |
|
Matthew Brown
|
3cdb1753d5
|
Update to the more accurate TypeChecker::isContainedBy
|
2017-01-16 20:00:51 -05:00 |
|
Matthew Brown
|
2e2f2f4ffb
|
Add new suppressable error for missing closure return types
|
2017-01-16 01:22:36 -05:00 |
|
Matthew Brown
|
ce89ac4986
|
Fix #50 - asserting about docblock types no longer causes error
|
2017-01-15 17:52:01 -05:00 |
|
Matthew Brown
|
9b06b672ba
|
Fix #54 - register function constants when function is invoked
|
2017-01-15 16:43:49 -05:00 |
|
Matthew Brown
|
4fd46fe2c8
|
Fix #59 - make functions aware of just-defined constants
|
2017-01-15 15:58:40 -05:00 |
|
Matthew Brown
|
1bf2139149
|
Fix #58 - treat callmap args correctly when evaluating variadic
|
2017-01-15 13:17:11 -05:00 |
|
Matthew Brown
|
03141e41c2
|
Move string-stored types into named classes
|
2017-01-15 10:22:05 -05:00 |
|
Matt Brown
|
fbbef2c320
|
Fix #45 - add issue when optional param used before required
|
2017-01-13 13:40:20 -05:00 |
|