Matthew Brown
|
688a72c794
|
Fix #36 - emit issues on deprecated properties
|
2017-05-25 01:32:34 -04:00 |
|
Matthew Brown
|
4fd46e1752
|
Improve formatting
|
2017-05-24 22:07:49 -04:00 |
|
muglug
|
65d86d35ad
|
Separate iterator issues
|
2017-05-22 11:59:58 -04:00 |
|
Matthew Brown
|
7532e32b9d
|
Fixed spacing and use statement formatting
|
2017-05-19 00:48:26 -04:00 |
|
Jon Ursenbach
|
f65c618b2e
|
PSR-2 adjustments and adding PHPCS checks into the Travis config. (#149)
* PSR-2 adjustments and adding PHPCS checks into the Travis config.
* Reverting some CallChecker changes and no longer casting vars to null.
|
2017-04-28 00:31:55 -04:00 |
|
Matthew Brown
|
ce6ca58291
|
Fix #114 - add optional Hack-like checks calls
|
2017-04-14 21:32:14 -04:00 |
|
Matt Brown
|
7bcf7f13b1
|
Fix #137 - add for init in main scope
|
2017-04-11 17:43:46 -04:00 |
|
Matt Brown
|
14bb967c7d
|
Warn when doing === comparisons on incompatible types
|
2017-04-06 14:53:45 -04:00 |
|
Matthew Brown
|
dcedd65215
|
Add check for paradoxical statements
|
2017-04-02 15:26:10 -04:00 |
|
Matthew Brown
|
83edf8c4db
|
Complete the circle – fix remaining type algebra issue
|
2017-04-01 19:04:49 -04:00 |
|
Matthew Brown
|
2d88e237f4
|
Make method non-static
|
2017-03-19 13:23:19 -04:00 |
|
Matthew Brown
|
b1b7b0ae35
|
Only include vars asserted in where
|
2017-03-18 16:34:44 -04:00 |
|
Matthew Brown
|
9a3049b5bc
|
Make sure switch contexts know their parents
|
2017-03-18 15:28:59 -04:00 |
|
Matthew Brown
|
cb2ed860fb
|
Make sure to invalidate clauses in all parent contexts when asserting
|
2017-03-18 15:24:14 -04:00 |
|
Matthew Brown
|
3452c7853f
|
Add support for capturing clauses from elseifs
|
2017-03-18 14:04:26 -04:00 |
|
Matthew Brown
|
c33e66813a
|
Move type algebra functionality to separate checker
|
2017-03-18 13:37:00 -04:00 |
|
Matt Brown
|
30e8e1880d
|
Add another easy calculation of clauses
|
2017-03-16 14:45:45 -04:00 |
|
Matt Brown
|
cecfe25df7
|
Update outer clauses in mic drop situation
|
2017-03-16 11:46:07 -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 |
|
Matthew Brown
|
9dd94d099f
|
Fix issue with possibly-redefined switch vars
|
2017-03-14 02:00:38 -04:00 |
|
Matthew Brown
|
50b629e88e
|
Update context types after switch statement without default case
|
2017-03-13 21:17:21 -04:00 |
|
Matt Brown
|
3d2be3410e
|
Infer loop types without @var comments
|
2017-03-13 18:06:56 -04:00 |
|
Matt Brown
|
ae0ca9553f
|
Remove training wheels
|
2017-03-13 12:02:28 -04:00 |
|
Matt Brown
|
fa63afc27d
|
Change property name
|
2017-03-13 11:23:26 -04:00 |
|
Matthew Brown
|
a7da88bad3
|
Improve solution to allow for more user errors
|
2017-03-11 12:32:27 -05: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 |
|
Matthew Brown
|
fa3b292fd4
|
Fix #101 - restrict the values of pass-by-ref variables
|
2017-02-23 00:25:28 -05:00 |
|
Matthew Brown
|
48335b6fee
|
Fix potential invalid arg
|
2017-02-22 00:42:50 -05:00 |
|
Matt Brown
|
a56456a719
|
Add merging of vars_possibly_in_scope back
|
2017-02-21 17:41:54 -05:00 |
|
Matt Brown
|
fa35c0efa9
|
Remove changed vars from clauses in while loop to prevent re-application of logic
|
2017-02-21 17:19:15 -05:00 |
|
Matt Brown
|
2c7ffb6f4c
|
Add support for negating some while assertions
|
2017-02-21 16:52:27 -05:00 |
|
Matthew Brown
|
7cd1b27ff1
|
Add more support for logical and/or
|
2017-02-16 21:00:45 -05:00 |
|
Matthew Brown
|
a4323359d3
|
Fix ternary/which/for conditionals
|
2017-02-12 18:47:02 -05:00 |
|
Matthew Brown
|
81e24de76f
|
Fix invalid NullPropertyFetch warning
|
2017-02-12 18:06: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
|
c0a6fc9125
|
Fix #90 - add genericised stubs for common array functions
|
2017-02-10 18:12:59 -05:00 |
|
Matthew Brown
|
cdcacc395d
|
Rename DeadCode to UnusedVariable, UnusedMethod and UnusedClass
|
2017-02-08 00:28:26 -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
|
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 |
|
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 |
|
Matt Brown
|
a2750a92aa
|
Evaluate loop part of for after body
|
2017-01-18 17:13:20 -05:00 |
|
Matthew Brown
|
03141e41c2
|
Move string-stored types into named classes
|
2017-01-15 10:22:05 -05:00 |
|