Passed
Pull Request — master (#2172)
by Franck
05:30
created
src/Builder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
         $this->options = array_merge([
151 151
             'drafts'     => false, // build drafts or not
152 152
             'dry-run'    => false, // if dry-run is true, generated files are not saved
153
-            'page'       => '',    // specific page to build
153
+            'page'       => '', // specific page to build
154 154
             'renderPath' => ''     // 
155 155
         ], $options);
156 156
 
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
     /**
209 209
      * Set configuration.
210 210
      */
211
-    public function setConfig(array|Config $config): self
211
+    public function setConfig(array | Config $config): self
212 212
     {
213 213
         if (\is_array($config)) {
214 214
             $config = new Config($config);
Please login to merge, or discard this patch.
src/Step/Pages/Render.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
                 if (empty($regexPath)) {
84 84
                     return true;
85 85
                 }
86
-                return (bool) preg_match('/'.$regexPath.'/', $page->getPath());
86
+                return (bool) preg_match('/' . $regexPath . '/', $page->getPath());
87 87
             })
88 88
             // enrichs some variables
89 89
             ->map(function (Page $page) {
Please login to merge, or discard this patch.