comparison vendor/nikic/php-parser/test/PhpParser/NodeFinderTest.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 5fb285c0d0e3
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
1 <?php declare(strict_types=1); 1 <?php declare(strict_types=1);
2 2
3 namespace PhpParser; 3 namespace PhpParser;
4 4
5 use PhpParser\Node\Expr; 5 use PhpParser\Node\Expr;
6 use PHPUnit\Framework\TestCase;
7 6
8 class NodeFinderTest extends TestCase 7 class NodeFinderTest extends \PHPUnit\Framework\TestCase
9 { 8 {
10 private function getStmtsAndVars() { 9 private function getStmtsAndVars() {
11 $assign = new Expr\Assign(new Expr\Variable('a'), new Expr\BinaryOp\Concat( 10 $assign = new Expr\Assign(new Expr\Variable('a'), new Expr\BinaryOp\Concat(
12 new Expr\Variable('b'), new Expr\Variable('c') 11 new Expr\Variable('b'), new Expr\Variable('c')
13 )); 12 ));