diff --git a/tests/Core/ErrorSuppressionTest.php b/tests/Core/ErrorSuppressionTest.php index 28165be5b5..65fc961fda 100644 --- a/tests/Core/ErrorSuppressionTest.php +++ b/tests/Core/ErrorSuppressionTest.php @@ -17,7 +17,8 @@ /** * Tests for PHP_CodeSniffer error suppression tags. * - * @coversNothing + * @covers PHP_CodeSniffer\Files\File::addMessage + * @covers PHP_CodeSniffer\Tokenizers\Tokenizer::createPositionMap */ final class ErrorSuppressionTest extends TestCase { @@ -32,7 +33,6 @@ final class ErrorSuppressionTest extends TestCase * Defaults to 0. * * @dataProvider dataSuppressError - * @covers PHP_CodeSniffer\Tokenizers\Tokenizer::createPositionMap * * @return void */ @@ -165,7 +165,6 @@ public static function dataSuppressError() * Defaults to 1. * * @dataProvider dataSuppressSomeErrors - * @covers PHP_CodeSniffer\Tokenizers\Tokenizer::createPositionMap * * @return void */ @@ -258,7 +257,6 @@ public static function dataSuppressSomeErrors() * Defaults to 0. * * @dataProvider dataSuppressWarning - * @covers PHP_CodeSniffer\Tokenizers\Tokenizer::createPositionMap * * @return void */ @@ -343,7 +341,6 @@ public static function dataSuppressWarning() * Defaults to 1. * * @dataProvider dataSuppressLine - * @covers PHP_CodeSniffer\Tokenizers\Tokenizer::createPositionMap * * @return void */ @@ -444,8 +441,6 @@ public static function dataSuppressLine() /** * Test suppressing a single error using a single line ignore in the middle of a line. * - * @covers PHP_CodeSniffer\Tokenizers\Tokenizer::createPositionMap - * * @return void */ public function testSuppressLineMidLine() @@ -469,8 +464,6 @@ public function testSuppressLineMidLine() /** * Test suppressing a single error using a single line ignore within a docblock. * - * @covers PHP_CodeSniffer\Tokenizers\Tokenizer::createPositionMap - * * @return void */ public function testSuppressLineWithinDocblock() @@ -507,7 +500,6 @@ public function testSuppressLineWithinDocblock() * @param string $after Annotation to place after the code. * * @dataProvider dataNestedSuppressLine - * @covers PHP_CodeSniffer\Tokenizers\Tokenizer::createPositionMap * * @return void */ @@ -598,7 +590,6 @@ public static function dataNestedSuppressLine() * Defaults to 0. * * @dataProvider dataSuppressScope - * @covers PHP_CodeSniffer\Tokenizers\Tokenizer::createPositionMap * * @return void */ @@ -696,7 +687,6 @@ public static function dataSuppressScope() * Defaults to 0. * * @dataProvider dataSuppressFile - * @covers PHP_CodeSniffer\Tokenizers\Tokenizer::createPositionMap * * @return void */ @@ -811,7 +801,6 @@ public static function dataSuppressFile() * Defaults to 0. * * @dataProvider dataDisableSelected - * @covers PHP_CodeSniffer\Tokenizers\Tokenizer::createPositionMap * * @return void */ @@ -929,7 +918,6 @@ public static function dataDisableSelected() * @param int $expectedWarnings Number of warnings expected. * * @dataProvider dataEnableSelected - * @covers PHP_CodeSniffer\Tokenizers\Tokenizer::createPositionMap * * @return void */ @@ -1104,7 +1092,6 @@ public static function dataEnableSelected() * @param int $expectedWarnings Number of warnings expected. * * @dataProvider dataIgnoreSelected - * @covers PHP_CodeSniffer\Tokenizers\Tokenizer::createPositionMap * * @return void */ @@ -1196,7 +1183,6 @@ public static function dataIgnoreSelected() * @param int $expectedWarnings Number of warnings expected. * * @dataProvider dataCommenting - * @covers PHP_CodeSniffer\Tokenizers\Tokenizer::createPositionMap * * @return void */