Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1925638

Browse files
committed
Update PHPStanPHPUnitExtension.php
1 parent 568b05e commit 1925638

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/Testing/PHPUnit/PHPStanPHPUnitExtension.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ public function bootstrap(
1818
ParameterCollection $parameters,
1919
): void
2020
{
21+
// use multiple subscribers which all initialize the test-container.
22+
// we need to make sure we only initialize once per test-class.
2123
$facade->registerSubscriber(
2224
new InitContainerBeforeDataProviderSubscriber(),
2325
);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /