Completed
Push — master ( 4c139c...a07cb6 )
by Kevin
04:41 queued 02:23
created
lib/TestCase/Executor.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
     public function evaluate($string)
25 25
     {
26
-        $string = '<?php ' . $string;
26
+        $string = '<?php '.$string;
27 27
         $comparison1 = $comparison2 = '';
28 28
         $operator = null;
29 29
         $tokens = token_get_all($string);
Please login to merge, or discard this patch.
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,10 +49,14 @@
 block discarded – undo
49 49
 
50 50
         if ($operator === null) {
51 51
             $isTrue = in_array($comparison1, $this->reservedTrue);
52
-            if ($isTrue) return true;
52
+            if ($isTrue) {
53
+                return true;
54
+            }
53 55
 
54 56
             $isFalse = in_array($comparison1, $this->reservedFalse);
55
-            if ($isFalse) return false;
57
+            if ($isFalse) {
58
+                return false;
59
+            }
56 60
 
57 61
             return (boolean)$comparison1;
58 62
         } else {
Please login to merge, or discard this patch.