@@ -76,14 +76,14 @@ |
||
| 76 | 76 | if ($result->isFailure()) { |
| 77 | 77 | foreach ($result->getMessages() as $ruleLKey => $message) { |
| 78 | 78 | $identifier = 'smoke_' . $ruleLKey . '_' . $result->getUrl(); |
| 79 | - $this->send($identifier, $this->system, 'smoke', $message, self::STATUS_FAILURE, (string)$result->getUrl()); |
|
| 79 | + $this->send($identifier, $this->system, 'smoke', $message, self::STATUS_FAILURE, (string) $result->getUrl()); |
|
| 80 | 80 | $failedTests[] = $ruleLKey; |
| 81 | 81 | } |
| 82 | 82 | } |
| 83 | 83 | foreach ($rules as $rule) { |
| 84 | 84 | if (!in_array($rule, $failedTests, true)) { |
| 85 | 85 | $identifier = 'smoke_' . $rule . '_' . $result->getUrl(); |
| 86 | - $this->send($identifier, $this->system, 'smoke_' . $rule, '', self::STATUS_SUCCESS, (string)$result->getUrl()); |
|
| 86 | + $this->send($identifier, $this->system, 'smoke_' . $rule, '', self::STATUS_SUCCESS, (string) $result->getUrl()); |
|
| 87 | 87 | } |
| 88 | 88 | } |
| 89 | 89 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | return; |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | - if(!file_exists($filename) ){ |
|
| 26 | + if (!file_exists($filename)) { |
|
| 27 | 27 | return; |
| 28 | 28 | } |
| 29 | 29 | |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | return; |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | - if(!file_exists($filename) ){ |
|
| 26 | + if (!file_exists($filename)) { |
|
| 27 | 27 | return; |
| 28 | 28 | } |
| 29 | 29 | |