Mercurial > hg > isophonics-drupal-site
comparison vendor/nikic/php-parser/test/PhpParser/Node/Stmt/ClassTest.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\Node\Stmt; | 3 namespace PhpParser\Node\Stmt; |
4 | 4 |
5 use PHPUnit\Framework\TestCase; | 5 class ClassTest extends \PHPUnit\Framework\TestCase |
6 | |
7 class ClassTest extends TestCase | |
8 { | 6 { |
9 public function testIsAbstract() { | 7 public function testIsAbstract() { |
10 $class = new Class_('Foo', ['type' => Class_::MODIFIER_ABSTRACT]); | 8 $class = new Class_('Foo', ['type' => Class_::MODIFIER_ABSTRACT]); |
11 $this->assertTrue($class->isAbstract()); | 9 $this->assertTrue($class->isAbstract()); |
12 | 10 |