@@ -206,7 +206,7 @@ |
||
| 206 | 206 | } else { |
| 207 | 207 | Environment::testResult("The variable is $type."); |
| 208 | 208 | } |
| 209 | - } elseif (!$value instanceof $type) { |
|
| 209 | + } elseif(!$value instanceof $type) { |
|
| 210 | 210 | $actual = is_object($value) ? get_class($value) : gettype($value); |
| 211 | 211 | Environment::testResult("The variable is instance of $actual.", false); |
| 212 | 212 | } else { |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | } elseif($value instanceof \Nette\Utils\ArrayHash) { |
| 30 | 30 | $skip = false; |
| 31 | 31 | foreach($value as $k => $v) { |
| 32 | - switch ($k) { |
|
| 32 | + switch($k) { |
|
| 33 | 33 | case "php": |
| 34 | 34 | $skip = version_compare(PHP_VERSION, $v, "<"); |
| 35 | 35 | break; |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | if(!$job->skip) { |
| 154 | 154 | $this->setUp(); |
| 155 | 155 | } |
| 156 | - $output = $job->execute(); |
|
| 156 | + $output = $job->execute(); |
|
| 157 | 157 | if(!$job->skip) { |
| 158 | 158 | $this->tearDown(); |
| 159 | 159 | } |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | public function execute() { |
| 52 | 52 | \Tracy\Debugger::timer($this->name); |
| 53 | 53 | Environment::resetCounter(); |
| 54 | - $output = ""; |
|
| 54 | + $output = ""; |
|
| 55 | 55 | ob_start(); |
| 56 | 56 | if($this->skip) { |
| 57 | 57 | Environment::printLine("****Skipping job $this->name****"); |