Passed
Push — fix-index-layout ( 8c28ce )
by Arnaud
05:30
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
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
         try {
91 91
             ini_set('memory_limit', '512M');
92 92
             $img = ImageManager::make($this->source);
93
-            $img->resize($this->size, null, function (\Intervention\Image\Constraint $constraint) {
93
+            $img->resize($this->size, null, function(\Intervention\Image\Constraint $constraint) {
94 94
                 $constraint->aspectRatio();
95 95
                 $constraint->upsize();
96 96
             });
Please login to merge, or discard this patch.