Completed
Push — analysis-nN4kMw ( 387bbe )
by Arnaud
03:22 queued 01:42
created
src/Renderer/Site.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
      */
91 91
     public function getPages()
92 92
     {
93
-        return $this->builder->getPages()->filter(function (Page $page) {
93
+        return $this->builder->getPages()->filter(function(Page $page) {
94 94
             return $page->getVariable('published');
95 95
         });
96 96
     }
Please login to merge, or discard this patch.
src/Renderer/Twig.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
         // https://regex101.com/r/dZ02zO/5
94 94
         $this->rendered = preg_replace_callback(
95 95
             '/href="([A-Za-z0-9_\.\-\/]+)\.md(\#[A-Za-z0-9\-]+)?"/is',
96
-            function ($matches) {
96
+            function($matches) {
97 97
                 return 'href="../'.Page::slugify(PrefixSuffix::sub(sprintf('%s', $matches[1]))).$matches[2].'"';
98 98
             },
99 99
             $this->rendered
Please login to merge, or discard this patch.