1 | <?php |
||
25 | class FunctionNode extends AbstractCallableNode |
||
26 | { |
||
27 | /** |
||
28 | * Constructs a new function wrapper. |
||
29 | * |
||
30 | * @param \PDepend\Source\AST\ASTFunction $node |
||
31 | */ |
||
32 | 21 | public function __construct(ASTFunction $node) |
|
36 | |||
37 | /** |
||
38 | * Returns the name of the parent package. |
||
39 | * |
||
40 | * @return string |
||
41 | */ |
||
42 | 1 | public function getNamespaceName() |
|
46 | |||
47 | /** |
||
48 | * Returns the name of the parent type or <b>null</b> when this node has no |
||
49 | * parent type. |
||
50 | * |
||
51 | * @return string |
||
52 | */ |
||
53 | public function getParentName() |
||
57 | |||
58 | /** |
||
59 | * Returns the full qualified name of a class, an interface, a method or |
||
60 | * a function. |
||
61 | * |
||
62 | * @return string |
||
63 | */ |
||
64 | public function getFullQualifiedName() |
||
68 | } |
||
69 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.