@@ -36,11 +36,11 @@ |
||
| 36 | 36 | $installList = []; |
| 37 | 37 | $config = Watchmaker::getConfig(); |
| 38 | 38 | |
| 39 | - foreach($mergeList as $watchmakerCore) |
|
| 39 | + foreach ($mergeList as $watchmakerCore) |
|
| 40 | 40 | { |
| 41 | 41 | if ($watchmakerCore->isCronOnly() === true) |
| 42 | 42 | { |
| 43 | - if ($config->delete === true){ |
|
| 43 | + if ($config->delete === true) { |
|
| 44 | 44 | continue; |
| 45 | 45 | } |
| 46 | 46 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | private function init($options) |
| 18 | 18 | { |
| 19 | 19 | if (empty($options)) { |
| 20 | - return ; |
|
| 20 | + return; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | foreach ($options as $key => $val) |
@@ -82,14 +82,14 @@ |
||
| 82 | 82 | |
| 83 | 83 | public function hr() |
| 84 | 84 | { |
| 85 | - $width = intval(trim(`tput cols`)); |
|
| 85 | + $width = intval(trim(`tput cols`)); |
|
| 86 | 86 | $d = str_repeat('-', $width) . "\n"; |
| 87 | 87 | $this->collector->text($d); |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | public function newLine($line = 1) |
| 91 | 91 | { |
| 92 | - for ($i=0; $i < $line; $i++) { |
|
| 92 | + for ($i = 0; $i < $line; $i++) { |
|
| 93 | 93 | $this->collector->text("\n", false); |
| 94 | 94 | } |
| 95 | 95 | } |