Skip to content

Commit f567f31

Browse files
committed
Fix class names
1 parent f02567e commit f567f31

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/Joomlatools/Console/Command/Site/Configure.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
use Symfony\Component\Console\Output\OutputInterface;
1313
use Symfony\Component\Yaml\Yaml;
1414

15-
use Joomlatools\Console\Joomla\Deserializer;
16-
use Joomlatools\Console\Joomla\Util;
1715
use Joomlatools\Console\Command\Database\AbstractDatabase;
1816

1917
class Configure extends AbstractDatabase
@@ -100,16 +98,16 @@ protected function execute(InputInterface $input, OutputInterface $output)
10098
if ($options !== null)
10199
{
102100
if (!file_exists($options)) {
103-
throw new Exception(sprintf('Additional option file \'%s\' does not exist', $options));
101+
throw new \Exception(sprintf('Additional option file \'%s\' does not exist', $options));
104102
}
105103

106104
$contents = file_get_contents($options);
107105

108106
try {
109107
$this->_extra_options = Yaml::parse($contents);
110108
}
111-
catch (Exception $ex) {
112-
throw new Exception(sprintf('Unable to parse YAML file %s', $options));
109+
catch (\Exception $ex) {
110+
throw new \Exception(sprintf('Unable to parse YAML file %s', $options));
113111
}
114112
}
115113

0 commit comments

Comments
 (0)