Test Failed
Push — master ( 8fafb3...c07cf4 )
by Jinyun
06:02
created
src/Structural/Bridge/DateFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
      */
16 16
     public function format(string $string): string
17 17
     {
18
-        return date('Y-m-d', (int)$string);
18
+        return date('Y-m-d', (int) $string);
19 19
     }
20 20
 }
Please login to merge, or discard this patch.
src/Structural/Bridge/StringService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
      */
14 14
     public function get(): string
15 15
     {
16
-        return $this->formatter->format((string)time());
16
+        return $this->formatter->format((string) time());
17 17
     }
18 18
 }
Please login to merge, or discard this patch.
src/Behavioral/Interpreter/Parser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
                     $stack[] = $this->arithmetic($stack, $item);
52 52
                     break;
53 53
                 case is_numeric($item): // Number
54
-                    $stack[] = new Number((int)$item);
54
+                    $stack[] = new Number((int) $item);
55 55
                     break;
56 56
                 default: // Variable.
57 57
                     $stack[] = new Variable($item);
Please login to merge, or discard this patch.
src/Creational/StaticFactory/FormatterNumber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
      */
16 16
     public function format($value): int
17 17
     {
18
-        return (int)$value;
18
+        return (int) $value;
19 19
     }
20 20
 }
Please login to merge, or discard this patch.
src/Creational/StaticFactory/FormatterString.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
      */
16 16
     public function format($value): string
17 17
     {
18
-        return (string)trim($value);
18
+        return (string) trim($value);
19 19
     }
20 20
 }
Please login to merge, or discard this patch.
src/Creational/FactoryMethod/FoxconnFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     public function createNotebook(string $brand): NotebookInterface
19 19
     {
20 20
         $brand = strtolower(trim($brand));
21
-        switch ((int)$brand) {
21
+        switch ((int) $brand) {
22 22
             case parent::LOW_CONFIG:
23 23
                 return new MacBookAir();
24 24
             case parent::MEDIUM_CONFIG:
Please login to merge, or discard this patch.