Passed
Push — master ( 0b5feb...0d238e )
by Caen
06:33 queued 03:18
created
packages/framework/tests/Feature/AbstractPageTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
     {
86 86
         Hyde::touch(('_pages/foo.md'));
87 87
         $this->assertEquals(
88
-            collect([tap(new MarkdownPage('foo'), function ($page) {
88
+            collect([tap(new MarkdownPage('foo'), function($page) {
89 89
                 $page->title = 'Foo';
90 90
             })]),
91 91
             MarkdownPage::all()
Please login to merge, or discard this patch.
packages/framework/src/Facades/Includes.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     {
25 25
         $path = static::path($filename);
26 26
 
27
-        if (! file_exists($path)) {
27
+        if (!file_exists($path)) {
28 28
             return $default;
29 29
         }
30 30
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     {
37 37
         $path = static::path(basename($filename, '.md').'.md');
38 38
 
39
-        if (! file_exists($path)) {
39
+        if (!file_exists($path)) {
40 40
             return $default === null ? null : Markdown::render($default);
41 41
         }
42 42
 
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     {
49 49
         $path = static::path(basename($filename, '.blade.php').'.blade.php');
50 50
 
51
-        if (! file_exists($path)) {
51
+        if (!file_exists($path)) {
52 52
             return $default === null ? null : Blade::render($default);
53 53
         }
54 54
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
     protected static function needsDirectory(string $directory): void
59 59
     {
60
-        if (! file_exists($directory)) {
60
+        if (!file_exists($directory)) {
61 61
             mkdir($directory, recursive: true);
62 62
         }
63 63
     }
Please login to merge, or discard this patch.
packages/framework/src/Concerns/CanBeInNavigation.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.
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.