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
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use function array_merge;

/**
* @covers \PHPStan\Rules\Classes\InstantiationRule
* @extends RuleTestCase<InstantiationRule>
* @runInSeparateProcess
*/
Expand Down
1 change: 1 addition & 0 deletions tests/Rules/DeadCode/UnusedPrivatePropertyRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use const PHP_VERSION_ID;

/**
* @covers \PHPStan\Rules\DeadCode\UnusedPrivatePropertyRule
* @extends RuleTestCase<UnusedPrivatePropertyRule>
*/
class UnusedPrivatePropertyRuleTest extends RuleTestCase
Expand Down
1 change: 1 addition & 0 deletions tests/Rules/Doctrine/ORM/DqlRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use function strpos;

/**
* @covers \PHPStan\Rules\Doctrine\ORM\DqlRule
* @extends RuleTestCase<DqlRule>
* @runInSeparateProcess
*/
Expand Down
1 change: 1 addition & 0 deletions tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
use const PHP_VERSION_ID;

/**
* @covers \PHPStan\Rules\Doctrine\ORM\EntityColumnRule
* @extends RuleTestCase<EntityColumnRule>
* @runInSeparateProcess
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use PHPStan\Type\Doctrine\ObjectMetadataResolver;

/**
* @covers \PHPStan\Rules\Doctrine\ORM\EntityConstructorNotFinalRule
* @extends RuleTestCase<EntityConstructorNotFinalRule>
* @runInSeparateProcess
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use const PHP_VERSION_ID;

/**
* @covers \PHPStan\Rules\Doctrine\ORM\EntityMappingExceptionRule
* @extends RuleTestCase<EntityMappingExceptionRule>
* @runInSeparateProcess
*/
Expand Down
1 change: 1 addition & 0 deletions tests/Rules/Doctrine/ORM/EntityNotFinalRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use PHPStan\Type\Doctrine\ObjectMetadataResolver;

/**
* @covers \PHPStan\Rules\Doctrine\ORM\EntityNotFinalRule
* @extends RuleTestCase<EntityNotFinalRule>
* @runInSeparateProcess
*/
Expand Down
1 change: 1 addition & 0 deletions tests/Rules/Doctrine/ORM/EntityRelationRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use const PHP_VERSION_ID;

/**
* @covers \PHPStan\Rules\Doctrine\ORM\EntityColumnRule
* @extends RuleTestCase<EntityRelationRule>
* @runInSeparateProcess
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use PHPStan\Testing\RuleTestCase;

/**
* @covers \PHPStan\Rules\Methods\CallMethodsRule
* @extends RuleTestCase<CallMethodsRule>
*/
class MagicRepositoryMethodCallRuleTest extends RuleTestCase
Expand Down
1 change: 1 addition & 0 deletions tests/Rules/Doctrine/ORM/QueryBuilderDqlRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use PHPStan\Type\Doctrine\ObjectMetadataResolver;

/**
* @covers \PHPStan\Rules\Doctrine\ORM\QueryBuilderDqlRule
* @extends RuleTestCase<QueryBuilderDqlRule>
*/
class QueryBuilderDqlRuleTest extends RuleTestCase
Expand Down
1 change: 1 addition & 0 deletions tests/Rules/Doctrine/ORM/RepositoryMethodCallRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use PHPStan\Type\Doctrine\ObjectMetadataResolver;

/**
* @covers \PHPStan\Rules\Doctrine\ORM\RepositoryMethodCallRule
* @extends RuleTestCase<RepositoryMethodCallRule>
*/
class RepositoryMethodCallRuleTest extends RuleTestCase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use PHPStan\Type\Doctrine\ObjectMetadataResolver;

/**
* @covers \PHPStan\Rules\Doctrine\ORM\RepositoryMethodCallRule
* @extends RuleTestCase<RepositoryMethodCallRule>
*/
class RepositoryMethodCallRuleWithoutObjectManagerLoaderTest extends RuleTestCase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use PHPStan\Testing\RuleTestCase;

/**
* @covers \PHPStan\Rules\Exceptions\CatchWithUnthrownExceptionRule
* @extends RuleTestCase<CatchWithUnthrownExceptionRule>
*/
class CatchWithUnthrownExceptionRuleTest extends RuleTestCase
Expand Down
1 change: 1 addition & 0 deletions tests/Rules/Exceptions/TooWideMethodThrowTypeRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use PHPStan\Testing\RuleTestCase;

/**
* @covers \PHPStan\Rules\Exceptions\TooWideMethodThrowTypeRule
* @extends RuleTestCase<TooWideMethodThrowTypeRule>
*/
class TooWideMethodThrowTypeRuleTest extends RuleTestCase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use PHPStan\Type\Doctrine\ObjectMetadataResolver;

/**
* @covers \PHPStan\Rules\DeadCode\UnusedPrivatePropertyRule
* @extends RuleTestCase<UnusedPrivatePropertyRule>
*/
class MissingGedmoByPhpDocPropertyAssignRuleTest extends RuleTestCase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use const PHP_VERSION_ID;

/**
* @covers \PHPStan\Rules\DeadCode\UnusedPrivatePropertyRule
* @extends RuleTestCase<UnusedPrivatePropertyRule>
*/
class MissingGedmoPropertyAssignRuleTest extends RuleTestCase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use PHPStan\Testing\RuleTestCase;

/**
* @covers \PHPStan\Rules\Properties\MissingReadOnlyByPhpDocPropertyAssignRule
* @extends RuleTestCase<MissingReadOnlyByPhpDocPropertyAssignRule>
*/
class MissingReadOnlyByPhpDocPropertyAssignRuleTest extends RuleTestCase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use const PHP_VERSION_ID;

/**
* @covers \PHPStan\Rules\Properties\MissingReadOnlyPropertyAssignRule
* @extends RuleTestCase<MissingReadOnlyPropertyAssignRule>
*/
class MissingReadOnlyPropertyAssignRuleTest extends RuleTestCase
Expand Down
Loading