Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/PHPStan/Analyser/AnalyserIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
use PHPStan\Testing\PHPStanTestCase;
use PHPStan\Type\Constant\ConstantIntegerType;
use PHPStan\Type\Constant\ConstantStringType;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\RequiresPhp;
use function extension_loaded;
use function sprintf;
use const PHP_VERSION_ID;

#[CoversNothing]

Check failure on line 20 in tests/PHPStan/Analyser/AnalyserIntegrationTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 20 in tests/PHPStan/Analyser/AnalyserIntegrationTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 20 in tests/PHPStan/Analyser/AnalyserIntegrationTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 20 in tests/PHPStan/Analyser/AnalyserIntegrationTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.
class AnalyserIntegrationTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Analyser/AnalyserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
use PHPStan\Rules\Properties\ReadWritePropertiesExtensionProvider;
use PHPStan\Testing\PHPStanTestCase;
use PHPStan\Type\FileTypeMapper;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;
use stdClass;
use function array_map;
Expand All @@ -44,6 +45,7 @@
use function substr;
use const PHP_OS;

#[CoversNothing]

Check failure on line 48 in tests/PHPStan/Analyser/AnalyserTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 48 in tests/PHPStan/Analyser/AnalyserTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 48 in tests/PHPStan/Analyser/AnalyserTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 48 in tests/PHPStan/Analyser/AnalyserTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.
class AnalyserTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Analyser/AnalyserTraitsIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
use Override;
use PHPStan\File\FileHelper;
use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\RequiresPhp;
use function array_map;
use function array_merge;
use function array_unique;
use function sprintf;
use function usort;

#[CoversNothing]

Check failure on line 16 in tests/PHPStan/Analyser/AnalyserTraitsIntegrationTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 16 in tests/PHPStan/Analyser/AnalyserTraitsIntegrationTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 16 in tests/PHPStan/Analyser/AnalyserTraitsIntegrationTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 16 in tests/PHPStan/Analyser/AnalyserTraitsIntegrationTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.
class AnalyserTraitsIntegrationTest extends PHPStanTestCase
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
namespace PHPStan\Analyser;

use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use function array_merge;
use function array_unique;

#[CoversNothing]

Check failure on line 10 in tests/PHPStan/Analyser/AnalyserWithCheckDynamicPropertiesTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 10 in tests/PHPStan/Analyser/AnalyserWithCheckDynamicPropertiesTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 10 in tests/PHPStan/Analyser/AnalyserWithCheckDynamicPropertiesTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 10 in tests/PHPStan/Analyser/AnalyserWithCheckDynamicPropertiesTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.
class AnalyserWithCheckDynamicPropertiesTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Analyser/ArgumentsNormalizerLegacyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
use PHPStan\ShouldNotHappenException;
use PHPStan\Testing\PHPStanTestCase;
use PHPStan\Type\Constant\ConstantIntegerType;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\RequiresPhp;

#[CoversNothing]

Check failure on line 19 in tests/PHPStan/Analyser/ArgumentsNormalizerLegacyTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 19 in tests/PHPStan/Analyser/ArgumentsNormalizerLegacyTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 19 in tests/PHPStan/Analyser/ArgumentsNormalizerLegacyTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 19 in tests/PHPStan/Analyser/ArgumentsNormalizerLegacyTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.
final class ArgumentsNormalizerLegacyTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Analyser/ArgumentsNormalizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
use PHPStan\Type\StringType;
use PHPStan\Type\Type;
use PHPStan\Type\VerbosityLevel;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;
use function count;

#[CoversNothing]

Check failure on line 24 in tests/PHPStan/Analyser/ArgumentsNormalizerTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 24 in tests/PHPStan/Analyser/ArgumentsNormalizerTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 24 in tests/PHPStan/Analyser/ArgumentsNormalizerTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 24 in tests/PHPStan/Analyser/ArgumentsNormalizerTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.
class ArgumentsNormalizerTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Analyser/ErrorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
namespace PHPStan\Analyser;

use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;

#[CoversNothing]

Check failure on line 9 in tests/PHPStan/Analyser/ErrorTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 9 in tests/PHPStan/Analyser/ErrorTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 9 in tests/PHPStan/Analyser/ErrorTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 9 in tests/PHPStan/Analyser/ErrorTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.
class ErrorTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Analyser/ExpressionResultTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@
use PHPStan\Type\ArrayType;
use PHPStan\Type\IntegerType;
use PHPStan\Type\MixedType;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;
use function count;
use function get_class;
use function sprintf;

#[CoversNothing]

Check failure on line 19 in tests/PHPStan/Analyser/ExpressionResultTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 19 in tests/PHPStan/Analyser/ExpressionResultTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 19 in tests/PHPStan/Analyser/ExpressionResultTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 19 in tests/PHPStan/Analyser/ExpressionResultTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.
class ExpressionResultTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Analyser/Ignore/IgnoreLexerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
namespace PHPStan\Analyser\Ignore;

use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;
use function array_pop;
use function substr_count;
use const PHP_EOL;

#[CoversNothing]

Check failure on line 12 in tests/PHPStan/Analyser/Ignore/IgnoreLexerTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 12 in tests/PHPStan/Analyser/Ignore/IgnoreLexerTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 12 in tests/PHPStan/Analyser/Ignore/IgnoreLexerTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 12 in tests/PHPStan/Analyser/Ignore/IgnoreLexerTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.
class IgnoreLexerTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Analyser/ScopeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
use PHPStan\Type\Type;
use PHPStan\Type\UnionType;
use PHPStan\Type\VerbosityLevel;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;

#[CoversNothing]

Check failure on line 22 in tests/PHPStan/Analyser/ScopeTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 22 in tests/PHPStan/Analyser/ScopeTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, ubuntu-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 22 in tests/PHPStan/Analyser/ScopeTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.

Check failure on line 22 in tests/PHPStan/Analyser/ScopeTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, windows-latest)

Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.
class ScopeTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Analyser/StatementResultTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
use PHPStan\Type\IntegerType;
use PHPStan\Type\MixedType;
use PHPStan\Type\StringType;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;
use function sprintf;

#[CoversNothing]
class StatementResultTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Analyser/TypeSpecifierContextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

use PHPStan\ShouldNotHappenException;
use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;

#[CoversNothing]
class TypeSpecifierContextTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Analyser/TypeSpecifierTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@
use PHPStan\Type\StringType;
use PHPStan\Type\UnionType;
use PHPStan\Type\VerbosityLevel;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;
use function implode;
use function sprintf;
use const PHP_INT_MAX;
use const PHP_INT_MIN;
use const PHP_VERSION_ID;

#[CoversNothing]
class TypeSpecifierTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Collectors/RegistryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
use PhpParser\Node;
use PHPStan\Analyser\Scope;
use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;

#[CoversNothing]
class RegistryTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Command/AnalyseApplicationIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use PHPStan\File\SimpleRelativePathHelper;
use PHPStan\ShouldNotHappenException;
use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\StreamOutput;
use Symfony\Component\Console\Style\SymfonyStyle;
Expand All @@ -22,6 +23,7 @@
use function stream_get_contents;
use const DIRECTORY_SEPARATOR;

#[CoversNothing]
class AnalyseApplicationIntegrationTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Command/AnalyseCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use PHPStan\ShouldNotHappenException;
use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\Group;
use Symfony\Component\Console\Tester\CommandTester;
Expand All @@ -17,6 +18,7 @@
use const PHP_EOL;

#[Group('exec')]
#[CoversNothing]
class AnalyseCommandTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Command/AnalysisResultTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

use PHPStan\Analyser\Error;
use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;

#[CoversNothing]
final class AnalysisResultTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Command/IgnoredRegexValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
use Hoa\File\Read;
use PHPStan\PhpDoc\TypeStringResolver;
use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;

#[CoversNothing]
class IgnoredRegexValidatorTest extends PHPStanTestCase
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@

use PHPStan\Rules\LazyRegistry;
use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use function array_map;
use function get_class;

#[CoversNothing]
class ConditionalTagsExtensionTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/DependencyInjection/IgnoreErrorsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
namespace PHPStan\DependencyInjection;

use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;

#[CoversNothing]
class IgnoreErrorsTest extends PHPStanTestCase
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
namespace PHPStan\DependencyInjection;

use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;

#[CoversNothing]
class InvalidIgnoredErrorExceptionTest extends PHPStanTestCase
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
use PHPStan\Testing\PHPStanTestCase;
use PHPStan\TrinaryLogic;
use PHPStan\Type\Php\ReflectionGetAttributesMethodReturnTypeExtension;
use PHPUnit\Framework\Attributes\CoversNothing;

#[CoversNothing]
class NetteContainerTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/File/FileExcluderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
namespace PHPStan\File;

use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;

#[CoversNothing]
class FileExcluderTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/File/FileHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
namespace PHPStan\File;

use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;

#[CoversNothing]
class FileHelperTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Generics/TemplateTypeFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
use PHPStan\Type\Type;
use PHPStan\Type\UnionType;
use PHPStan\Type\VerbosityLevel;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;
use function sprintf;

#[CoversNothing]
class TemplateTypeFactoryTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Parser/CachedParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
use PHPStan\File\FileHelper;
use PHPStan\File\FileReader;
use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\MockObject\MockObject;

#[CoversNothing]
class CachedParserTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Parser/CleaningParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
use PHPStan\Node\Printer\Printer;
use PHPStan\Php\PhpVersion;
use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;
use const PHP_VERSION_ID;

#[CoversNothing]
class CleaningParserTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Parser/ParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
namespace PHPStan\Parser;

use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;
use function count;

#[CoversNothing]
class ParserTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/Parser/RichParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
namespace PHPStan\Parser;

use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;
use const PHP_EOL;

#[CoversNothing]
class RichParserTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/PhpDoc/DefaultStubFilesProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
use Override;
use PHPStan\File\FileHelper;
use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;
use function dirname;
use function sprintf;
use const DIRECTORY_SEPARATOR;

#[CoversNothing]
class DefaultStubFilesProviderTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/PhpDoc/PhpDocStringResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

use PHPStan\PhpDocParser\Parser\ParserException;
use PHPStan\Testing\PHPStanTestCase;
use PHPUnit\Framework\Attributes\CoversNothing;

#[CoversNothing]
class PhpDocStringResolverTest extends PHPStanTestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/PHPStan/PhpDoc/TypeDescriptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@
use PHPStan\Type\StringType;
use PHPStan\Type\Type;
use PHPStan\Type\VerbosityLevel;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\Attributes\DataProvider;
use function sprintf;

#[CoversNothing]
class TypeDescriptionTest extends PHPStanTestCase
{

Expand Down
Loading
Loading