@@ -88,7 +88,7 @@ |
||
| 88 | 88 | */ |
| 89 | 89 | public function messageCallback(OutputInterface $output) |
| 90 | 90 | { |
| 91 | - return function ($code, $message = '', $itemsCount = 0, $itemsMax = 0) use ($output) { |
|
| 91 | + return function($code, $message = '', $itemsCount = 0, $itemsMax = 0) use ($output) { |
|
| 92 | 92 | if ($this->quiet) { |
| 93 | 93 | return; |
| 94 | 94 | } else { |
@@ -88,7 +88,6 @@ |
||
| 88 | 88 | * |
| 89 | 89 | * @param OutputInterface $output |
| 90 | 90 | * @param array $config |
| 91 | - * @param array $options |
|
| 92 | 91 | * |
| 93 | 92 | * @return Builder |
| 94 | 93 | */ |
@@ -143,6 +143,9 @@ |
||
| 143 | 143 | return 0; |
| 144 | 144 | } |
| 145 | 145 | |
| 146 | + /** |
|
| 147 | + * @param OutputInterface $output |
|
| 148 | + */ |
|
| 146 | 149 | private function setUpServer($output) |
| 147 | 150 | { |
| 148 | 151 | try { |
@@ -59,13 +59,13 @@ |
||
| 59 | 59 | $column += 2; |
| 60 | 60 | foreach ($array as $key => $val) { |
| 61 | 61 | if (is_array($val)) { |
| 62 | - $output .= str_repeat(' ', $column) . "$key:\n" . $this->printArray($val, $column); |
|
| 62 | + $output .= str_repeat(' ', $column)."$key:\n".$this->printArray($val, $column); |
|
| 63 | 63 | } |
| 64 | 64 | if (is_string($val) || is_int($val)) { |
| 65 | - $output .= str_repeat(' ', $column) . "$key: $val\n"; |
|
| 65 | + $output .= str_repeat(' ', $column)."$key: $val\n"; |
|
| 66 | 66 | } |
| 67 | 67 | if (is_bool($val)) { |
| 68 | - $output .= str_repeat(' ', $column) . "$key: " . ($val ? 'true' : 'false') . "\n"; |
|
| 68 | + $output .= str_repeat(' ', $column)."$key: ".($val ? 'true' : 'false')."\n"; |
|
| 69 | 69 | } |
| 70 | 70 | } |
| 71 | 71 | } |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | $output->writeln(sprintf('<info>%s/</info>', $this->contentDir)); |
| 52 | 52 | $pages = $this->getPagesTree($output); |
| 53 | 53 | //if ($this->getConsole()->isUtf8()) { |
| 54 | - $unicodeTreePrefix = function (RecursiveTreeIterator $tree) { |
|
| 54 | + $unicodeTreePrefix = function(RecursiveTreeIterator $tree) { |
|
| 55 | 55 | $prefixParts = [ |
| 56 | 56 | RecursiveTreeIterator::PREFIX_LEFT => ' ', |
| 57 | 57 | RecursiveTreeIterator::PREFIX_MID_HAS_NEXT => '│ ', |