From e1e38105956bb631e2295ef7a2fdef83485238e9 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Wed, 19 Oct 2022 01:27:44 +0200 Subject: [PATCH] cs --- tests/Caching/Cache.load.phpt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/Caching/Cache.load.phpt b/tests/Caching/Cache.load.phpt index de92a8f5..7222d503 100644 --- a/tests/Caching/Cache.load.phpt +++ b/tests/Caching/Cache.load.phpt @@ -51,8 +51,7 @@ Assert::same($dependencies, $data['dependencies']); // load twice with fallback, pass dependencies function fallback(&$deps) { - global $dependencies; - $deps = $dependencies; + $deps = $GLOBALS['dependencies']; return 'value'; }