8000 Merge branch '4.4' · symfony/symfony@de5b2a9 · GitHub
[go: up one dir, main page]

Skip to content

Commit de5b2a9

Browse files
Merge branch '4.4'
* 4.4: [ProxyManagerBridge] remove false positive test case
2 parents 4828ff4 + 604a69f commit de5b2a9

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