protected function checkEmpty(Expr\List_ $node) { // All var is null foreach ($node->vars as $var) { if (!is_null($var)) { return; } } $this->addSpot('NOTICE', true, 'empty list() assignments have been removed'); }