Skip to content

Commit 417b3f4

Browse files
committed
Revert "Added #[Covers*] attributes to tests"
This reverts commit f9bf010.
1 parent 83f0813 commit 417b3f4

File tree

105 files changed

+0
-119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+0
-119
lines changed

tests/PHPStan/Analyser/AnalyserIntegrationTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use function sprintf;
1717
use const PHP_VERSION_ID;
1818

19-
#[\PHPUnit\Framework\Attributes\CoversNothing]
2019
class AnalyserIntegrationTest extends PHPStanTestCase
2120
{
2221

tests/PHPStan/Analyser/AnalyserTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
use function substr;
4545
use const PHP_OS;
4646

47-
#[\PHPUnit\Framework\Attributes\CoversNothing]
4847
class AnalyserTest extends PHPStanTestCase
4948
{
5049

tests/PHPStan/Analyser/AnalyserTraitsIntegrationTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
use function sprintf;
1313
use function usort;
1414

15-
#[\PHPUnit\Framework\Attributes\CoversNothing]
1615
class AnalyserTraitsIntegrationTest extends PHPStanTestCase
1716
{
1817

tests/PHPStan/Analyser/AnalyserWithCheckDynamicPropertiesTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use function array_merge;
77
use function array_unique;
88

9-
#[\PHPUnit\Framework\Attributes\CoversNothing]
109
class AnalyserWithCheckDynamicPropertiesTest extends PHPStanTestCase
1110
{
1211

tests/PHPStan/Analyser/ArgumentsNormalizerLegacyTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@
1313
use PHPStan\ShouldNotHappenException;
1414
use PHPStan\Testing\PHPStanTestCase;
1515
use PHPStan\Type\Constant\ConstantIntegerType;
16-
use PHPUnit\Framework\Attributes\CoversClass;
1716
use PHPUnit\Framework\Attributes\RequiresPhp;
1817

19-
#[CoversClass(ArgumentsNormalizer::class)]
2018
final class ArgumentsNormalizerLegacyTest extends PHPStanTestCase
2119
{
2220

tests/PHPStan/Analyser/ArgumentsNormalizerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
use PHPUnit\Framework\Attributes\DataProvider;
2121
use function count;
2222

23-
#[CoversClass(ArgumentsNormalizer::class)]
2423
class ArgumentsNormalizerTest extends PHPStanTestCase
2524
{
2625

tests/PHPStan/Analyser/ErrorTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
namespace PHPStan\Analyser;
44

55
use PHPStan\Testing\PHPStanTestCase;
6-
use PHPUnit\Framework\Attributes\CoversClass;
76
use PHPUnit\Framework\Attributes\DataProvider;
87

9-
#[CoversClass(Error::class)]
108
class ErrorTest extends PHPStanTestCase
119
{
1210

tests/PHPStan/Analyser/ExpressionResultTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use function get_class;
1616
use function sprintf;
1717

18-
#[\PHPUnit\Framework\Attributes\CoversNothing]
1918
class ExpressionResultTest extends PHPStanTestCase
2019
{
2120

tests/PHPStan/Analyser/Ignore/IgnoreLexerTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33
namespace PHPStan\Analyser\Ignore;
44

55
use PHPStan\Testing\PHPStanTestCase;
6-
use PHPUnit\Framework\Attributes\CoversClass;
76
use PHPUnit\Framework\Attributes\DataProvider;
87
use function array_pop;
98
use function substr_count;
109
use const PHP_EOL;
1110

12-
#[CoversClass(IgnoreLexer::class)]
1311
class IgnoreLexerTest extends PHPStanTestCase
1412
{
1513

tests/PHPStan/Analyser/ScopeTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use PHPStan\Type\VerbosityLevel;
1919
use PHPUnit\Framework\Attributes\DataProvider;
2020

21-
#[\PHPUnit\Framework\Attributes\CoversNothing]
2221
class ScopeTest extends PHPStanTestCase
2322
{
2423

0 commit comments

Comments
 (0)