Passed
Push — master ( f87224...78b176 )
by Koldo
02:49
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/Container/ClearConfigCacheCommandFactory.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): ClearConfigCache
13 13
     {
14
-        return new ClearConfigCache((array)$container->get('config'));
14
+        return new ClearConfigCache((array) $container->get('config'));
15 15
     }
16 16
 }
Please login to merge, or discard this patch.
src/Application/Command/SetDevelopmentMode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
 
102 102
         throw new \InvalidArgumentException(sprintf(
103 103
             'Invalid option %s given, dissable option value should be one of: %s, %s',
104
-            (string)$getOption,
104
+            (string) $getOption,
105 105
             implode(',', self::TRUE_OPTIONS),
106 106
             implode(',', self::FALSE_OPTIONS)
107 107
         ));
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/MakerCommandFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
             $getNamespaceFromFQCN,
45 45
             new GetRealPathFromNamespace($getClassNameFromFQCN, $getNamespaceFromFQCN),
46 46
             new CreateClassFile,
47
-            (array)$container->get('config')
47
+            (array) $container->get('config')
48 48
         );
49 49
     }
50 50
 
Please login to merge, or discard this patch.
src/Application/Command/ClearConfigCache.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): ?int
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   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,10 +46,10 @@
 block discarded – undo
46 46
             $classLoader = $autoloader[0];
47 47
             $depth = 0;
48 48
             while (null === $classDir) {
49
-                if (array_key_exists($namespace . "\\", $classLoader->getPrefixesPsr4())) {
50
-                    $classDir = $classLoader->getPrefixesPsr4()[$namespace . "\\"][0];
49
+                if (array_key_exists($namespace."\\", $classLoader->getPrefixesPsr4())) {
50
+                    $classDir = $classLoader->getPrefixesPsr4()[$namespace."\\"][0];
51 51
                 } else {
52
-                    $parts = DIRECTORY_SEPARATOR . $this->getClassNameFromFQCN->__invoke($namespace) . $parts;
52
+                    $parts = DIRECTORY_SEPARATOR.$this->getClassNameFromFQCN->__invoke($namespace).$parts;
53 53
                     $namespace = $this->getNamespaceFromFQCN->__invoke($namespace);
54 54
                 }
55 55
                 if (10 <= $depth) {
Please login to merge, or discard this patch.