Passed
Push — jsonld ( ce57ad...2ceef4 )
by Arnaud
18:42 queued 15:20
created
src/Step/TaxonomiesCreate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
     protected function collectTermsFromPages()
96 96
     {
97 97
         /** @var Page $page */
98
-        $pages = $this->builder->getPages()->filter(function (Page $page) {
98
+        $pages = $this->builder->getPages()->filter(function(Page $page) {
99 99
             return $page->getVariable('published');
100 100
         })->sortByDate();
101 101
         foreach ($pages as $page) {
Please login to merge, or discard this patch.
src/Step/MenusCreate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
     {
136 136
         $count = 0;
137 137
 
138
-        $filteredPages = $this->builder->getPages()->filter(function (Page $page) {
138
+        $filteredPages = $this->builder->getPages()->filter(function(Page $page) {
139 139
             return $page->hasVariable('menu') && $page->getVariable('published');
140 140
         });
141 141
 
Please login to merge, or discard this patch.
src/Generator/Pagination.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         }
30 30
 
31 31
         // filters pages: home, sections and terms
32
-        $filteredPages = $this->builder->getPages()->filter(function (Page $page) {
32
+        $filteredPages = $this->builder->getPages()->filter(function(Page $page) {
33 33
             return in_array($page->getType(), [Type::HOMEPAGE, Type::SECTION, Type::TERM]);
34 34
         });
35 35
         /** @var Page $page */
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
                     $paginationPath = $pagePagination['path'];
59 59
                 }
60 60
             }
61
-            $pages = $pages->filter(function (Page $page) {
61
+            $pages = $pages->filter(function(Page $page) {
62 62
                 return $page->getVariable('published');
63 63
             });
64 64
             $pagesTotal = count($pages);
Please login to merge, or discard this patch.