Passed
Push — master ( f62ea3...7ec3d6 )
by Johnny
06:28
created
src/Cortex/Tags/Ok.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     public function parse(string $source, SourceInput $input): string
55 55
     {
56 56
         if (!$this->sourceAllowed()) {
57
-           return $source;
57
+            return $source;
58 58
         }
59 59
 
60 60
         if ($this->hasMatches($source)) {
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/Redirect.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/Tags/Sentence.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
                     }
87 87
                 }
88 88
 
89
-               //  $sub = str_replace(["&#60;", "&#62;"], ["<", ">"], $sub);
89
+                //  $sub = str_replace(["&#60;", "&#62;"], ["<", ">"], $sub);
90 90
 
91 91
                 $source = str_replace($match[0], $sub, $source);
92 92
             }
Please login to merge, or discard this patch.
src/Cortex/Commands/Response.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@
 block discarded – undo
40 40
     public function parse(Node $node): void
41 41
     {
42 42
         $types = [
43
-          '-', '*',
44
-          '^', '@'
43
+            '-', '*',
44
+            '^', '@'
45 45
         ];
46 46
 
47 47
         if (in_array($node->command(), $types) === true) {
Please login to merge, or discard this patch.
src/Rivescript.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -263,8 +263,8 @@  discard block
 block discarded – undo
263 263
      * @return void
264 264
      */
265 265
     public function warn(string $message,
266
-                         array  $args = [],
267
-                         int    $verbosity = Rivescript::VERBOSITY_DEBUG): void
266
+                            array  $args = [],
267
+                            int    $verbosity = Rivescript::VERBOSITY_DEBUG): void
268 268
     {
269 269
         $message = "[WARNING]: " . $this->formatString($message, $args);
270 270
 
@@ -281,8 +281,8 @@  discard block
 block discarded – undo
281 281
      * @return void
282 282
      */
283 283
     public function debug(string $message,
284
-                          array  $args = [],
285
-                          int    $verbosity = Rivescript::VERBOSITY_NORMAL): void
284
+                            array  $args = [],
285
+                            int    $verbosity = Rivescript::VERBOSITY_NORMAL): void
286 286
     {
287 287
         $message = "[DEBUG]: " . $this->formatString($message, $args);
288 288
 
Please login to merge, or discard this patch.
sandbox/api.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 $rivescript->stream($script);
26 26
 
27 27
 $rivescript->on(Event::DEBUG, 'onDebug')
28
-           ->on(Event::DEBUG_VERBOSE, 'onVerbose');
28
+            ->on(Event::DEBUG_VERBOSE, 'onVerbose');
29 29
 
30 30
 
31 31
 echo $rivescript->reply("hi bot");
32 32
\ No newline at end of file
Please login to merge, or discard this patch.