Skip to content

Commit 1618825

Browse files
committed
Avoid calling TestCase::__construct()
1 parent 23f482a commit 1618825

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Tests/LegacyManagerRegistryTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ class LegacyManagerRegistryTest extends TestCase
2828
{
2929
public static function setUpBeforeClass(): void
3030
{
31-
$test = new PhpDumperTest();
32-
$test->testDumpContainerWithProxyServiceWillShareProxies();
31+
if (!class_exists(\LazyServiceProjectServiceContainer::class, false)) {
32+
eval('?>'.PhpDumperTest::dumpLazyServiceProjectServiceContainer());
33+
}
3334
}
3435

3536
public function testResetService()

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"symfony/messenger": "^5.4|^6.0|^7.0",
3737
"symfony/property-access": "^5.4|^6.0|^7.0",
3838
"symfony/property-info": "^5.4|^6.0|^7.0",
39-
"symfony/proxy-manager-bridge": "^5.4|^6.0|^7.0",
39+
"symfony/proxy-manager-bridge": "^6.4",
4040
"symfony/security-core": "^6.4|^7.0",
4141
"symfony/stopwatch": "^5.4|^6.0|^7.0",
4242
"symfony/translation": "^5.4|^6.0|^7.0",

0 commit comments

Comments
 (0)