diff --git a/moodle/Tests/Sniffs/Commenting/ValidTagsSniffTest.php b/moodle/Tests/Sniffs/Commenting/ValidTagsSniffTest.php index f61b86a..b4b3aac 100644 --- a/moodle/Tests/Sniffs/Commenting/ValidTagsSniffTest.php +++ b/moodle/Tests/Sniffs/Commenting/ValidTagsSniffTest.php @@ -55,11 +55,11 @@ public static function provider(): array { 'fixturePath' => 'lib/tests/example_test.php', 'fixtureSource' => 'unit_test', 'errors' => [ - 11 => 'Incorrect docblock tag "@returns". Should be "@return"', - 12 => 'Invalid docblock tag "@void"', - 55 => 'Invalid docblock tag "@small"', - 56 => 'Invalid docblock tag "@zzzing"', - 57 => 'Invalid docblock tag "@inheritdoc"', + 12 => 'Incorrect docblock tag "@returns". Should be "@return"', + 13 => 'Invalid docblock tag "@void"', + 58 => 'Invalid docblock tag "@small"', + 59 => 'Invalid docblock tag "@zzzing"', + 60 => 'Invalid docblock tag "@inheritdoc"', ], 'warnings' => [], ], diff --git a/moodle/Tests/Sniffs/Commenting/fixtures/ValidTags/unit_test.php b/moodle/Tests/Sniffs/Commenting/fixtures/ValidTags/unit_test.php index 01cd04d..f9ab4a5 100644 --- a/moodle/Tests/Sniffs/Commenting/fixtures/ValidTags/unit_test.php +++ b/moodle/Tests/Sniffs/Commenting/fixtures/ValidTags/unit_test.php @@ -2,6 +2,7 @@ /** * @covers \some_class + * @group some_group */ class some_test extends \advanced_testcase { /** @@ -42,6 +43,8 @@ public function also_all_valid_tags() { /** * Some more valid tags, because we are under tests area. + * + * @group some_group */ public function valid_inline_tags() { // @codeCoverageIgnoreStart diff --git a/moodle/Tests/Sniffs/Commenting/fixtures/ValidTags/unit_test.php.fixed b/moodle/Tests/Sniffs/Commenting/fixtures/ValidTags/unit_test.php.fixed index a9aac37..93d3062 100644 --- a/moodle/Tests/Sniffs/Commenting/fixtures/ValidTags/unit_test.php.fixed +++ b/moodle/Tests/Sniffs/Commenting/fixtures/ValidTags/unit_test.php.fixed @@ -2,6 +2,7 @@ /** * @covers \some_class + * @group some_group */ class some_test extends \advanced_testcase { /** @@ -41,6 +42,8 @@ class some_test extends \advanced_testcase { /** * Some more valid tags, because we are under tests area. + * + * @group some_group */ public function valid_inline_tags() { // @codeCoverageIgnoreStart