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:
parent
8ba9e8b73e
commit
bc463a4f00
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user