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 04936a7b39
commit 6df31db139
@@ -162,14 +162,14 @@ DOCBLOCK;
}
require 'data:text/plain;base64,'. base64_encode(
<<<'TAG_HANDLER'
<<<DOCBLOCK_EXTENSION
<?php
class MyReflectionDocBlock extends \phpDocumentor\Reflection\DocBlock {
protected function splitDocBlock($comment) {
protected function splitDocBlock(\$comment) {
return array('', '', 'Invalid tag block');
}
}
TAG_HANDLER
DOCBLOCK_EXTENSION
);
new \MyReflectionDocBlock('');