Passed
Push — master ( 4941b8...69c1db )
by Jakub
02:51
created
src/TestCase.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
       $job = [
77 77
         "name" => $this->getJobName($rm), "callback" => [$this, $method], "params" => [], "skip" => $this->checkSkip($rm), "shouldFail" => $rm->hasAnnotation("fail")
78 78
       ];
79
-      if($rm->getNumberOfParameters() AND $rm->hasAnnotation("data")) {
79
+      if($rm->getNumberOfParameters() and $rm->hasAnnotation("data")) {
80 80
         $data = (array) $rm->getAnnotation("data");
81 81
       }
82 82
       if(count($data) > 0) {
Please login to merge, or discard this patch.
src/Job.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,10 +78,10 @@
 block discarded – undo
78 78
       /** @var string $output */
79 79
       $output = ob_get_clean();
80 80
       $failed = Environment::checkFailed($output);
81
-      if($failed AND !$this->shouldFail) {
81
+      if($failed and !$this->shouldFail) {
82 82
         $this->result = "failed";
83 83
       }
84
-      if(strlen($output) AND $this->result === "failed") {
84
+      if(strlen($output) and $this->result === "failed") {
85 85
         file_put_contents(\getTestsDirectory() . "/$this->name.errors", $output);
86 86
       }
87 87
     }
Please login to merge, or discard this patch.