Skip to content

Commit 48d42b4

Browse files
committed
Covers annotations are not needed anymore
1 parent 45aeaaa commit 48d42b4

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

phpunit.xml.dist

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
55
bootstrap="vendor/squizlabs/php_codesniffer/autoload.php"
6-
colors="true"
7-
forceCoversAnnotation="true">
6+
colors="true">
87

98
<php>
109
<const name="PHP_CODESNIFFER_IN_TESTS" value="true"/>

tests/Report/GitlabTest.php

-7
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,12 @@ protected function setUp(): void
4949
$this->report = new Gitlab();
5050
}
5151

52-
/**
53-
* @covers \Micheh\PhpCodeSniffer\Report\Gitlab::generate
54-
*/
5552
public function testGenerate(): void
5653
{
5754
$this->expectOutputString("[{\"phpunit\":\"test\"}]\n");
5855
$this->report->generate('{"phpunit":"test"},', 5, 1, 2, 1);
5956
}
6057

61-
/**
62-
* @covers \Micheh\PhpCodeSniffer\Report\Gitlab::generate
63-
*/
6458
public function testGenerateWithEmpty(): void
6559
{
6660
$this->expectOutputString("[]\n");
@@ -81,7 +75,6 @@ public static function violations(): array
8175
}
8276

8377
/**
84-
* @covers \Micheh\PhpCodeSniffer\Report\Gitlab::generateFileReport
8578
* @dataProvider violations
8679
*/
8780
public function testGenerateFileReport(string $fileName): void

0 commit comments

Comments
 (0)