Passed
Push — dependabot/composer/phpmd/phpm... ( 2302dc )
by
unknown
40:55 queued 35:56
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
     {
115 115
         if (!Util::getFS()->exists($this->destination)) {
116 116
             $img = ImageManager::make($this->source);
117
-            $img->resize($this->size, null, function (\Intervention\Image\Constraint $constraint) {
117
+            $img->resize($this->size, null, function(\Intervention\Image\Constraint $constraint) {
118 118
                 $constraint->aspectRatio();
119 119
                 $constraint->upsize();
120 120
             });
Please login to merge, or discard this patch.