Skip to content

Commit 7598084

Browse files
authored
Merge pull request #160 from SpadXIII/patch-2
Use PHPUnit\Framework\Test interface instead of TestCase class
2 parents 9c53a7b + dddaaaa commit 7598084

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)