@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | foreach ($data as $file) { |
47 | 47 | $count++; |
48 | 48 | set_error_handler( |
49 | - function ($severity, $message, $file, $line) { |
|
49 | + function($severity, $message, $file, $line) { |
|
50 | 50 | throw new \ErrorException($message, 0, $severity, $file, $line, null); |
51 | 51 | } |
52 | 52 | ); |
@@ -54,14 +54,14 @@ discard block |
||
54 | 54 | restore_error_handler(); |
55 | 55 | $dataArray = Yaml::parse($dataFile); |
56 | 56 | |
57 | - $basename = $file->getBasename('.' . $file->getExtension()); |
|
57 | + $basename = $file->getBasename('.'.$file->getExtension()); |
|
58 | 58 | $subpath = \Cecil\Util::getFS()->makePathRelative( |
59 | 59 | $file->getPath(), |
60 | 60 | $this->builder->getConfig()->getDataPath() |
61 | 61 | ); |
62 | 62 | $subpath = trim($subpath, "./"); |
63 | 63 | $array = []; |
64 | - $path = $subpath ? $subpath . '/' . $basename : $basename; |
|
64 | + $path = $subpath ? $subpath.'/'.$basename : $basename; |
|
65 | 65 | $this->pathToArray($array, $path, $dataArray); |
66 | 66 | |
67 | 67 | $dataArray = array_merge_recursive( |