comparison vendor/nikic/php-parser/test/PhpParser/NodeVisitor/FirstFindingVisitorTest.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 5fb285c0d0e3
children 129ea1e6d783
comparison
equal deleted inserted replaced
15:e200cb7efeb3 16:c2387f117808
32 32
33 $assign = new Expr\Assign(new Expr\Variable('a'), new Expr\Variable('b')); 33 $assign = new Expr\Assign(new Expr\Variable('a'), new Expr\Variable('b'));
34 $stmts = [new Node\Stmt\Expression($assign)]; 34 $stmts = [new Node\Stmt\Expression($assign)];
35 35
36 $traverser->traverse($stmts); 36 $traverser->traverse($stmts);
37 $this->assertSame(null, $visitor->getFoundNode()); 37 $this->assertNull($visitor->getFoundNode());
38 } 38 }
39 } 39 }