Repository navigation
14.12.2
Rule fixes
NoMissnamedDocTagRule— no longer flags a constant whose docblock merely mentions@return/@paraminside prose. The constant check now requires the tag at the start of a docblock line (* @tag), matching the existing method/property checks. Real misnamed tags are still reported.
// now skipped — @return is part of the sentence, not a tag
/**
* Using 10-level array @return docblocks makes code very hard to read,
* lets limit it to reasonable level
*/
private const int MAX_NESTING = 3;
// still reported
/**
* @return string
*/
private const NAME = 'value';Full changelog: 14.12.1...14.12.2