Searched refs:finder (Results 1 – 2 of 2) sorted by relevance
/PHP-Parser/test/PhpParser/ |
H A D | NodeFinderTest.php | 18 $finder = new NodeFinder(); 23 $this->assertSame($vars, $finder->find($stmts, $varFilter)); 24 $this->assertSame($vars, $finder->find($stmts[0], $varFilter)); 29 $this->assertSame([], $finder->find($stmts, $noneFilter)); 33 $finder = new NodeFinder(); 35 $this->assertSame($vars, $finder->findInstanceOf($stmts, Expr\Variable::class)); 41 $finder = new NodeFinder(); 46 $this->assertSame($vars[0], $finder->findFirst($stmts, $varFilter)); 47 $this->assertSame($vars[0], $finder->findFirst($stmts[0], $varFilter)); 52 $this->assertNull($finder->findFirst($stmts, $noneFilter)); [all …]
|
/PHP-Parser/ |
H A D | .php-cs-fixer.dist.php | 3 $finder = PhpCsFixer\Finder::create() variable 30 ->setFinder($finder)
|
Completed in 5 milliseconds