Skip to content

Commit 98b70ea

Browse files
committed
Add CoversNothing
1 parent 0db5fec commit 98b70ea

11 files changed

+21
-0
lines changed

tests/PHPStan/Analyser/AnalyserIntegrationTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
use PHPStan\Testing\PHPStanTestCase;
1212
use PHPStan\Type\Constant\ConstantIntegerType;
1313
use PHPStan\Type\Constant\ConstantStringType;
14+
use PHPUnit\Framework\Attributes\CoversNothing;
1415
use PHPUnit\Framework\Attributes\RequiresPhp;
1516
use function extension_loaded;
1617
use function sprintf;
1718
use const PHP_VERSION_ID;
1819

20+
#[CoversNothing]
1921
class AnalyserIntegrationTest extends PHPStanTestCase
2022
{
2123

tests/PHPStan/Command/AnalyseCommandTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use PHPStan\ShouldNotHappenException;
66
use PHPStan\Testing\PHPStanTestCase;
7+
use PHPUnit\Framework\Attributes\CoversNothing;
78
use PHPUnit\Framework\Attributes\DataProvider;
89
use PHPUnit\Framework\Attributes\Group;
910
use Symfony\Component\Console\Tester\CommandTester;
@@ -17,6 +18,7 @@
1718
use const PHP_EOL;
1819

1920
#[Group('exec')]
21+
#[CoversNothing]
2022
class AnalyseCommandTest extends PHPStanTestCase
2123
{
2224

tests/PHPStan/Command/CommandHelperTest.php

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

55
use PHPStan\ShouldNotHappenException;
6+
use PHPUnit\Framework\Attributes\CoversNothing;
67
use PHPUnit\Framework\Attributes\DataProvider;
78
use PHPUnit\Framework\Attributes\Group;
89
use PHPUnit\Framework\TestCase;
@@ -16,6 +17,7 @@
1617
use const DIRECTORY_SEPARATOR;
1718

1819
#[Group('exec')]
20+
#[CoversNothing]
1921
class CommandHelperTest extends TestCase
2022
{
2123

tests/PHPStan/Command/ErrorFormatter/BaselineNeonErrorFormatterIntegrationTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Nette\Utils\Json;
66
use PHPStan\ShouldNotHappenException;
7+
use PHPUnit\Framework\Attributes\CoversNothing;
78
use PHPUnit\Framework\Attributes\Group;
89
use PHPUnit\Framework\TestCase;
910
use function array_sum;
@@ -17,6 +18,7 @@
1718
use const PHP_BINARY;
1819

1920
#[Group('exec')]
21+
#[CoversNothing]
2022
class BaselineNeonErrorFormatterIntegrationTest extends TestCase
2123
{
2224

tests/PHPStan/Generics/GenericsIntegrationTest.php

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

55
use PHPStan\Testing\LevelsTestCase;
6+
use PHPUnit\Framework\Attributes\CoversNothing;
67
use PHPUnit\Framework\Attributes\Group;
78

89
#[Group('levels')]
10+
#[CoversNothing]
911
class GenericsIntegrationTest extends LevelsTestCase
1012
{
1113

tests/PHPStan/Levels/InferPrivatePropertyTypeFromConstructorIntegrationTest.php

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

55
use PHPStan\Testing\LevelsTestCase;
6+
use PHPUnit\Framework\Attributes\CoversNothing;
67
use PHPUnit\Framework\Attributes\Group;
78

89
#[Group('levels')]
10+
#[CoversNothing]
911
class InferPrivatePropertyTypeFromConstructorIntegrationTest extends LevelsTestCase
1012
{
1113

tests/PHPStan/Levels/LevelsIntegrationTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use const PHP_VERSION_ID;
88

99
#[Group('levels')]
10+
#[CoversNothing]
1011
class LevelsIntegrationTest extends LevelsTestCase
1112
{
1213

tests/PHPStan/Levels/NamedArgumentsIntegrationTest.php

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

55
use PHPStan\Testing\LevelsTestCase;
6+
use PHPUnit\Framework\Attributes\CoversNothing;
67
use PHPUnit\Framework\Attributes\Group;
78

89
#[Group('levels')]
10+
#[CoversNothing]
911
class NamedArgumentsIntegrationTest extends LevelsTestCase
1012
{
1113

tests/PHPStan/Levels/StubValidatorIntegrationTest.php

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

55
use PHPStan\Testing\LevelsTestCase;
6+
use PHPUnit\Framework\Attributes\CoversNothing;
67
use PHPUnit\Framework\Attributes\Group;
78

89
#[Group('levels')]
10+
#[CoversNothing]
911
class StubValidatorIntegrationTest extends LevelsTestCase
1012
{
1113

tests/PHPStan/Levels/StubsIntegrationTest.php

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

55
use PHPStan\Testing\LevelsTestCase;
6+
use PHPUnit\Framework\Attributes\CoversNothing;
67
use PHPUnit\Framework\Attributes\Group;
78

89
#[Group('levels')]
10+
#[CoversNothing]
911
class StubsIntegrationTest extends LevelsTestCase
1012
{
1113

0 commit comments

Comments
 (0)