public function leaveNode($node)
{
// Function
if ($this->isRemovedFunc($node)) {
$this->addSpot('FATAL', true, sprintf('Function %s() is removed', $node->migName));
// Constant
} elseif ($this->isRemovedConst($node)) {
$this->addSpot('WARNING', true, sprintf('Constant %s is removed', $node->migName));
// Variable
} elseif ($this->isRemovedVar($node)) {
$this->addSpot('WARNING', true, sprintf('Variable $%s is removed', $node->migName));
}
}