8000 [Cache] sync Redis6Proxy with upstream · jeremyFreeAgent/symfony@94e2d53 · GitHub
[go: up one dir, main page]

Skip to content

Commit 94e2d53

Browse files
[Cache] sync Redis6Proxy with upstream
1 parent 78408a4 commit 94e2d53

File tree

3 files changed

+225
-89
lines changed

3 files changed

+225
-89
lines changed

src/Symfony/Component/Cache/Tests/Traits/RedisProxiesTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public function testRedis6Proxy($class, $stub)
6060
$stub = file_get_contents("https://raw.githubusercontent.com/phpredis/phpredis/develop/{$stub}.stub.php");
6161
$stub = preg_replace('/^class /m', 'return; \0', $stub);
6262
$stub = preg_replace('/^return; class ([a-zA-Z]++)/m', 'interface \1StubInterface', $stub, 1);
63+
$stub = preg_replace('/^ public const .*/m', '', $stub);
6364
eval(substr($stub, 5));
6465

6566
$proxy = file_get_contents(\dirname(__DIR__, 2)."/Traits/{$class}6Proxy.php");

0 commit comments

Comments
 (0)
0