public function leaveNode($node)
{
// Function call
if ($this->isDeprecatedFunc($node)) {
/**
* {Errmsg}
* Deprecated: Function {function} is deprecated
*
* {Reference}
* http://php.net/manual/en/migration54.deprecated.php
*/
$this->addSpot('WARNING', true, sprintf('Function %s() is deprecated', $node->name));
}
}