Passed
Push — master ( bfa98d...00b783 )
by Caen
02:49
created
packages/framework/src/Contracts/AbstractMarkdownPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     /** @interitDoc */
38 38
     public static function make(string $identifier = '', array $matter = [], string $body = ''): static
39 39
     {
40
-        return tap(new static($identifier, new FrontMatter($matter), new Markdown($body)), function (self $page) {
40
+        return tap(new static($identifier, new FrontMatter($matter), new Markdown($body)), function(self $page) {
41 41
             return PageModelConstructor::run($page);
42 42
         });
43 43
     }
Please login to merge, or discard this patch.
packages/framework/src/Actions/SourceFileParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
     protected function parseBladePage(): BladePage
46 46
     {
47
-        return tap(new BladePage($this->slug), function (BladePage $page) {
47
+        return tap(new BladePage($this->slug), function(BladePage $page) {
48 48
             $page->matter = FrontMatter::fromArray(
49 49
                 $this->parseBladeMatter(file_get_contents($page->getSourcePath()))
50 50
             );
Please login to merge, or discard this patch.
packages/framework/src/Actions/BladeMatterParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
         $string = trim($string);
138 138
 
139 139
         // Check if string is an array
140
-        if (! static::isValueArrayString($string)) {
140
+        if (!static::isValueArrayString($string)) {
141 141
             throw new \RuntimeException('Failed parsing BladeMatter array. Input string must follow array syntax.');
142 142
         }
143 143
 
Please login to merge, or discard this patch.
packages/framework/src/Contracts/AbstractPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         }
26 26
 
27 27
         if ($this instanceof DocumentationPage) {
28
-            return $this->identifier === 'index' && ! in_array('docs', config('hyde.navigation.exclude', []));
28
+            return $this->identifier === 'index' && !in_array('docs', config('hyde.navigation.exclude', []));
29 29
         }
30 30
 
31 31
         if ($this instanceof AbstractMarkdownPage) {
Please login to merge, or discard this patch.