From f65e2b90f275d082712d34fc73fd477db7e431e3 Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Mon, 6 Sep 2021 17:34:27 +0100 Subject: [PATCH] [CORE] Fix use of `Exception` class without import --- src/Core/ModuleManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/ModuleManager.php b/src/Core/ModuleManager.php index 7ac2c01281..1ac66401e3 100644 --- a/src/Core/ModuleManager.php +++ b/src/Core/ModuleManager.php @@ -152,7 +152,7 @@ class ModuleManager { if ($_ENV['APP_ENV'] === 'prod' && !file_exists(CACHE_FILE)) { // @codeCoverageIgnoreStart - throw new Exception('The application needs to be compiled before using in production'); + throw new \Exception('The application needs to be compiled before using in production'); // @codeCoverageIgnoreEnd } else { $rdi = new AppendIterator();