comparison vendor/nikic/php-parser/test/PhpParser/NodeAbstractTest.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
5 use PHPUnit\Framework\TestCase;
6 4
7 class DummyNode extends NodeAbstract 5 class DummyNode extends NodeAbstract
8 { 6 {
9 public $subNode1; 7 public $subNode1;
10 public $subNode2; 8 public $subNode2;
23 public function getType() : string { 21 public function getType() : string {
24 return 'Dummy'; 22 return 'Dummy';
25 } 23 }
26 } 24 }
27 25
28 class NodeAbstractTest extends TestCase 26 class NodeAbstractTest extends \PHPUnit\Framework\TestCase
29 { 27 {
30 public function provideNodes() { 28 public function provideNodes() {
31 $attributes = [ 29 $attributes = [
32 'startLine' => 10, 30 'startLine' => 10,
33 'endLine' => 11, 31 'endLine' => 11,