Test Failed
Push — main ( be3c2b...b37843 )
by Marc
12:21
created
system/core/classes/model/ModelFactory.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
 
84 84
     private function loadDataFile(Element $indexElement): \stdClass {
85 85
         if (!isset($indexElement->path) || empty($indexElement->path)) {
86
-            throw new InvalidArgumentException("Object does not have 'path' property " . print_r($indexElement, true)); // @codeCoverageIgnore
86
+            throw new InvalidArgumentException("Object does not have 'path' property ".print_r($indexElement, true)); // @codeCoverageIgnore
87 87
         }
88 88
         if (($data = \file_get_contents($indexElement->path)) === false) {
89 89
             throw new InternalException("file_get_contents() failed opening [$indexElement->path]"); // @codeCoverageIgnore
Please login to merge, or discard this patch.
system/core/classes/model/Config.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
         if (isset($this->config[$key]) === false) {
73 73
             return null;
74 74
         }
75
-       return $this->config[$key];
75
+        return $this->config[$key];
76 76
     }
77 77
 
78 78
     /**
Please login to merge, or discard this patch.
system/core/classes/indexing/IndexManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
         $cat2PostIndex = [];
295 295
         foreach ($this->postIndex as $post) {
296 296
             if (!isset($post->key, $post->tags, $post->category)) {
297
-                throw new InternalException("Invalid format of index element: " . print_r($post, true)); // @codeCoverageIgnore
297
+                throw new InternalException("Invalid format of index element: ".print_r($post, true)); // @codeCoverageIgnore
298 298
             }
299 299
             foreach ($post->tags as $tag) {
300 300
                 $key = 'tag'.FWD_SLASH.(string)$tag;
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
                 if (($end = \strpos($key, '_', $start)) === false) {
445 445
                     throw new InvalidArgumentException("Post content filename syntax error [$key]");
446 446
                 }
447
-                $tagList = \substr($key, $start, $end-$start);
447
+                $tagList = \substr($key, $start, $end - $start);
448 448
                 $title = \substr($key, $end + 1);
449 449
                 $year = \substr($dateString, 0, 4);
450 450
                 $month = \substr($dateString, 4, 2);
Please login to merge, or discard this patch.
system/core/classes/templating/TwigTemplateEngine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
     }
23 23
 
24 24
     function render($template, array $vars): string {
25
-        return $this->engine->render($template . '.' . $this->ext, $vars);
25
+        return $this->engine->render($template.'.'.$this->ext, $vars);
26 26
     }
27 27
 }
Please login to merge, or discard this patch.