Skip to content

Commit d1d703e

Browse files
committed
Fix @inheritdoc support in Doxygen
Change-Id: Ic01eac86fd15416e099be0d6cc11c336a10fc7c2
1 parent cd1564b commit d1d703e

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

Doxyfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@ OUTPUT_DIRECTORY = doc
99
JAVADOC_AUTOBRIEF = YES
1010
QT_AUTOBRIEF = YES
1111
WARN_NO_PARAMDOC = YES
12+
ALIASES = "type{1}=<b> \1 </b>:" \
13+
"types{2}=<b> \1 </b> or <b> \2 </b>:" \
14+
"types{3}=<b> \1 </b>, <b> \2 </b>, or <b> \3 </b>:" \
15+
"access=\par Access:\n" \
16+
"private=\access private" \
17+
"protected=\access protected" \
18+
"copyright=\note" \
19+
"license=\note" \
20+
"inheritDoc=\inheritdoc" \
21+
"codeCoverageIgnore=" \
22+
"codingStandardsIgnoreEnd=" \
23+
"codingStandardsIgnoreStart=" \
24+
"phan=" \
25+
"suppress=" \
26+
"stable=Stable"
1227
INPUT = README.md src/
1328
FILE_PATTERNS = *.php
1429
RECURSIVE = YES

build/doxygen_php_filters.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@
3232
$replace = '$1$2 $4 $3$4';
3333
$source = preg_replace( $regexp, $replace, $source );
3434

35-
// Remove @inheritDoc
36-
$regexp = '#@inheritDoc#';
37-
$replace = '';
38-
$source = preg_replace( $regexp, $replace, $source );
39-
4035
// change "@return $this" to '@return [ClassName]'
4136
$tokens = token_get_all( $source );
4237
$classes = [];

0 commit comments

Comments
 (0)