Passed
Push — master ( 851628...d372b6 )
by Johnny
01:45
created
src/Cortex/Input.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,10 +103,10 @@
 block discarded – undo
103 103
         $patterns = synapse()->memory->substitute()->keys()->all();
104 104
         $replacements = synapse()->memory->substitute()->values()->all();
105 105
 
106
-      //  $this->source = mb_strtolower($this->original);
106
+        //  $this->source = mb_strtolower($this->original);
107 107
         $this->source = $this->original;
108 108
         $this->source = preg_replace($patterns, $replacements, $this->source);
109
-       // $this->source = preg_replace('/[^\pL\d\s]+/u', '', $this->source);
109
+        // $this->source = preg_replace('/[^\pL\d\s]+/u', '', $this->source);
110 110
         $this->source = remove_whitespace($this->source);
111 111
     }
112 112
 }
Please login to merge, or discard this patch.
src/Cortex/Responses/Atomic.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     public function parse()
39 39
     {
40 40
         if ($this->responseQueueItem()->getCommand() === '-') {
41
-           return $this->source();
41
+            return $this->source();
42 42
         }
43 43
 
44 44
         return false;
Please login to merge, or discard this patch.
src/Cortex/Responses/Condition.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
                         $matches = $this->getMatchesFromPattern($pattern, $this->source());
52 52
                         $condition = $matches[0][0];
53 53
 
54
-                        return str_replace($condition, "",  $this->source());
54
+                        return str_replace($condition, "", $this->source());
55 55
                     }
56 56
 
57 57
                 }
Please login to merge, or discard this patch.