@@ -76,7 +76,7 @@ |
||
| 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) { |
@@ -78,10 +78,10 @@ |
||
| 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 | } |