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 291af4b commit cf856b0Copy full SHA for cf856b0
src/Testing/PHPUnit/PHPStanPHPUnitExtension.php
@@ -18,6 +18,8 @@ public function bootstrap(
18
ParameterCollection $parameters,
19
): void
20
{
21
+ // use multiple subscribers which all initialize the test-container.
22
+ // we need to make sure we only initialize once per test-class.
23
$facade->registerSubscriber(
24
new InitContainerBeforeDataProviderSubscriber(),
25
);
0 commit comments