diff --git a/test/PhpParser/NodeVisitor/FirstFindingVisitorTest.php b/test/PhpParser/NodeVisitor/FirstFindingVisitorTest.php index 33ca2fbe..78bc1c7a 100644 --- a/test/PhpParser/NodeVisitor/FirstFindingVisitorTest.php +++ b/test/PhpParser/NodeVisitor/FirstFindingVisitorTest.php @@ -34,6 +34,6 @@ class FirstFindingVisitorTest extends TestCase $stmts = [new Node\Stmt\Expression($assign)]; $traverser->traverse($stmts); - $this->assertSame(null, $visitor->getFoundNode()); + $this->assertNull($visitor->getFoundNode()); } }