public function DocBlockTest::testInvalidTagBlock in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlockTest.php \phpDocumentor\Reflection\DocBlockTest::testInvalidTagBlock()
@covers \phpDocumentor\Reflection\DocBlock::parseTags @expectedException \LogicException
Return value
void
File
- vendor/
phpdocumentor/ reflection-docblock/ tests/ phpDocumentor/ Reflection/ DocBlockTest.php, line 204
Class
- DocBlockTest
- Test class for phpDocumentor\Reflection\DocBlock
Namespace
phpDocumentor\ReflectionCode
public function testInvalidTagBlock() {
if (0 == ini_get('allow_url_include')) {
$this
->markTestSkipped('"data" URIs for includes are required.');
}
include 'data:text/plain;base64,' . base64_encode(<<<DOCBLOCK_EXTENSION
<?php
class MyReflectionDocBlock extends \\phpDocumentor\\Reflection\\DocBlock {
protected function splitDocBlock(\$comment) {
return array('', '', 'Invalid tag block');
}
}
DOCBLOCK_EXTENSION
);
new \MyReflectionDocBlock('');
}