Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
48 | public function testDocblockWithAnnotationHavingZeroValue(): void |
||
49 | { |
||
50 | $docComment = <<<DOCCOMMENT |
||
51 | /** |
||
52 | * @my-tag 0 |
||
53 | */ |
||
54 | DOCCOMMENT; |
||
55 | |||
56 | $factory = DocBlockFactory::createInstance(); |
||
57 | $docblock = $factory->create($docComment); |
||
58 | |||
59 | $this->assertSame(0, printf('%i', $docblock->getTagsByName('my-tag'))); |
||
60 | } |
||
61 | } |
||
62 |