Skip to content

14.12.2

Choose a tag to compare

@TomasVotruba TomasVotruba released this 24 Aug 18:54
· 59 commits to main since this release
00f595d

Rule fixes

  • NoMissnamedDocTagRule — no longer flags a constant whose docblock merely mentions @return/@param inside 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