Passed
Push — 4.9 ( 8f0f3a...f6adb4 )
by Mikhail
01:57
created
app/terminal/Terminal.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         while ($line !== false) {
55 55
             if (strpos($line, '-') === 0) {
56 56
                 $result_string .= $this->error($line, false, true);
57
-            } else if(strpos($line, '+') === 0) {
57
+            } else if (strpos($line, '+') === 0) {
58 58
                 $result_string .= $this->success($line, false, true);
59 59
             } else {
60 60
                 $result_string .= $line;
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
         $handle = fopen('php://stdin', 'r');
143 143
         $line   = fgets($handle);
144 144
 
145
-        if(trim($line) != $confirmation_word){
145
+        if (trim($line) != $confirmation_word) {
146 146
             $this->warning('ABORTING');
147 147
             call_user_func($cancel_action);
148 148
             exit;
Please login to merge, or discard this patch.
app/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
             $self->systemKeys[] = $key;
19 19
         });
20 20
         
21
-        foreach($arguments as $key => $value) {
21
+        foreach ($arguments as $key => $value) {
22 22
             $this->set($key, $value);
23 23
         }
24 24
     }
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
     public function getOr(string ...$keys)
42 42
     {
43
-        foreach($keys as $key) {
43
+        foreach ($keys as $key) {
44 44
             $value = $this->get($key);
45 45
 
46 46
             if ($value) {
Please login to merge, or discard this patch.
app/helpers/string.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
             $key = $matches[1];
55 55
             $value = true;
56 56
 
57
-            switch(count($matches)) {
57
+            switch (count($matches)) {
58 58
                 case 4:
59 59
                 case 5:
60 60
                     $value = $matches[3];
Please login to merge, or discard this patch.
ccg.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
 /**
11 11
  * autoload
12 12
  */
13
-spl_autoload_register(function ($class) {
13
+spl_autoload_register(function($class) {
14 14
     $file = realpath(__DIR__ . '/' . 'app') . '/' . str_replace('\\', '/', $class) . '.php';
15
-    if(file_exists($file)) {
15
+    if (file_exists($file)) {
16 16
         require_once($file);
17 17
     }
18 18
 });
Please login to merge, or discard this patch.