Spotted by chance as part of T233787. If a method docblock has a @suppress annotation, doxygen will merge it to the previous annotation.
/** * Get an unanchored regex that does not match parameters * @return string[] * @suppress PhanTypeArraySuspiciousNullable False positive */ public function getRegex() {
Results in Doxygen generating:
Get an unanchored regex that does not match parameters.
Returns
string[] PhanTypeArraySuspiciousNullable False positive
The @suppress is stripped and its content is appended to the content for the previous annotation (@return).
Confirmed to happen with Doxygen 1.8.16 and 1.8.13