We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54836c6 commit 9c124a7Copy full SHA for 9c124a7
tests/Unit/CommentParserTest.php
@@ -155,4 +155,14 @@ public function testNonWrappedComment(CommentParserInterface $parser, string $de
155
actual: $this->parseAsArray($parser, $docBlock, $delimiter),
156
);
157
}
158
+
159
+ #[DataProvider('parserWithVariantDelimitersDataProvider')]
160
+ public function testEmptyComment(CommentParserInterface $parser, string $delimiter): void
161
+ {
162
+ self::assertSame([0 => ''], $this->parseAsArray(
163
+ parser: $parser,
164
+ docblock: '',
165
+ delimiter: $delimiter,
166
+ ));
167
+ }
168
0 commit comments