Adding support for T_ABSTRACT token in PHP code coverage parser
This commit is contained in:
@@ -14,6 +14,7 @@ Added:
|
||||
|
||||
Our changes: /// Look for "moodle" in code
|
||||
* src/parser/PHPParser.php - comment some debug lines causing some notices in moodle
|
||||
* src/parser/PHPParser.php - added support for the T_ABSTRACT token
|
||||
* src/reporter/HtmlCoverageReporter.php, src/reporter/html/indexheader.html,
|
||||
src/reporter/html/header.html, src/reporter/html/footer.html - various xhtml fixes
|
||||
|
||||
|
||||
@@ -309,6 +309,7 @@
|
||||
case T_PROTECTED: // protected
|
||||
case T_VAR: // var
|
||||
case T_GLOBAL: // global
|
||||
case T_ABSTRACT: // abstract (Moodle added)
|
||||
case T_CLASS: // class
|
||||
case T_INTERFACE: // interface
|
||||
case T_REQUIRE: // require
|
||||
|
||||
Reference in New Issue
Block a user