Test Failed
Pull Request — master (#1676)
by Arnaud
09:46 queued 04:44
created
config/default.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
             'locale' => 'en_US',
31 31
         ],
32 32
     ],
33
-    'taxonomies'   => [ // default taxonomies
33
+    'taxonomies'   => [// default taxonomies
34 34
         'tags'       => 'tag',
35 35
         'categories' => 'category', // can be disabled with the special "disabled" value
36 36
     ],
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
                 'capture'   => 'before', // part to capture, `before` or `after` the separator (`before` by default)
96 96
             ],
97 97
         ],
98
-        'generators' => [ // list of pages generators, ordered by weight
98
+        'generators' => [// list of pages generators, ordered by weight
99 99
             10 => 'Cecil\Generator\DefaultPages',
100 100
             20 => 'Cecil\Generator\VirtualPages',
101 101
             30 => 'Cecil\Generator\ExternalBody',
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
             80 => 'Cecil\Generator\Alias',
107 107
             90 => 'Cecil\Generator\Redirect',
108 108
         ],
109
-        'default' => [ // default generated pages
109
+        'default' => [// default generated pages
110 110
             'index' => [
111 111
                 'path'      => '',
112 112
                 'title'     => 'Home',
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
         'internal' => [
229 229
             'dir' => 'resources/layouts', // internal templates directory
230 230
         ],
231
-        'translations' => [ // i18n
231
+        'translations' => [// i18n
232 232
             'dir'      => 'translations', // translations files directory (`translations` by default)
233 233
             'formats'  => ['yaml', 'mo'], // translations supported formats (`yaml` and `mo`)
234 234
             'internal' => [
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
     ],
244 244
     'output' => [
245 245
         'dir'      => '_site', // output directory (`_site` by default)
246
-        'formats'  => [ // https://cecil.app/documentation/configuration/#formats
246
+        'formats'  => [// https://cecil.app/documentation/configuration/#formats
247 247
             // e.g.: blog/post-1/index.html
248 248
             -1 => [
249 249
                 'name'      => 'html',
@@ -323,14 +323,14 @@  discard block
 block discarded – undo
323 323
                 'exclude'   => ['redirect', 'paginated'],
324 324
             ],
325 325
         ],
326
-        'pagetypeformats' => [ // formats applied by page type
326
+        'pagetypeformats' => [// formats applied by page type
327 327
             'page'       => ['html'],
328 328
             'homepage'   => ['html', 'atom'],
329 329
             'section'    => ['html', 'atom'],
330 330
             'vocabulary' => ['html'],
331 331
             'term'       => ['html', 'atom'],
332 332
         ],
333
-        'postprocessors' => [ // list of output post processors
333
+        'postprocessors' => [// list of output post processors
334 334
             -1 => 'Cecil\Renderer\PostProcessor\GeneratorMetaTag',
335 335
             -2 => 'Cecil\Renderer\PostProcessor\HtmlExcerpt',
336 336
             -3 => 'Cecil\Renderer\PostProcessor\MarkdownLink',
Please login to merge, or discard this patch.
src/Logger/PrintLogger.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
      * {@inheritdoc}
48 48
      */
49
-    public function log($level, string|\Stringable $message, array $context = []): void
49
+    public function log($level, string | \Stringable $message, array $context = []): void
50 50
     {
51 51
         if (!isset($this->verbosityLevelMap[$level])) {
52 52
             throw new InvalidArgumentException(sprintf('The log level "%s" does not exist.', $level));
Please login to merge, or discard this patch.
src/Logger/ConsoleLogger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     /**
61 61
      * {@inheritdoc}
62 62
      */
63
-    public function log($level, string|\Stringable $message, array $context = []): void
63
+    public function log($level, string | \Stringable $message, array $context = []): void
64 64
     {
65 65
         $output = $this->output;
66 66
         $output->getFormatter()->setStyle('text', new OutputFormatterStyle('white'));
Please login to merge, or discard this patch.