1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Add check for Nop

This commit is contained in:
Matthew Brown 2016-03-14 12:38:08 -04:00
parent 8ba9e8b73e
commit bc463a4f00

View File

@ -179,6 +179,9 @@ class StatementsChecker
} elseif ($stmt instanceof PhpParser\Node\Stmt\Class_) {
// do nothing
} elseif ($stmt instanceof PhpParser\Node\Stmt\Nop) {
// do nothing
} else {
var_dump('Unrecognised statement in ' . $this->_file_name);
var_dump($stmt);