Matthew Brown
|
2f2b487236
|
Fix #96
|
2017-02-12 12:31:39 -05:00 |
|
Matthew Brown
|
59fa0977f9
|
Do not panic when encountering errant global var
|
2017-02-12 12:23:05 -05:00 |
|
Matthew Brown
|
8e7ab59e2b
|
Add return types for core vars
|
2017-02-12 12:22:39 -05:00 |
|
Matthew Brown
|
b1f7cfb08e
|
Make file return type more specific
|
2017-02-12 12:22:10 -05:00 |
|
Matthew Brown
|
2a3c4ee63a
|
Fix msg_receive byref params
|
2017-02-12 11:34:38 -05:00 |
|
Matthew Brown
|
7876c7ffb9
|
Allow mixed to override null in byref assignment
|
2017-02-12 11:34:07 -05:00 |
|
Matthew Brown
|
1029e68341
|
Allow TNamedObject to be coerced to TObject
|
2017-02-12 00:50:37 -05:00 |
|
Matthew Brown
|
bb9221ba01
|
Analyze die/exit expressions
|
2017-02-11 19:42:12 -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 |
|
Matthew Brown
|
a5f64aa0ad
|
Add configs
|
2017-02-11 17:58:41 -05:00 |
|
Matthew Brown
|
35e4b380cc
|
Add collection of PossiblyNull* issues
|
2017-02-11 17:55:08 -05:00 |
|
Matthew Brown
|
708f6e39de
|
Fix array_slice implenentation
|
2017-02-11 00:34:07 -05:00 |
|
Matthew Brown
|
c05d5926f9
|
Add missing args to array_slice implementation
|
2017-02-11 00:25:23 -05:00 |
|
Matthew Brown
|
dbddedb20b
|
Don’t create objectlike if we some properties are untyped
|
2017-02-10 23:35:34 -05:00 |
|
Matthew Brown
|
14c487d3e6
|
Always supply default template params as return type
|
2017-02-10 22:51:47 -05:00 |
|
Matthew Brown
|
1d6c441d16
|
Use a more fault-tolerant version of php-parser
|
2017-02-10 21:27:12 -05:00 |
|
Matthew Brown
|
3c3224591a
|
Update to latest PHP-Parser
|
2017-02-10 20:46:38 -05:00 |
|
Matthew Brown
|
9b3b536254
|
Fix issue where self::$property_name doesn’t use Context self
|
2017-02-10 20:41:18 -05:00 |
|
Matt Brown
|
32d85e20da
|
Remove unused vars
|
2017-02-10 19:10:13 -05:00 |
|
Matt Brown
|
2c1622e7de
|
Find more unreferenced variables by ignoring mass context ops
|
2017-02-10 19:08:55 -05:00 |
|
Matt Brown
|
0d2581f961
|
Fix possibility of break when getting property in quick evaluation
|
2017-02-10 18:45:11 -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
|
04d9854ce0
|
Don’t check function return types if it has template types
|
2017-02-09 22:54:06 -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
|
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 |
|