@@ -51,7 +51,7 @@ |
||
| 51 | 51 | $this->data = []; |
| 52 | 52 | |
| 53 | 53 | foreach ($slaves as $value) { |
| 54 | - if(empty($value) || !filter_var($value, FILTER_VALIDATE_URL)){ |
|
| 54 | + if (empty($value) || !filter_var($value, FILTER_VALIDATE_URL)) { |
|
| 55 | 55 | continue; |
| 56 | 56 | } |
| 57 | 57 | |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | { |
| 204 | 204 | $from = getcwd().'/resources/public/'; |
| 205 | 205 | foreach (new \DirectoryIterator($from) as $fileInfo) { |
| 206 | - if($fileInfo->isDot()) { |
|
| 206 | + if ($fileInfo->isDot()) { |
|
| 207 | 207 | continue; |
| 208 | 208 | } |
| 209 | 209 | $file = $fileInfo->getFilename(); |
@@ -321,7 +321,7 @@ discard block |
||
| 321 | 321 | $base = $uri['scheme'].'://'.$uri['host']; |
| 322 | 322 | $total = $this->http->getTotalErrorByMirror($base); |
| 323 | 323 | |
| 324 | - if(!isset($this->latestErrorsShowed[$base])){ |
|
| 324 | + if (!isset($this->latestErrorsShowed[$base])) { |
|
| 325 | 325 | $this->latestErrorsShowed[$base] = 0; |
| 326 | 326 | } |
| 327 | 327 | |
@@ -331,7 +331,7 @@ discard block |
||
| 331 | 331 | if ($this->isVeryVerbose() && $total > 1) { |
| 332 | 332 | //print_r($this->latestErrorsShowed); |
| 333 | 333 | //print($base.PHP_EOL); |
| 334 | - if($this->latestErrorsShowed[$base] == $total){ |
|
| 334 | + if ($this->latestErrorsShowed[$base] == $total) { |
|
| 335 | 335 | continue; |
| 336 | 336 | } |
| 337 | 337 | |