Completed
Push — fix-data-subdir ( 6bac1e )
by Arnaud
03:01 queued 10s
created
src/Step/DataLoad.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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(
Please login to merge, or discard this patch.