Skip to content

Commit

Permalink
test: improve no_superfluous_phpdoc_tags
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Jul 29, 2024
1 parent 5747549 commit 842d6c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions tests/Fixtures/Ruleset/relax_actual.php
Original file line number Diff line number Diff line change
Expand Up @@ -414,9 +414,10 @@ public function phpdoc__no_empty_phpdoc()

/**
* @param mixed $foo
* @param string|int|null $unusedParam
* @param string|int|null $hidden_params
* @param mixed $unused_params
*/
public function phpdoc__no_superfluous_phpdoc_tags($foo /*, $unusedParam = null */) {}
public function phpdoc__no_superfluous_phpdoc_tags($foo /*, $hidden_params = null */) {}

/**
* @param string $a
Expand Down
2 changes: 1 addition & 1 deletion tests/Fixtures/Ruleset/relax_expected.php
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ public function phpdoc__no_empty_phpdoc() {}
/**
* @param mixed $foo
*/
public function phpdoc__no_superfluous_phpdoc_tags($foo /* , $unusedParam = null */) {}
public function phpdoc__no_superfluous_phpdoc_tags($foo /* , $hidden_params = null */) {}

/**
* @param string $a
Expand Down

0 comments on commit 842d6c8

Please sign in to comment.