mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
use PHPUnit 6.0 syntax for tests
This commit is contained in:
committed by
Jaap van Otterdijk
parent
5282c2e9a8
commit
e9e35284d9
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user