Skip to content

Commit 0eb7dff

Browse files
authored
Add #[CoversNothing]
1 parent 0db5fec commit 0eb7dff

13 files changed

+26
-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/Analyser/AnalyserTraitsIntegrationTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
use Override;
66
use PHPStan\File\FileHelper;
77
use PHPStan\Testing\PHPStanTestCase;
8+
use PHPUnit\Framework\Attributes\CoversNothing;
89
use PHPUnit\Framework\Attributes\RequiresPhp;
910
use function array_map;
1011
use function array_merge;
1112
use function array_unique;
1213
use function sprintf;
1314
use function usort;
1415

16+
#[CoversNothing]
1517
class AnalyserTraitsIntegrationTest extends PHPStanTestCase
1618
{
1719

tests/PHPStan/Command/AnalyseApplicationIntegrationTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
use PHPStan\File\SimpleRelativePathHelper;
1414
use PHPStan\ShouldNotHappenException;
1515
use PHPStan\Testing\PHPStanTestCase;
16+
use PHPUnit\Framework\Attributes\CoversNothing;
1617
use Symfony\Component\Console\Input\InputInterface;
1718
use Symfony\Component\Console\Output\StreamOutput;
1819
use Symfony\Component\Console\Style\SymfonyStyle;
@@ -22,6 +23,7 @@
2223
use function stream_get_contents;
2324
use const DIRECTORY_SEPARATOR;
2425

26+
#[CoversNothing]
2527
class AnalyseApplicationIntegrationTest extends PHPStanTestCase
2628
{
2729

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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
namespace PHPStan\Levels;
44

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

910
#[Group('levels')]
11+
#[CoversNothing]
1012
class LevelsIntegrationTest extends LevelsTestCase
1113
{
1214

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

0 commit comments

Comments
 (0)