Test Failed
Branch issue/#3 (7deea8)
by Koldo
05:23
created
src/Container/ShowContainerCommandFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
 {
12 12
     public function __invoke(ContainerInterface $container): ShowContainer
13 13
     {
14
-        return new ShowContainer((array)$container->get('config'));
14
+        return new ShowContainer((array) $container->get('config'));
15 15
     }
16 16
 }
Please login to merge, or discard this patch.
src/Container/SetDevelopmentModeCommandFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
 {
12 12
     public function __invoke(ContainerInterface $container): SetDevelopmentMode
13 13
     {
14
-        return new SetDevelopmentMode((array)$container->get('config'));
14
+        return new SetDevelopmentMode((array) $container->get('config'));
15 15
     }
16 16
 }
Please login to merge, or discard this patch.
src/Application/Command/SetDevelopmentMode.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,12 +28,12 @@
 block discarded – undo
28 28
     protected function execute(InputInterface $input, OutputInterface $output)
29 29
     {
30 30
         foreach (['config_cache_path', 'cli_config_cache_path'] as $key) {
31
-            if (! isset($this->config[$key])) {
31
+            if (!isset($this->config[$key])) {
32 32
                 $output->writeln("<comment>No configuration cache path found</comment>");
33 33
                 continue;
34 34
             }
35 35
 
36
-            if (! file_exists($this->config[$key])) {
36
+            if (!file_exists($this->config[$key])) {
37 37
                 $output->writeln(sprintf(
38 38
                     "<error>Configured config cache file '%s' not found</error>",
39 39
                     $this->config[$key]
Please login to merge, or discard this patch.
src/Application/Service/GetRealPathFromNamespace.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,10 +44,10 @@  discard block
 block discarded – undo
44 44
             $classLoader = $autoloader[0];
45 45
             $depth = 0;
46 46
             while (null === $classDir) {
47
-                if (array_key_exists($namespace . "\\", $classLoader->getPrefixesPsr4())) {
48
-                    $classDir = $classLoader->getPrefixesPsr4()[$namespace . "\\"][0];
47
+                if (array_key_exists($namespace."\\", $classLoader->getPrefixesPsr4())) {
48
+                    $classDir = $classLoader->getPrefixesPsr4()[$namespace."\\"][0];
49 49
                 } else {
50
-                    $parts = DIRECTORY_SEPARATOR . $getClassNameFromFQCN($namespace) . $parts;
50
+                    $parts = DIRECTORY_SEPARATOR.$getClassNameFromFQCN($namespace).$parts;
51 51
                     $namespace = $getNamespaceFromFQCN($namespace);
52 52
                 }
53 53
                 if (10 <= $depth) {
@@ -67,6 +67,6 @@  discard block
 block discarded – undo
67 67
             ));
68 68
         }
69 69
 
70
-        return $classDir . $parts;
70
+        return $classDir.$parts;
71 71
     }
72 72
 }
Please login to merge, or discard this patch.
src/Application/Service/CreateClassFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
             throw new RuntimeException(sprintf('Directory "%s" was not created', $classDir));
21 21
         }
22 22
 
23
-        $realFilePath = $classDir . DIRECTORY_SEPARATOR . $className . '.php';
23
+        $realFilePath = $classDir.DIRECTORY_SEPARATOR.$className.'.php';
24 24
         if (file_exists($realFilePath)) {
25 25
             throw new RuntimeException(sprintf('File %s already exist.', $realFilePath));
26 26
         }
Please login to merge, or discard this patch.
src/Container/MakeFactoryCommandFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
             $container->get(GetNamespaceFromFQCN::class),
21 21
             $container->get(GetRealPathFromNamespace::class),
22 22
             $container->get(CreateClassFile::class),
23
-            (array)$container->get('config')
23
+            (array) $container->get('config')
24 24
         );
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/Container/MakeMiddlewareCommandFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
             $container->get(GetNamespaceFromFQCN::class),
21 21
             $container->get(GetRealPathFromNamespace::class),
22 22
             $container->get(CreateClassFile::class),
23
-            (array)$container->get('config')
23
+            (array) $container->get('config')
24 24
         );
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/Container/MakeConsoleCommandCommandFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
             $container->get(GetNamespaceFromFQCN::class),
21 21
             $container->get(GetRealPathFromNamespace::class),
22 22
             $container->get(CreateClassFile::class),
23
-            (array)$container->get('config')
23
+            (array) $container->get('config')
24 24
         );
25 25
     }
26 26
 }
Please login to merge, or discard this patch.