From 4699cf4fa5e83e6b009891139665a3fc20dc6c4d Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Sun, 26 Oct 2025 09:32:03 +0100 Subject: [PATCH 1/2] Added covers-class informtation to *RuleTests --- tests/Classes/DoctrineProxyForbiddenClassNamesExtensionTest.php | 1 + tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.php | 1 + tests/Rules/Doctrine/ORM/DqlRuleTest.php | 1 + tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php | 1 + tests/Rules/Doctrine/ORM/EntityConstructorNotFinalRuleTest.php | 1 + tests/Rules/Doctrine/ORM/EntityMappingExceptionRuleTest.php | 1 + tests/Rules/Doctrine/ORM/EntityNotFinalRuleTest.php | 1 + tests/Rules/Doctrine/ORM/EntityRelationRuleTest.php | 1 + tests/Rules/Doctrine/ORM/MagicRepositoryMethodCallRuleTest.php | 1 + tests/Rules/Doctrine/ORM/QueryBuilderDqlRuleTest.php | 1 + tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleTest.php | 1 + .../RepositoryMethodCallRuleWithoutObjectManagerLoaderTest.php | 1 + tests/Rules/Exceptions/CatchWithUnthrownExceptionRuleTest.php | 1 + tests/Rules/Exceptions/TooWideMethodThrowTypeRuleTest.php | 1 + .../Properties/MissingGedmoByPhpDocPropertyAssignRuleTest.php | 1 + tests/Rules/Properties/MissingGedmoPropertyAssignRuleTest.php | 1 + .../Properties/MissingReadOnlyByPhpDocPropertyAssignRuleTest.php | 1 + tests/Rules/Properties/MissingReadOnlyPropertyAssignRuleTest.php | 1 + 18 files changed, 18 insertions(+) diff --git a/tests/Classes/DoctrineProxyForbiddenClassNamesExtensionTest.php b/tests/Classes/DoctrineProxyForbiddenClassNamesExtensionTest.php index 5d6800fd..4f068d9d 100644 --- a/tests/Classes/DoctrineProxyForbiddenClassNamesExtensionTest.php +++ b/tests/Classes/DoctrineProxyForbiddenClassNamesExtensionTest.php @@ -8,6 +8,7 @@ use function array_merge; /** + * @covers InstantiationRule * @extends RuleTestCase * @runInSeparateProcess */ diff --git a/tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.php b/tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.php index e7a88b28..80893e4f 100644 --- a/tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.php +++ b/tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.php @@ -7,6 +7,7 @@ use const PHP_VERSION_ID; /** + * @covers UnusedPrivatePropertyRule * @extends RuleTestCase */ class UnusedPrivatePropertyRuleTest extends RuleTestCase diff --git a/tests/Rules/Doctrine/ORM/DqlRuleTest.php b/tests/Rules/Doctrine/ORM/DqlRuleTest.php index 6e019ebc..7e4a05bd 100644 --- a/tests/Rules/Doctrine/ORM/DqlRuleTest.php +++ b/tests/Rules/Doctrine/ORM/DqlRuleTest.php @@ -10,6 +10,7 @@ use function strpos; /** + * @covers DqlRule * @extends RuleTestCase * @runInSeparateProcess */ diff --git a/tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php b/tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php index 5fd80dcc..03380edc 100644 --- a/tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php +++ b/tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php @@ -35,6 +35,7 @@ use const PHP_VERSION_ID; /** + * @covers EntityColumnRule * @extends RuleTestCase * @runInSeparateProcess */ diff --git a/tests/Rules/Doctrine/ORM/EntityConstructorNotFinalRuleTest.php b/tests/Rules/Doctrine/ORM/EntityConstructorNotFinalRuleTest.php index 5427f788..bea6727f 100644 --- a/tests/Rules/Doctrine/ORM/EntityConstructorNotFinalRuleTest.php +++ b/tests/Rules/Doctrine/ORM/EntityConstructorNotFinalRuleTest.php @@ -8,6 +8,7 @@ use PHPStan\Type\Doctrine\ObjectMetadataResolver; /** + * @covers EntityConstructorNotFinalRule * @extends RuleTestCase * @runInSeparateProcess */ diff --git a/tests/Rules/Doctrine/ORM/EntityMappingExceptionRuleTest.php b/tests/Rules/Doctrine/ORM/EntityMappingExceptionRuleTest.php index b5881adb..684e2c48 100644 --- a/tests/Rules/Doctrine/ORM/EntityMappingExceptionRuleTest.php +++ b/tests/Rules/Doctrine/ORM/EntityMappingExceptionRuleTest.php @@ -8,6 +8,7 @@ use const PHP_VERSION_ID; /** + * @covers EntityMappingExceptionRule * @extends RuleTestCase * @runInSeparateProcess */ diff --git a/tests/Rules/Doctrine/ORM/EntityNotFinalRuleTest.php b/tests/Rules/Doctrine/ORM/EntityNotFinalRuleTest.php index a1474f56..9922589a 100644 --- a/tests/Rules/Doctrine/ORM/EntityNotFinalRuleTest.php +++ b/tests/Rules/Doctrine/ORM/EntityNotFinalRuleTest.php @@ -8,6 +8,7 @@ use PHPStan\Type\Doctrine\ObjectMetadataResolver; /** + * @covers EntityNotFinalRule * @extends RuleTestCase * @runInSeparateProcess */ diff --git a/tests/Rules/Doctrine/ORM/EntityRelationRuleTest.php b/tests/Rules/Doctrine/ORM/EntityRelationRuleTest.php index 477b9157..33bae381 100644 --- a/tests/Rules/Doctrine/ORM/EntityRelationRuleTest.php +++ b/tests/Rules/Doctrine/ORM/EntityRelationRuleTest.php @@ -9,6 +9,7 @@ use const PHP_VERSION_ID; /** + * @covers EntityColumnRule * @extends RuleTestCase * @runInSeparateProcess */ diff --git a/tests/Rules/Doctrine/ORM/MagicRepositoryMethodCallRuleTest.php b/tests/Rules/Doctrine/ORM/MagicRepositoryMethodCallRuleTest.php index 6b09b12e..34e6ba7d 100644 --- a/tests/Rules/Doctrine/ORM/MagicRepositoryMethodCallRuleTest.php +++ b/tests/Rules/Doctrine/ORM/MagicRepositoryMethodCallRuleTest.php @@ -7,6 +7,7 @@ use PHPStan\Testing\RuleTestCase; /** + * @covers CallMethodsRule * @extends RuleTestCase */ class MagicRepositoryMethodCallRuleTest extends RuleTestCase diff --git a/tests/Rules/Doctrine/ORM/QueryBuilderDqlRuleTest.php b/tests/Rules/Doctrine/ORM/QueryBuilderDqlRuleTest.php index 65fd38d6..a4d34df8 100644 --- a/tests/Rules/Doctrine/ORM/QueryBuilderDqlRuleTest.php +++ b/tests/Rules/Doctrine/ORM/QueryBuilderDqlRuleTest.php @@ -7,6 +7,7 @@ use PHPStan\Type\Doctrine\ObjectMetadataResolver; /** + * @covers QueryBuilderDqlRule * @extends RuleTestCase */ class QueryBuilderDqlRuleTest extends RuleTestCase diff --git a/tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleTest.php b/tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleTest.php index da10cbf3..162cd33b 100644 --- a/tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleTest.php +++ b/tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleTest.php @@ -7,6 +7,7 @@ use PHPStan\Type\Doctrine\ObjectMetadataResolver; /** + * @covers RepositoryMethodCallRule * @extends RuleTestCase */ class RepositoryMethodCallRuleTest extends RuleTestCase diff --git a/tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleWithoutObjectManagerLoaderTest.php b/tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleWithoutObjectManagerLoaderTest.php index 849d3675..53d6eca8 100644 --- a/tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleWithoutObjectManagerLoaderTest.php +++ b/tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleWithoutObjectManagerLoaderTest.php @@ -7,6 +7,7 @@ use PHPStan\Type\Doctrine\ObjectMetadataResolver; /** + * @covers RepositoryMethodCallRule * @extends RuleTestCase */ class RepositoryMethodCallRuleWithoutObjectManagerLoaderTest extends RuleTestCase diff --git a/tests/Rules/Exceptions/CatchWithUnthrownExceptionRuleTest.php b/tests/Rules/Exceptions/CatchWithUnthrownExceptionRuleTest.php index f3895dd8..c281ca94 100644 --- a/tests/Rules/Exceptions/CatchWithUnthrownExceptionRuleTest.php +++ b/tests/Rules/Exceptions/CatchWithUnthrownExceptionRuleTest.php @@ -6,6 +6,7 @@ use PHPStan\Testing\RuleTestCase; /** + * @covers CatchWithUnthrownExceptionRule * @extends RuleTestCase */ class CatchWithUnthrownExceptionRuleTest extends RuleTestCase diff --git a/tests/Rules/Exceptions/TooWideMethodThrowTypeRuleTest.php b/tests/Rules/Exceptions/TooWideMethodThrowTypeRuleTest.php index e3d91158..d11302b4 100644 --- a/tests/Rules/Exceptions/TooWideMethodThrowTypeRuleTest.php +++ b/tests/Rules/Exceptions/TooWideMethodThrowTypeRuleTest.php @@ -6,6 +6,7 @@ use PHPStan\Testing\RuleTestCase; /** + * @covers TooWideMethodThrowTypeRule * @extends RuleTestCase */ class TooWideMethodThrowTypeRuleTest extends RuleTestCase diff --git a/tests/Rules/Properties/MissingGedmoByPhpDocPropertyAssignRuleTest.php b/tests/Rules/Properties/MissingGedmoByPhpDocPropertyAssignRuleTest.php index 7b66451e..cdab900e 100644 --- a/tests/Rules/Properties/MissingGedmoByPhpDocPropertyAssignRuleTest.php +++ b/tests/Rules/Properties/MissingGedmoByPhpDocPropertyAssignRuleTest.php @@ -9,6 +9,7 @@ use PHPStan\Type\Doctrine\ObjectMetadataResolver; /** + * @covers UnusedPrivatePropertyRule * @extends RuleTestCase */ class MissingGedmoByPhpDocPropertyAssignRuleTest extends RuleTestCase diff --git a/tests/Rules/Properties/MissingGedmoPropertyAssignRuleTest.php b/tests/Rules/Properties/MissingGedmoPropertyAssignRuleTest.php index 60671537..50e2384a 100644 --- a/tests/Rules/Properties/MissingGedmoPropertyAssignRuleTest.php +++ b/tests/Rules/Properties/MissingGedmoPropertyAssignRuleTest.php @@ -11,6 +11,7 @@ use const PHP_VERSION_ID; /** + * @covers UnusedPrivatePropertyRule * @extends RuleTestCase */ class MissingGedmoPropertyAssignRuleTest extends RuleTestCase diff --git a/tests/Rules/Properties/MissingReadOnlyByPhpDocPropertyAssignRuleTest.php b/tests/Rules/Properties/MissingReadOnlyByPhpDocPropertyAssignRuleTest.php index 8a72494f..6e4c780d 100644 --- a/tests/Rules/Properties/MissingReadOnlyByPhpDocPropertyAssignRuleTest.php +++ b/tests/Rules/Properties/MissingReadOnlyByPhpDocPropertyAssignRuleTest.php @@ -6,6 +6,7 @@ use PHPStan\Testing\RuleTestCase; /** + * @covers MissingReadOnlyByPhpDocPropertyAssignRule * @extends RuleTestCase */ class MissingReadOnlyByPhpDocPropertyAssignRuleTest extends RuleTestCase diff --git a/tests/Rules/Properties/MissingReadOnlyPropertyAssignRuleTest.php b/tests/Rules/Properties/MissingReadOnlyPropertyAssignRuleTest.php index 6f5c545f..91eff3a0 100644 --- a/tests/Rules/Properties/MissingReadOnlyPropertyAssignRuleTest.php +++ b/tests/Rules/Properties/MissingReadOnlyPropertyAssignRuleTest.php @@ -7,6 +7,7 @@ use const PHP_VERSION_ID; /** + * @covers MissingReadOnlyPropertyAssignRule * @extends RuleTestCase */ class MissingReadOnlyPropertyAssignRuleTest extends RuleTestCase From 4dc98c9848aec12fc120340877680a5ffca1c2e4 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Sun, 26 Oct 2025 09:54:44 +0100 Subject: [PATCH 2/2] requires FQCN --- tests/Classes/DoctrineProxyForbiddenClassNamesExtensionTest.php | 2 +- tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.php | 2 +- tests/Rules/Doctrine/ORM/DqlRuleTest.php | 2 +- tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php | 2 +- tests/Rules/Doctrine/ORM/EntityConstructorNotFinalRuleTest.php | 2 +- tests/Rules/Doctrine/ORM/EntityMappingExceptionRuleTest.php | 2 +- tests/Rules/Doctrine/ORM/EntityNotFinalRuleTest.php | 2 +- tests/Rules/Doctrine/ORM/EntityRelationRuleTest.php | 2 +- tests/Rules/Doctrine/ORM/MagicRepositoryMethodCallRuleTest.php | 2 +- tests/Rules/Doctrine/ORM/QueryBuilderDqlRuleTest.php | 2 +- tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleTest.php | 2 +- .../RepositoryMethodCallRuleWithoutObjectManagerLoaderTest.php | 2 +- tests/Rules/Exceptions/CatchWithUnthrownExceptionRuleTest.php | 2 +- tests/Rules/Exceptions/TooWideMethodThrowTypeRuleTest.php | 2 +- .../Properties/MissingGedmoByPhpDocPropertyAssignRuleTest.php | 2 +- tests/Rules/Properties/MissingGedmoPropertyAssignRuleTest.php | 2 +- .../MissingReadOnlyByPhpDocPropertyAssignRuleTest.php | 2 +- .../Rules/Properties/MissingReadOnlyPropertyAssignRuleTest.php | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/tests/Classes/DoctrineProxyForbiddenClassNamesExtensionTest.php b/tests/Classes/DoctrineProxyForbiddenClassNamesExtensionTest.php index 4f068d9d..99cfd18a 100644 --- a/tests/Classes/DoctrineProxyForbiddenClassNamesExtensionTest.php +++ b/tests/Classes/DoctrineProxyForbiddenClassNamesExtensionTest.php @@ -8,7 +8,7 @@ use function array_merge; /** - * @covers InstantiationRule + * @covers \PHPStan\Rules\Classes\InstantiationRule * @extends RuleTestCase * @runInSeparateProcess */ diff --git a/tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.php b/tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.php index 80893e4f..40fe00b2 100644 --- a/tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.php +++ b/tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.php @@ -7,7 +7,7 @@ use const PHP_VERSION_ID; /** - * @covers UnusedPrivatePropertyRule + * @covers \PHPStan\Rules\DeadCode\UnusedPrivatePropertyRule * @extends RuleTestCase */ class UnusedPrivatePropertyRuleTest extends RuleTestCase diff --git a/tests/Rules/Doctrine/ORM/DqlRuleTest.php b/tests/Rules/Doctrine/ORM/DqlRuleTest.php index 7e4a05bd..491196b9 100644 --- a/tests/Rules/Doctrine/ORM/DqlRuleTest.php +++ b/tests/Rules/Doctrine/ORM/DqlRuleTest.php @@ -10,7 +10,7 @@ use function strpos; /** - * @covers DqlRule + * @covers \PHPStan\Rules\Doctrine\ORM\DqlRule * @extends RuleTestCase * @runInSeparateProcess */ diff --git a/tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php b/tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php index 03380edc..df6504c6 100644 --- a/tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php +++ b/tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php @@ -35,7 +35,7 @@ use const PHP_VERSION_ID; /** - * @covers EntityColumnRule + * @covers \PHPStan\Rules\Doctrine\ORM\EntityColumnRule * @extends RuleTestCase * @runInSeparateProcess */ diff --git a/tests/Rules/Doctrine/ORM/EntityConstructorNotFinalRuleTest.php b/tests/Rules/Doctrine/ORM/EntityConstructorNotFinalRuleTest.php index bea6727f..bf9929ec 100644 --- a/tests/Rules/Doctrine/ORM/EntityConstructorNotFinalRuleTest.php +++ b/tests/Rules/Doctrine/ORM/EntityConstructorNotFinalRuleTest.php @@ -8,7 +8,7 @@ use PHPStan\Type\Doctrine\ObjectMetadataResolver; /** - * @covers EntityConstructorNotFinalRule + * @covers \PHPStan\Rules\Doctrine\ORM\EntityConstructorNotFinalRule * @extends RuleTestCase * @runInSeparateProcess */ diff --git a/tests/Rules/Doctrine/ORM/EntityMappingExceptionRuleTest.php b/tests/Rules/Doctrine/ORM/EntityMappingExceptionRuleTest.php index 684e2c48..f661abdc 100644 --- a/tests/Rules/Doctrine/ORM/EntityMappingExceptionRuleTest.php +++ b/tests/Rules/Doctrine/ORM/EntityMappingExceptionRuleTest.php @@ -8,7 +8,7 @@ use const PHP_VERSION_ID; /** - * @covers EntityMappingExceptionRule + * @covers \PHPStan\Rules\Doctrine\ORM\EntityMappingExceptionRule * @extends RuleTestCase * @runInSeparateProcess */ diff --git a/tests/Rules/Doctrine/ORM/EntityNotFinalRuleTest.php b/tests/Rules/Doctrine/ORM/EntityNotFinalRuleTest.php index 9922589a..a32036e3 100644 --- a/tests/Rules/Doctrine/ORM/EntityNotFinalRuleTest.php +++ b/tests/Rules/Doctrine/ORM/EntityNotFinalRuleTest.php @@ -8,7 +8,7 @@ use PHPStan\Type\Doctrine\ObjectMetadataResolver; /** - * @covers EntityNotFinalRule + * @covers \PHPStan\Rules\Doctrine\ORM\EntityNotFinalRule * @extends RuleTestCase * @runInSeparateProcess */ diff --git a/tests/Rules/Doctrine/ORM/EntityRelationRuleTest.php b/tests/Rules/Doctrine/ORM/EntityRelationRuleTest.php index 33bae381..aa564b50 100644 --- a/tests/Rules/Doctrine/ORM/EntityRelationRuleTest.php +++ b/tests/Rules/Doctrine/ORM/EntityRelationRuleTest.php @@ -9,7 +9,7 @@ use const PHP_VERSION_ID; /** - * @covers EntityColumnRule + * @covers \PHPStan\Rules\Doctrine\ORM\EntityColumnRule * @extends RuleTestCase * @runInSeparateProcess */ diff --git a/tests/Rules/Doctrine/ORM/MagicRepositoryMethodCallRuleTest.php b/tests/Rules/Doctrine/ORM/MagicRepositoryMethodCallRuleTest.php index 34e6ba7d..2dd6fc38 100644 --- a/tests/Rules/Doctrine/ORM/MagicRepositoryMethodCallRuleTest.php +++ b/tests/Rules/Doctrine/ORM/MagicRepositoryMethodCallRuleTest.php @@ -7,7 +7,7 @@ use PHPStan\Testing\RuleTestCase; /** - * @covers CallMethodsRule + * @covers \PHPStan\Rules\Methods\CallMethodsRule * @extends RuleTestCase */ class MagicRepositoryMethodCallRuleTest extends RuleTestCase diff --git a/tests/Rules/Doctrine/ORM/QueryBuilderDqlRuleTest.php b/tests/Rules/Doctrine/ORM/QueryBuilderDqlRuleTest.php index a4d34df8..2650cf79 100644 --- a/tests/Rules/Doctrine/ORM/QueryBuilderDqlRuleTest.php +++ b/tests/Rules/Doctrine/ORM/QueryBuilderDqlRuleTest.php @@ -7,7 +7,7 @@ use PHPStan\Type\Doctrine\ObjectMetadataResolver; /** - * @covers QueryBuilderDqlRule + * @covers \PHPStan\Rules\Doctrine\ORM\QueryBuilderDqlRule * @extends RuleTestCase */ class QueryBuilderDqlRuleTest extends RuleTestCase diff --git a/tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleTest.php b/tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleTest.php index 162cd33b..4142724f 100644 --- a/tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleTest.php +++ b/tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleTest.php @@ -7,7 +7,7 @@ use PHPStan\Type\Doctrine\ObjectMetadataResolver; /** - * @covers RepositoryMethodCallRule + * @covers \PHPStan\Rules\Doctrine\ORM\RepositoryMethodCallRule * @extends RuleTestCase */ class RepositoryMethodCallRuleTest extends RuleTestCase diff --git a/tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleWithoutObjectManagerLoaderTest.php b/tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleWithoutObjectManagerLoaderTest.php index 53d6eca8..1dfd10d9 100644 --- a/tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleWithoutObjectManagerLoaderTest.php +++ b/tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleWithoutObjectManagerLoaderTest.php @@ -7,7 +7,7 @@ use PHPStan\Type\Doctrine\ObjectMetadataResolver; /** - * @covers RepositoryMethodCallRule + * @covers \PHPStan\Rules\Doctrine\ORM\RepositoryMethodCallRule * @extends RuleTestCase */ class RepositoryMethodCallRuleWithoutObjectManagerLoaderTest extends RuleTestCase diff --git a/tests/Rules/Exceptions/CatchWithUnthrownExceptionRuleTest.php b/tests/Rules/Exceptions/CatchWithUnthrownExceptionRuleTest.php index c281ca94..5a97d8ea 100644 --- a/tests/Rules/Exceptions/CatchWithUnthrownExceptionRuleTest.php +++ b/tests/Rules/Exceptions/CatchWithUnthrownExceptionRuleTest.php @@ -6,7 +6,7 @@ use PHPStan\Testing\RuleTestCase; /** - * @covers CatchWithUnthrownExceptionRule + * @covers \PHPStan\Rules\Exceptions\CatchWithUnthrownExceptionRule * @extends RuleTestCase */ class CatchWithUnthrownExceptionRuleTest extends RuleTestCase diff --git a/tests/Rules/Exceptions/TooWideMethodThrowTypeRuleTest.php b/tests/Rules/Exceptions/TooWideMethodThrowTypeRuleTest.php index d11302b4..41956afb 100644 --- a/tests/Rules/Exceptions/TooWideMethodThrowTypeRuleTest.php +++ b/tests/Rules/Exceptions/TooWideMethodThrowTypeRuleTest.php @@ -6,7 +6,7 @@ use PHPStan\Testing\RuleTestCase; /** - * @covers TooWideMethodThrowTypeRule + * @covers \PHPStan\Rules\Exceptions\TooWideMethodThrowTypeRule * @extends RuleTestCase */ class TooWideMethodThrowTypeRuleTest extends RuleTestCase diff --git a/tests/Rules/Properties/MissingGedmoByPhpDocPropertyAssignRuleTest.php b/tests/Rules/Properties/MissingGedmoByPhpDocPropertyAssignRuleTest.php index cdab900e..b7699dde 100644 --- a/tests/Rules/Properties/MissingGedmoByPhpDocPropertyAssignRuleTest.php +++ b/tests/Rules/Properties/MissingGedmoByPhpDocPropertyAssignRuleTest.php @@ -9,7 +9,7 @@ use PHPStan\Type\Doctrine\ObjectMetadataResolver; /** - * @covers UnusedPrivatePropertyRule + * @covers \PHPStan\Rules\DeadCode\UnusedPrivatePropertyRule * @extends RuleTestCase */ class MissingGedmoByPhpDocPropertyAssignRuleTest extends RuleTestCase diff --git a/tests/Rules/Properties/MissingGedmoPropertyAssignRuleTest.php b/tests/Rules/Properties/MissingGedmoPropertyAssignRuleTest.php index 50e2384a..5bbca2d5 100644 --- a/tests/Rules/Properties/MissingGedmoPropertyAssignRuleTest.php +++ b/tests/Rules/Properties/MissingGedmoPropertyAssignRuleTest.php @@ -11,7 +11,7 @@ use const PHP_VERSION_ID; /** - * @covers UnusedPrivatePropertyRule + * @covers \PHPStan\Rules\DeadCode\UnusedPrivatePropertyRule * @extends RuleTestCase */ class MissingGedmoPropertyAssignRuleTest extends RuleTestCase diff --git a/tests/Rules/Properties/MissingReadOnlyByPhpDocPropertyAssignRuleTest.php b/tests/Rules/Properties/MissingReadOnlyByPhpDocPropertyAssignRuleTest.php index 6e4c780d..a6991e82 100644 --- a/tests/Rules/Properties/MissingReadOnlyByPhpDocPropertyAssignRuleTest.php +++ b/tests/Rules/Properties/MissingReadOnlyByPhpDocPropertyAssignRuleTest.php @@ -6,7 +6,7 @@ use PHPStan\Testing\RuleTestCase; /** - * @covers MissingReadOnlyByPhpDocPropertyAssignRule + * @covers \PHPStan\Rules\Properties\MissingReadOnlyByPhpDocPropertyAssignRule * @extends RuleTestCase */ class MissingReadOnlyByPhpDocPropertyAssignRuleTest extends RuleTestCase diff --git a/tests/Rules/Properties/MissingReadOnlyPropertyAssignRuleTest.php b/tests/Rules/Properties/MissingReadOnlyPropertyAssignRuleTest.php index 91eff3a0..9eb65233 100644 --- a/tests/Rules/Properties/MissingReadOnlyPropertyAssignRuleTest.php +++ b/tests/Rules/Properties/MissingReadOnlyPropertyAssignRuleTest.php @@ -7,7 +7,7 @@ use const PHP_VERSION_ID; /** - * @covers MissingReadOnlyPropertyAssignRule + * @covers \PHPStan\Rules\Properties\MissingReadOnlyPropertyAssignRule * @extends RuleTestCase */ class MissingReadOnlyPropertyAssignRuleTest extends RuleTestCase