Skip to content

Commit

Permalink
phpdoc_no_useless_inheritdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Jul 29, 2024
1 parent 2cfa19f commit caf1a51
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/Fixtures/Ruleset/relax-commonbox_actual.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,17 @@ class OrderedTraits
use A;
}

/**
* phpdoc_no_useless_inheritdoc
*/
class PhpdocNoUselessInheritdoc
{
/**
* {@inheritdoc}
*/
function func() {}
}

/**
* single_line_empty_body
*/
Expand Down
8 changes: 8 additions & 0 deletions tests/Fixtures/Ruleset/relax-commonbox_expected.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ class OrderedTraits
use Z;
}

/**
* phpdoc_no_useless_inheritdoc
*/
class PhpdocNoUselessInheritdoc
{
public function func() {}
}

/**
* single_line_empty_body
*/
Expand Down

0 comments on commit caf1a51

Please sign in to comment.