Matt Brown
|
d65221fbe4
|
Fix nested requires in different directories
|
2017-04-05 14:37:22 -04:00 |
|
Matthew Brown
|
a89018d9ae
|
Only warn about issues in files that we’re trying to scan
|
2017-03-24 18:34:46 -04:00 |
|
Matthew Brown
|
caf72bda52
|
Shave off a little extra time by caching file_checker refs
|
2017-03-19 23:30:20 -04:00 |
|
Matthew Brown
|
7ed188fa52
|
Add support for conditional stubbed functions
|
2017-03-19 15:41:24 -04:00 |
|
Matt Brown
|
cecfe25df7
|
Update outer clauses in mic drop situation
|
2017-03-16 11:46:07 -04:00 |
|
Matt Brown
|
04363237c5
|
Fix #116 - be more lenient with static vars
|
2017-03-15 15:21:00 -04:00 |
|
Matt Brown
|
7fad81edac
|
Fix issue with unset var in loop
|
2017-03-15 11:38:23 -04:00 |
|
Matthew Brown
|
9b41bc9b37
|
Add slower (but more accurate) loop checks
|
2017-03-14 20:14:25 -04:00 |
|
Matthew Brown
|
6cfe540c98
|
Fix issue evaluating elseif empty assertions
|
2017-03-14 15:48:52 -04:00 |
|
Matt Brown
|
3d2be3410e
|
Infer loop types without @var comments
|
2017-03-13 18:06:56 -04:00 |
|
Matthew Brown
|
5cd1b6735f
|
Add even more references in docblocks
|
2017-03-01 22:27:52 -05:00 |
|
Matt Brown
|
864d242f13
|
Improve labelling of referencing expressions
|
2017-03-01 11:56:36 -05:00 |
|
Matthew Brown
|
cd5f727d2e
|
Collect explicit references to classes/methods
|
2017-02-26 23:09:18 -05:00 |
|
Matt Brown
|
c85b6b376b
|
Merge do vars in scope
|
2017-02-21 17:48:12 -05:00 |
|
Matthew Brown
|
30c5977825
|
Fix issue with do statement breaking
|
2017-02-18 17:49:34 -05:00 |
|
Matthew Brown
|
e61ea17db5
|
Move FileChecker functionality into separate, better-contained classes
|
2017-02-18 13:41:27 -05:00 |
|
Matthew Brown
|
e0e92785f8
|
Complain about unevaluated code in more concrete fashion
|
2017-02-12 16:49:32 -05:00 |
|
Matthew Brown
|
d2e92131f5
|
Always set global vars, even when it might be an error
|
2017-02-12 13:27:02 -05:00 |
|
Matthew Brown
|
59fa0977f9
|
Do not panic when encountering errant global var
|
2017-02-12 12:23:05 -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
|
cdcacc395d
|
Rename DeadCode to UnusedVariable, UnusedMethod and UnusedClass
|
2017-02-08 00:28:26 -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
|
ec65f31aaa
|
Improve dead code analysis and fix errors found
|
2017-02-02 00:20:58 -05:00 |
|
Matthew Brown
|
d3abc0011d
|
Fix #80 - add dead code checks via command line
|
2017-01-31 23:24:33 -05:00 |
|
Matthew Brown
|
1ece3071f9
|
Add reference counting for methods and remove dead code
|
2017-01-29 23:44:05 -05:00 |
|
Matthew Brown
|
a45c47776b
|
Fix #79 - check anonymous class statements
|
2017-01-29 13:20:12 -05:00 |
|
Matthew Brown
|
4fa0055092
|
Remove unnecessary var_dump
|
2017-01-25 17:09:31 -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
|
27a018095b
|
Fix invalid InvalidParamDefault error when comparing to false
|
2017-01-19 01:12:19 -05:00 |
|
Matthew Brown
|
77c9d1ecbd
|
If extending FileChecker, inline included stmts
|
2017-01-18 23:35:23 -05:00 |
|
Matt Brown
|
875717bb96
|
Fix #63 by adding directory separators
|
2017-01-17 22:10:21 -05:00 |
|
Matthew Brown
|
9220b958eb
|
Fix phpcs errors
|
2017-01-16 19:06:39 -05:00 |
|
Matthew Brown
|
b3726c9de5
|
Use getcwd() for the project’s base, not the config file parent directory
|
2017-01-16 18:33:04 -05:00 |
|
Matthew Brown
|
e3a9cb98c3
|
Add extra issue for invalid clone and fix issue reporting;
|
2017-01-16 12:59:09 -05:00 |
|
Matthew Brown
|
4fd46fe2c8
|
Fix #59 - make functions aware of just-defined constants
|
2017-01-15 15:58:40 -05:00 |
|
Matthew Brown
|
03141e41c2
|
Move string-stored types into named classes
|
2017-01-15 10:22:05 -05:00 |
|
Matt Brown
|
c104736ead
|
Fix #42 - detect false and null defaults
|
2017-01-13 12:26:10 -05:00 |
|
Matthew Brown
|
56be346191
|
Add back mutation checks
|
2017-01-11 21:37:53 -05:00 |
|
Matthew Brown
|
03c5ea3cef
|
Store all class keys lowercased
|
2017-01-09 00:14:39 -05:00 |
|
Matthew Brown
|
46dbe83cbd
|
Allow functions to be included too
|
2017-01-07 19:33:33 -05:00 |
|
Matthew Brown
|
03db293ed9
|
Add include tests and modify treatment
|
2017-01-07 19:07:58 -05:00 |
|
Matthew Brown
|
17329015dc
|
Discriminate between checking, visiting and analyzing in method names
|
2017-01-07 15:09:47 -05:00 |
|
Matthew Brown
|
694da2cabd
|
Simplify a lot of APIs
|
2017-01-07 14:35:07 -05:00 |
|
Matthew Brown
|
6ee69e547f
|
Do more to separate out processing steps
|
2017-01-06 01:07:11 -05:00 |
|
Matthew Brown
|
7609ca02c0
|
Fix #32 by evaluating all class references in files lazily
|
2017-01-04 23:42:58 -05:00 |
|
Matthew Brown
|
93c1366bd8
|
Tighten up what array assignments can happen
|
2017-01-02 01:07:44 -05:00 |
|
Matthew Brown
|
f515327f16
|
Fix file_name/file_path mixup
|
2016-12-30 19:06:45 -05:00 |
|
Matthew Brown
|
c65a0bf181
|
Move function static arrays into FileStorage
|
2016-12-30 18:08:07 -05:00 |
|
Matthew Brown
|
c5622f1ed1
|
Fix nullref
|
2016-12-28 19:58:32 -05:00 |
|
Matthew Brown
|
2bf515be5f
|
Check return types of functions in namespaces
|
2016-12-28 19:57:18 -05:00 |
|