phpdoc_no_useless_inheritdoc
Classy that does not inherit must not have @inheritdoc tags.
@inheritdoc
--- Original +++ New <?php -/** {@inheritdoc} */ +/** */ class Sample { }
--- Original +++ New <?php class Sample { /** - * @inheritdoc + * */ public function Test() { } }
The rule is part of the following rule sets:
@PhpCsFixer
@Symfony