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 f85d916 commit 051892cCopy full SHA for 051892c
src/Rule/ContainerInterfacePrivateServiceRule.php
@@ -60,7 +60,7 @@ private function shouldSkip(MethodCall $node, Scope $scope): bool
60
$isPsrContainerType = (new ObjectType('Psr\Container\ContainerInterface'))->isSuperTypeOf($argType);
61
$isTestCaseType = (new ObjectType('TYPO3\TestingFramework\Core\Functional\FunctionalTestCase'))->isSuperTypeOf($argType);
62
63
- if ($isPsrContainerType->yes() && $isTestCaseType->yes()) {
+ if ($isTestCaseType->yes()) {
64
return true;
65
}
66
0 commit comments