Skip to content

Commit

Permalink
test: phpdoc_no_package
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Jul 28, 2024
1 parent 687740e commit b741d0a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/Fixtures/Ruleset/relax_actual.php
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,14 @@ public function phpdoc__no_superfluous_phpdoc_tags($foo /*, $unusedParam = null
*/
public function phpdoc__phpdoc_align($a, $b) {}

/**
* @internal
* @param int $b
* @package Foo
* subpackage Bar
*/
public function phpdoc__phpdoc_no_package() {}

/**
* @throws \Exception|\RuntimeException foo
* @return int Return the number of changes.
Expand Down
5 changes: 5 additions & 0 deletions tests/Fixtures/Ruleset/relax_expected.php
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,11 @@ public function phpdoc__no_superfluous_phpdoc_tags($foo /* , $unusedParam = null
*/
public function phpdoc__phpdoc_align($a, $b) {}

/**
* @internal
*/
public function phpdoc__phpdoc_no_package() {}

/**
* @param string $foo
* @param bool $bar Bar
Expand Down

0 comments on commit b741d0a

Please sign in to comment.