We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c53a7b commit dddaaaaCopy full SHA for dddaaaa
src/Rules/Drupal/GlobalDrupalDependencyInjectionRule.php
@@ -34,7 +34,7 @@ public function processNode(Node $node, Scope $scope): array
34
35
$whitelist = [
36
// Ignore tests.
37
- 'PHPUnit\Framework\TestCase',
+ 'PHPUnit\Framework\Test',
38
// Typed data objects cannot use dependency injection.
39
'Drupal\Core\TypedData\TypedDataInterface',
40
// Render elements cannot use dependency injection.
0 commit comments