Passed
Push — fix-code ( f7c93d...14bbd2 )
by Arnaud
06:35 queued 01:02
created
src/Step/PagesGenerate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             call_user_func_array($this->builder->getMessageCb(), ['GENERATE', 'Generating pages']);
37 37
 
38 38
             // load local generators
39
-            spl_autoload_register(function ($className) {
39
+            spl_autoload_register(function($className) {
40 40
                 $generatorFile = $this->config->getDestinationDir().'/generators/'.$className.'.php';
41 41
                 if (file_exists($generatorFile)) {
42 42
                     require $generatorFile;
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             });
45 45
 
46 46
             $generators = (array) $this->builder->getConfig()->get('generators');
47
-            array_walk($generators, function ($generator, $priority) use ($generatorManager) {
47
+            array_walk($generators, function($generator, $priority) use ($generatorManager) {
48 48
                 if (!class_exists($generator)) {
49 49
                     $message = sprintf('Unable to load generator "%s"', $generator);
50 50
                     call_user_func_array($this->builder->getMessageCb(), ['GENERATE_ERROR', $message]);
Please login to merge, or discard this patch.
src/Assets/Image.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
             $memoryLimit = ini_get('memory_limit');
92 92
             ini_set('memory_limit', '512M');
93 93
             $img = ImageManager::make($this->source);
94
-            $img->resize($this->size, null, function (\Intervention\Image\Constraint $constraint) {
94
+            $img->resize($this->size, null, function(\Intervention\Image\Constraint $constraint) {
95 95
                 $constraint->aspectRatio();
96 96
                 $constraint->upsize();
97 97
             });
Please login to merge, or discard this patch.
src/Util.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
      */
150 150
     public static function joinFile(array $strings): string
151 151
     {
152
-        array_walk($strings, function (&$value, &$key) {
152
+        array_walk($strings, function(&$value, &$key) {
153 153
             $value = str_replace(['\\', '/'], DIRECTORY_SEPARATOR, $value);
154 154
         });
155 155
 
Please login to merge, or discard this patch.