tchule
tchule
Don' t generated a warning if a variable is used somewhere else. ``` Class B extends A var $myVar = 'B'; ``` ==> unused variable $myVar.
This function should be replaced using a test on the statement stack level.
Instead of having in _processAnnotation : ``` if ($token == T_CLASS) { $this->_classSuppressWarnings[] = $suppressedCheck; } elseif ($token == T_INTERFACE) { $this->_interfaceSuppressWarnings[] = $suppressedCheck; } elseif ($token == T_FUNCTION) {...
Some flag should be moved into the current statement context instead of being treated as a global value. $this->_inFuncCall $this->_inControlStatement $this->_inFunctionStatement $this->_inInterface $this->_justAfterFuncStmt .... We should know if we are...
See http://codingswag.ghost.io/cyclomatic-and-npath-complexity-explained/. We should add some test cases for this calculation.
Hello ^^ It would be nice to be able to save/load/edit the color rules. And eventually to link them (and the date format) automatically to a log file (by extension...