Passed
Push — postprocess ( 3926a9 )
by Arnaud
04:40
created
src/Step/MenusCreate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
      */
137 137
     protected function collectPages(): void
138 138
     {
139
-        $filteredPages = $this->builder->getPages()->filter(function (Page $page) {
139
+        $filteredPages = $this->builder->getPages()->filter(function(Page $page) {
140 140
             return $page->hasVariable('menu') && $page->getVariable('published');
141 141
         });
142 142
 
Please login to merge, or discard this patch.
src/Step/TaxonomiesCreate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     protected function collectTermsFromPages(): void
94 94
     {
95 95
         /** @var Page $page */
96
-        $pages = $this->builder->getPages()->filter(function (Page $page) {
96
+        $pages = $this->builder->getPages()->filter(function(Page $page) {
97 97
             return $page->getVariable('published');
98 98
         })->sortByDate();
99 99
         foreach ($pages as $page) {
Please login to merge, or discard this patch.
src/Util/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     public static function fileGetContents(string $filename, bool $userAgent = false)
38 38
     {
39 39
         set_error_handler(
40
-            function ($severity, $message, $file, $line) {
40
+            function($severity, $message, $file, $line) {
41 41
                 throw new \ErrorException($message, 0, $severity, $file, $line, null);
42 42
             }
43 43
         );
Please login to merge, or discard this patch.
src/Generator/AbstractGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     {
47 47
         $this->generate();
48 48
 
49
-        $this->generatedPages->map(function (\Cecil\Collection\Page\Page $page) {
49
+        $this->generatedPages->map(function(\Cecil\Collection\Page\Page $page) {
50 50
             if (!$page->hasVariable('language')) {
51 51
                 $page->setVariable('language', $this->config->getLanguageDefault());
52 52
             }
Please login to merge, or discard this patch.
src/Assets/Asset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -332,7 +332,7 @@
 block discarded – undo
332 332
                 throw new Exception('GD extension is required to use images resize.');
333 333
             }
334 334
             $img = ImageManager::make($this->data['source']);
335
-            $img->resize($size, null, function (\Intervention\Image\Constraint $constraint) {
335
+            $img->resize($size, null, function(\Intervention\Image\Constraint $constraint) {
336 336
                 $constraint->aspectRatio();
337 337
                 $constraint->upsize();
338 338
             });
Please login to merge, or discard this patch.