@@ -51,7 +51,7 @@ |
||
| 51 | 51 | $dataDir = (string) $this->getBuilder()->getConfig()->get('data.dir'); |
| 52 | 52 | |
| 53 | 53 | // formating output |
| 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 => '│ ', |
@@ -193,7 +193,7 @@ |
||
| 193 | 193 | */ |
| 194 | 194 | public function messageCallback(): \Closure |
| 195 | 195 | { |
| 196 | - return function ($code, $message = '', $itemsCount = 0, $itemsMax = 0) { |
|
| 196 | + return function($code, $message = '', $itemsCount = 0, $itemsMax = 0) { |
|
| 197 | 197 | $output = $this->output; |
| 198 | 198 | if (strpos($code, '_PROGRESS') !== false) { |
| 199 | 199 | if ($output->isVerbose()) { |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | */ |
| 129 | 129 | public static function joinPath(string ...$path): string |
| 130 | 130 | { |
| 131 | - array_walk($path, function (&$value) { |
|
| 131 | + array_walk($path, function(&$value) { |
|
| 132 | 132 | $value = str_replace('\\', '/', $value); |
| 133 | 133 | $value = rtrim($value, '/'); |
| 134 | 134 | }); |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | */ |
| 146 | 146 | public static function joinFile(string ...$path): string |
| 147 | 147 | { |
| 148 | - array_walk($path, function (&$value) { |
|
| 148 | + array_walk($path, function(&$value) { |
|
| 149 | 149 | $value = str_replace(['\\', '/'], DIRECTORY_SEPARATOR, $value); |
| 150 | 150 | $value = rtrim($value, DIRECTORY_SEPARATOR); |
| 151 | 151 | }); |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | public static function fileGetContents($filename, $use_include_path = false, $context = null, $offset = 0, $maxlen = null) |
| 210 | 210 | { |
| 211 | 211 | set_error_handler( |
| 212 | - function ($severity, $message, $file, $line) { |
|
| 212 | + function($severity, $message, $file, $line) { |
|
| 213 | 213 | throw new \ErrorException($message, 0, $severity, $file, $line, null); |
| 214 | 214 | } |
| 215 | 215 | ); |