|
MediaWiki
master
|
A PHPParser node visitor that finds deprecated functions and methods. More...


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. More... | |
Public Member Functions inherited from FileAwareNodeVisitor | |
| enterNode (PhpParser\Node $node) | |
| getCurrentFile () | |
| setCurrentFile ($filename) | |
Private Attributes | |
| $currentClass = null | |
| $foundNodes = [] | |
A PHPParser node visitor that finds deprecated functions and methods.
Definition at line 52 of file findDeprecated.php.
| DeprecatedInterfaceFinder::enterNode | ( | PhpParser\Node | $node | ) |
Definition at line 85 of file findDeprecated.php.
References $matches, $name, $version, and isHardDeprecated().
| DeprecatedInterfaceFinder::getFoundNodes | ( | ) |
Definition at line 58 of file findDeprecated.php.
References $foundNodes, $version, and as.
| DeprecatedInterfaceFinder::isHardDeprecated | ( | PhpParser\Node | $node | ) |
Check whether a function or method includes a call to wfDeprecated(), indicating that it is a hard-deprecated interface.
Definition at line 73 of file findDeprecated.php.
References as.
Referenced by enterNode().
|
private |
Definition at line 54 of file findDeprecated.php.
|
private |
Definition at line 56 of file findDeprecated.php.
Referenced by getFoundNodes().