From 649d6dc9de84a3c5354a1996a998af4f9313ded5 Mon Sep 17 00:00:00 2001 From: Michal Kruczek Date: Wed, 10 Jan 2024 11:30:03 +0100 Subject: [PATCH] style: native_constant_invocation --- src/Definition/Source/DefinitionGlob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Definition/Source/DefinitionGlob.php b/src/Definition/Source/DefinitionGlob.php index ba39c5e6..18bfd87a 100644 --- a/src/Definition/Source/DefinitionGlob.php +++ b/src/Definition/Source/DefinitionGlob.php @@ -57,7 +57,7 @@ private function initialize() : void } // prevent errors due to GLOB_BRACE that does not exist e.g. Alpine Linux - $flags = defined('GLOB_BRACE') ? GLOB_BRACE : 0; + $flags = defined('GLOB_BRACE') ? \GLOB_BRACE : 0; $paths = glob($this->pattern, $flags); $sources = array_map(fn (string $path) => new DefinitionFile($path, $this->autowiring), $paths);