Skip to content

Commit 49d5f7a

Browse files
committed
Added covers-class informtation to *RuleTests
1 parent 31a924b commit 49d5f7a

18 files changed

+18
-0
lines changed

tests/Classes/DoctrineProxyForbiddenClassNamesExtensionTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use function array_merge;
99

1010
/**
11+
* @covers InstantiationRule
1112
* @extends RuleTestCase<InstantiationRule>
1213
* @runInSeparateProcess
1314
*/

tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.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
/**
10+
* @covers UnusedPrivatePropertyRule
1011
* @extends RuleTestCase<UnusedPrivatePropertyRule>
1112
*/
1213
class UnusedPrivatePropertyRuleTest extends RuleTestCase

tests/Rules/Doctrine/ORM/DqlRuleTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use function strpos;
1111

1212
/**
13+
* @covers DqlRule
1314
* @extends RuleTestCase<DqlRule>
1415
* @runInSeparateProcess
1516
*/

tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php

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

3737
/**
38+
* @covers EntityColumnRule
3839
* @extends RuleTestCase<EntityColumnRule>
3940
* @runInSeparateProcess
4041
*/

tests/Rules/Doctrine/ORM/EntityConstructorNotFinalRuleTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use PHPStan\Type\Doctrine\ObjectMetadataResolver;
99

1010
/**
11+
* @covers EntityConstructorNotFinalRule
1112
* @extends RuleTestCase<EntityConstructorNotFinalRule>
1213
* @runInSeparateProcess
1314
*/

tests/Rules/Doctrine/ORM/EntityMappingExceptionRuleTest.php

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

1010
/**
11+
* @covers EntityMappingExceptionRule
1112
* @extends RuleTestCase<EntityMappingExceptionRule>
1213
* @runInSeparateProcess
1314
*/

tests/Rules/Doctrine/ORM/EntityNotFinalRuleTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use PHPStan\Type\Doctrine\ObjectMetadataResolver;
99

1010
/**
11+
* @covers EntityNotFinalRule
1112
* @extends RuleTestCase<EntityNotFinalRule>
1213
* @runInSeparateProcess
1314
*/

tests/Rules/Doctrine/ORM/EntityRelationRuleTest.php

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

1111
/**
12+
* @covers EntityColumnRule
1213
* @extends RuleTestCase<EntityRelationRule>
1314
* @runInSeparateProcess
1415
*/

tests/Rules/Doctrine/ORM/MagicRepositoryMethodCallRuleTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use PHPStan\Testing\RuleTestCase;
88

99
/**
10+
* @covers CallMethodsRule
1011
* @extends RuleTestCase<CallMethodsRule>
1112
*/
1213
class MagicRepositoryMethodCallRuleTest extends RuleTestCase

tests/Rules/Doctrine/ORM/QueryBuilderDqlRuleTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use PHPStan\Type\Doctrine\ObjectMetadataResolver;
88

99
/**
10+
* @covers QueryBuilderDqlRule
1011
* @extends RuleTestCase<QueryBuilderDqlRule>
1112
*/
1213
class QueryBuilderDqlRuleTest extends RuleTestCase

0 commit comments

Comments
 (0)