MediaWiki REL1_41
|
A PHPParser node visitor that finds deprecated functions and methods. More...
Inherits FileAwareNodeVisitor.
Public Member Functions | |
enterNode (PhpParser\Node $node) | |
getFoundNodes () | |
isHardDeprecated (PhpParser\Node $node) | |
Check whether a function or method includes a call to wfDeprecated(), indicating that it is a hard-deprecated interface. | |
Public Member Functions inherited from FileAwareNodeVisitor | |
getCurrentFile () | |
setCurrentFile ( $filename) | |
A PHPParser node visitor that finds deprecated functions and methods.
Definition at line 53 of file findDeprecated.php.
DeprecatedInterfaceFinder::enterNode | ( | PhpParser\Node | $node | ) |
Reimplemented from FileAwareNodeVisitor.
Definition at line 91 of file findDeprecated.php.
References $matches, and isHardDeprecated().
DeprecatedInterfaceFinder::getFoundNodes | ( | ) |
Definition at line 59 of file findDeprecated.php.
DeprecatedInterfaceFinder::isHardDeprecated | ( | PhpParser\Node | $node | ) |
Check whether a function or method includes a call to wfDeprecated(), indicating that it is a hard-deprecated interface.
PhpParser\\Node | $node |
Definition at line 76 of file findDeprecated.php.
Referenced by enterNode().