Skip to content

Commit 6df31db

Browse files
committed
Tweaked the "testInvalidTagBlock" test to appease PHPCS (though strictly speaking, this is a bug with PHPCS "NEWDOC" handling).
1 parent 04936a7 commit 6df31db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/phpDocumentor/Reflection/DocBlockTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,14 @@ public function testInvalidTagBlock()
162162
}
163163

164164
require 'data:text/plain;base64,'. base64_encode(
165-
<<<'TAG_HANDLER'
165+
<<<DOCBLOCK_EXTENSION
166166
<?php
167167
class MyReflectionDocBlock extends \phpDocumentor\Reflection\DocBlock {
168-
protected function splitDocBlock($comment) {
168+
protected function splitDocBlock(\$comment) {
169169
return array('', '', 'Invalid tag block');
170170
}
171171
}
172-
TAG_HANDLER
172+
DOCBLOCK_EXTENSION
173173
);
174174
new \MyReflectionDocBlock('');
175175

0 commit comments

Comments
 (0)