8000 Merge branch '3.4' into 4.3 · symfony/symfony@9714831 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9714831

Browse files
Merge branch '3.4' into 4.3
* 3.4: [ProxyManagerBridge] remove false positive test case
2 parents 8aff3ad + 628271d commit 9714831

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/PhpDumper/ProxyDumperTest.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -60,20 +60,6 @@ public function testGetProxyCode()
6060
);
6161
}
6262

63-
public function testStaticBinding()
64-
{
65-
if (!class_exists(Version::class) || version_compare(\defined(Version::class.'::VERSION') ? Version::VERSION : Version::getVersion(), '2.1', '<')) {
66-
$this->markTestSkipped('ProxyManager prior to version 2.1 does not support static binding');
67-
}
68-
69-
$definition = new Definition(__CLASS__);
70-
$definition->setLazy(true);
71-
72-
$code = $this->dumper->getProxyCode($definition);
73-
74-
$this->assertStringContainsString('\Closure::bind(static function (\PHPUnit\Framework\TestCase $instance) {', $code);
75-
}
76-
7763
public function testDeterministicProxyCode()
7864
{
7965
$definition = new Definition(__CLASS__);

0 commit comments

Comments
 (0)
0