Passed
Push — master ( c746ea...028226 )
by Paweł
13:16
created
Category
src/Http/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         }
49 49
 
50 50
         foreach ($this->headers->parameters as $key => $value) {
51
-            header($key.': '.$value, true, $this->status->value);
51
+            header($key . ': ' . $value, true, $this->status->value);
52 52
         }
53 53
 
54 54
         /*foreach ($this->headers->allPreserveCaseWithoutCookies() as $name => $values) {
Please login to merge, or discard this patch.
src/Route/Route.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             return;
44 44
         }
45 45
         $pathParameters = array_map(
46
-            function ($param) {
46
+            function($param) {
47 47
                 return substr($param[0], 1, strlen($param[0])-2);
48 48
             },
49 49
             $pathParameters
Please login to merge, or discard this patch.
src/Command/Input/Stdin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $loadedArguments = [];
28 28
         $loadedOptions = [];
29 29
         $argv = $_SERVER['argv'];
30
-        for ($i=2; $i <= count($argv); $i++) {
30
+        for ($i = 2; $i <= count($argv); $i++) {
31 31
             if (!isset($argv[$i])) {
32 32
                 continue;
33 33
             }
Please login to merge, or discard this patch.
src/Kernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
      */
99 99
     public function handleCommand(?string $commandName = null): int
100 100
     {
101
-        if ($commandName === null){
101
+        if ($commandName === null) {
102 102
             $commandName = $this->commandLoader->getCommandNameFromServer();
103 103
         }
104 104
         return $this->commandLoader->runCommandFromName($commandName, $this->containerLoader);
Please login to merge, or discard this patch.
src/Component/Extension/ExtensionLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     ): void
30 30
     {
31 31
         foreach ($this->extensionConfigs as $extensionName => $extensionConfig) {
32
-            if (is_int($extensionName)){
32
+            if (is_int($extensionName)) {
33 33
                 $extensionClass = $extensionConfig;
34 34
                 $extensionConfig = [];
35 35
             } else {
Please login to merge, or discard this patch.