Tweaked the "testInvalidTagBlock" test to appease PHPCS (though strictly speaking, this is a bug with PHPCS "NEWDOC" handling).

This commit is contained in:
Vasil Rangelov
2012-11-13 16:43:36 +02:00
parent 6602ce0375
commit ea62320415
@@ -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('');