mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-17 17:47:13 +00:00
Tweaked the "testInvalidTagBlock" test to appease PHPCS (though strictly speaking, this is a bug with PHPCS "NEWDOC" handling).
This commit is contained in:
@@ -162,14 +162,14 @@ DOCBLOCK;
|
|||||||
}
|
}
|
||||||
|
|
||||||
require 'data:text/plain;base64,'. base64_encode(
|
require 'data:text/plain;base64,'. base64_encode(
|
||||||
<<<'TAG_HANDLER'
|
<<<DOCBLOCK_EXTENSION
|
||||||
<?php
|
<?php
|
||||||
class MyReflectionDocBlock extends \phpDocumentor\Reflection\DocBlock {
|
class MyReflectionDocBlock extends \phpDocumentor\Reflection\DocBlock {
|
||||||
protected function splitDocBlock($comment) {
|
protected function splitDocBlock(\$comment) {
|
||||||
return array('', '', 'Invalid tag block');
|
return array('', '', 'Invalid tag block');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
TAG_HANDLER
|
DOCBLOCK_EXTENSION
|
||||||
);
|
);
|
||||||
new \MyReflectionDocBlock('');
|
new \MyReflectionDocBlock('');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user