Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
32 | public function testDocblockWithAnnotations(): void |
||
33 | { |
||
34 | $docComment = <<<DOCCOMMENT |
||
35 | /** |
||
36 | * @var \DateTime[] |
||
37 | * @Groups({"a", "b"}) |
||
38 | * @ORM\Entity |
||
39 | */ |
||
40 | DOCCOMMENT; |
||
41 | |||
42 | $factory = DocBlockFactory::createInstance(); |
||
43 | $docblock = $factory->create($docComment); |
||
44 | |||
45 | $this->assertCount(3, $docblock->getTags()); |
||
46 | } |
||
47 | } |
||
48 |