|
15 | 15 |
|
16 | 16 | use Doctum\Parser\Node\DocBlockNode; |
17 | 17 | use phpDocumentor\Reflection\DocBlock; |
| 18 | +use phpDocumentor\Reflection\DocBlock\Tags\Author; |
| 19 | +use phpDocumentor\Reflection\DocBlock\Tags\Covers; |
| 20 | +use phpDocumentor\Reflection\DocBlock\Tags\Deprecated; |
| 21 | +use phpDocumentor\Reflection\DocBlock\Tags\Generic; |
18 | 22 | use phpDocumentor\Reflection\DocBlock\Tags\Param; |
19 | 23 | use phpDocumentor\Reflection\DocBlock\Tags\PropertyRead; |
20 | 24 | use phpDocumentor\Reflection\DocBlock\Tags\Property; |
|
24 | 28 | use phpDocumentor\Reflection\DocBlock\Tags\Throws; |
25 | 29 | use phpDocumentor\Reflection\DocBlock\Tags\Var_; |
26 | 30 | use phpDocumentor\Reflection\DocBlock\Tags\InvalidTag; |
| 31 | +use phpDocumentor\Reflection\DocBlock\Tags\Link; |
| 32 | +use phpDocumentor\Reflection\DocBlock\Tags\Since; |
| 33 | +use phpDocumentor\Reflection\DocBlock\Tags\Uses; |
| 34 | +use phpDocumentor\Reflection\DocBlock\Tags\Version; |
27 | 35 | use phpDocumentor\Reflection\DocBlockFactory; |
28 | 36 | use phpDocumentor\Reflection\Types\Context; |
29 | 37 |
|
@@ -116,6 +124,31 @@ protected function parseTag(DocBlock\Tag $tag) |
116 | 124 | case InvalidTag::class: |
117 | 125 | /** @var \phpDocumentor\Reflection\DocBlock\Tags\InvalidTag $tag */ |
118 | 126 | return $tag->__toString(); |
| 127 | + case Deprecated::class: |
| 128 | + /** @var Deprecated $tag */ |
| 129 | + return $tag->__toString(); |
| 130 | + case Covers::class: |
| 131 | + /** @var Covers $tag */ |
| 132 | + return $tag->__toString(); |
| 133 | + case Author::class: |
| 134 | + /** @var Author $tag */ |
| 135 | + return $tag->__toString(); |
| 136 | + case Version::class: |
| 137 | + /** @var Version $tag */ |
| 138 | + return $tag->__toString(); |
| 139 | + case Link::class: |
| 140 | + /** @var Link $tag */ |
| 141 | + return $tag->__toString(); |
| 142 | + case Since::class: |
| 143 | + /** @var Since $tag */ |
| 144 | + return $tag->__toString(); |
| 145 | + case Uses::class: |
| 146 | + /** @var Uses $tag */ |
| 147 | + return $tag->__toString(); |
| 148 | + case Generic::class: |
| 149 | + //TODO: better handling |
| 150 | + /** @var Generic $tag */ |
| 151 | + return $tag->__toString(); |
119 | 152 | default: |
120 | 153 | return $tag->__toString(); |
121 | 154 | } |
|
0 commit comments