use PHPUnit 6.0 syntax for tests

This commit is contained in:
TomasVotruba
2017-11-30 10:27:01 +01:00
committed by Jaap van Otterdijk
parent 5282c2e9a8
commit e9e35284d9
16 changed files with 101 additions and 108 deletions
+2 -5
View File
@@ -84,18 +84,15 @@ class DocBlockTest extends TestCase
/**
* @covers ::__construct
* @covers ::getTags
*
* @uses \phpDocumentor\Reflection\DocBlock\Description
* @uses \phpDocumentor\Reflection\DocBlock\Tag
*
* @expectedException \InvalidArgumentException
*/
public function testDocBlockAllowsOnlyTags(): void
public function testDocBlockAllowsOnlyTags() : void
{
$this->expectException('InvalidArgumentException');
$tags = [
null
];
$fixture = new DocBlock('', null, $tags);
}