Passed
Push — fix-assets-images-managment ( a7deda...445b39 )
by Arnaud
06:17 queued 39s
created
src/Generator/Pagination.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         }
28 28
 
29 29
         // filter pages: home, sections and terms
30
-        $filteredPages = $this->pagesCollection->filter(function (Page $page) {
30
+        $filteredPages = $this->pagesCollection->filter(function(Page $page) {
31 31
             return in_array($page->getType(), [Type::HOMEPAGE, Type::SECTION, Type::TERM]);
32 32
         });
33 33
         /** @var Page $page */
Please login to merge, or discard this patch.
src/Step/ConfigImport.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
             $message = sprintf('"%s" theme: no config file', $theme);
45 45
             if (Util::getFS()->exists($themeConfigFile)) {
46 46
                 set_error_handler(
47
-                    function ($severity, $message, $file, $line) {
47
+                    function($severity, $message, $file, $line) {
48 48
                         throw new \ErrorException($message, 0, $severity, $file, $line, null);
49 49
                     }
50 50
                 );
Please login to merge, or discard this patch.
src/Assets/Image.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             if ($this->external) {
106 106
                 try {
107 107
                     $img = ImageManager::make($this->path);
108
-                    $img->resize($this->size, null, function (\Intervention\Image\Constraint $constraint) {
108
+                    $img->resize($this->size, null, function(\Intervention\Image\Constraint $constraint) {
109 109
                         $constraint->aspectRatio();
110 110
                         $constraint->upsize();
111 111
                     });
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
             // local image
120 120
             if (!Util::getFS()->exists($this->destination)) {
121 121
                 $img = ImageManager::make($this->source);
122
-                $img->resize($this->size, null, function (\Intervention\Image\Constraint $constraint) {
122
+                $img->resize($this->size, null, function(\Intervention\Image\Constraint $constraint) {
123 123
                     $constraint->aspectRatio();
124 124
                     $constraint->upsize();
125 125
                 });
Please login to merge, or discard this patch.