Skip to content

Commit dddaaaa

Browse files
authored
Use PHPUnit\Framework\Test interface instead of TestCase class
1 parent 9c53a7b commit dddaaaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rules/Drupal/GlobalDrupalDependencyInjectionRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function processNode(Node $node, Scope $scope): array
3434

3535
$whitelist = [
3636
// Ignore tests.
37-
'PHPUnit\Framework\TestCase',
37+
'PHPUnit\Framework\Test',
3838
// Typed data objects cannot use dependency injection.
3939
'Drupal\Core\TypedData\TypedDataInterface',
4040
// Render elements cannot use dependency injection.

0 commit comments

Comments
 (0)