summaryrefslogtreecommitdiffstats
path: root/tools/ContextGenerator.php
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ContextGenerator.php')
-rw-r--r--tools/ContextGenerator.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/ContextGenerator.php b/tools/ContextGenerator.php
index ac24156..7645564 100644
--- a/tools/ContextGenerator.php
+++ b/tools/ContextGenerator.php
@@ -3,6 +3,8 @@ declare(strict_types=1);
namespace PhpMyAdmin\SqlParser\Tools;
+use Exception;
+
require_once __DIR__ . '/../vendor/autoload.php';
/**
@@ -391,9 +393,9 @@ if (count($argv) >= 3) {
// Checking if all directories are valid.
if (! is_dir($input)) {
- throw new \Exception('The input directory does not exist.');
+ throw new Exception('The input directory does not exist.');
} elseif (! is_dir($output)) {
- throw new \Exception('The output directory does not exist.');
+ throw new Exception('The output directory does not exist.');
}
// Finally, building the tests.