From b741d0aa804638d05478fd7ee7c2ccc0ac12ca07 Mon Sep 17 00:00:00 2001 From: Kei Date: Mon, 29 Jul 2024 02:23:38 +0700 Subject: [PATCH] test: `phpdoc_no_package` --- tests/Fixtures/Ruleset/relax_actual.php | 8 ++++++++ tests/Fixtures/Ruleset/relax_expected.php | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/tests/Fixtures/Ruleset/relax_actual.php b/tests/Fixtures/Ruleset/relax_actual.php index 72b34d0..ee74d39 100644 --- a/tests/Fixtures/Ruleset/relax_actual.php +++ b/tests/Fixtures/Ruleset/relax_actual.php @@ -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. diff --git a/tests/Fixtures/Ruleset/relax_expected.php b/tests/Fixtures/Ruleset/relax_expected.php index 18b1cd9..abcaa2a 100644 --- a/tests/Fixtures/Ruleset/relax_expected.php +++ b/tests/Fixtures/Ruleset/relax_expected.php @@ -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