Passed
Push — master ( d29b77...fa6b97 )
by Christian
01:54
created
src/Cli/Command.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,12 +60,12 @@  discard block
 block discarded – undo
60 60
 
61 61
     private function doExecute(): void
62 62
     {
63
-        $configFile = $this->input->getOption('config') ?? getcwd().DIRECTORY_SEPARATOR.'tombstone.yml';
63
+        $configFile = $this->input->getOption('config') ?? getcwd() . DIRECTORY_SEPARATOR . 'tombstone.yml';
64 64
         if (!file_exists($configFile)) {
65
-            throw new \InvalidArgumentException('Could not find configuration file '.$configFile);
65
+            throw new \InvalidArgumentException('Could not find configuration file ' . $configFile);
66 66
         }
67 67
 
68
-        $this->output->debug('Load config from '.$configFile);
68
+        $this->output->debug('Load config from ' . $configFile);
69 69
         $configLoader = ConfigurationLoader::create();
70 70
         $config = $configLoader->loadConfiguration([new YamlConfigProvider($configFile)]);
71 71
         $rootDir = $config['rootDir'];
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
             require_once $config['logs']['custom']['file'];
128 128
             $reflectionClass = new \ReflectionClass($config['logs']['custom']['class']);
129 129
             if (!$reflectionClass->implementsInterface(LogReaderInterface::class)) {
130
-                throw new \Exception('Class '.$config['logs']['custom']['class'].' must implement '.LogReaderInterface::class);
130
+                throw new \Exception('Class ' . $config['logs']['custom']['class'] . ' must implement ' . LogReaderInterface::class);
131 131
             }
132 132
 
133 133
             $logReaders[] = $reflectionClass->newInstance();
Please login to merge, or discard this patch.