mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Ensure docblock defaults
This commit is contained in:
@@ -193,6 +193,21 @@ class DocBlockTest extends TestCase
|
|||||||
$this->assertSame($location, $fixture->getLocation());
|
$this->assertSame($location, $fixture->getLocation());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @uses \phpDocumentor\Reflection\DocBlock\Description
|
||||||
|
*
|
||||||
|
* @covers ::__construct
|
||||||
|
* @covers ::isTemplateStart
|
||||||
|
* @covers ::isTemplateEnd
|
||||||
|
*/
|
||||||
|
public function testDocBlockIsNotATemplateByDefault() : void
|
||||||
|
{
|
||||||
|
$fixture = new DocBlock('', null, [], null, null);
|
||||||
|
|
||||||
|
$this->assertFalse($fixture->isTemplateStart());
|
||||||
|
$this->assertFalse($fixture->isTemplateEnd());
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @uses \phpDocumentor\Reflection\DocBlock\Description
|
* @uses \phpDocumentor\Reflection\DocBlock\Description
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user