Skip to content

Commit 300470e

Browse files
clxmstaabstaabm
authored andcommitted
fix build
1 parent 17bbfd3 commit 300470e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"require": {
99
"php": "^7.4 || ^8.0",
10-
"phpstan/phpstan": "^2.0.4"
10+
"phpstan/phpstan": "^2.1.8"
1111
},
1212
"conflict": {
1313
"phpunit/phpunit": "<7.0"

src/Rules/PHPUnit/ClassCoversExistsRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function processNode(Node $node, Scope $scope): array
5050
{
5151
$classReflection = $node->getClassReflection();
5252

53-
if (!$classReflection->isSubclassOf(TestCase::class)) {
53+
if (!$classReflection->is(TestCase::class)) {
5454
return [];
5555
}
5656

0 commit comments

Comments
 (0)