Passed
Push — master ( 6efd03...3d0151 )
by Caen
05:10 queued 14s
created
packages/framework/src/Framework/Actions/PostBuildTasks/GenerateSitemap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
     public function handle(): void
23 23
     {
24
-        if (! Hyde::hasSiteUrl()) {
24
+        if (!Hyde::hasSiteUrl()) {
25 25
             $this->skip('Cannot generate sitemap without a valid base URL');
26 26
         }
27 27
 
Please login to merge, or discard this patch.
packages/framework/src/Foundation/Kernel/Hyperlinks.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     public function mediaLink(string $destination, bool $validate = false): string
97 97
     {
98
-        if ($validate && ! file_exists($sourcePath = "{$this->kernel->getMediaDirectory()}/$destination")) {
98
+        if ($validate && !file_exists($sourcePath = "{$this->kernel->getMediaDirectory()}/$destination")) {
99 99
             throw new FileNotFoundException($sourcePath);
100 100
         }
101 101
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     {
134 134
         $value = Config::getNullableString('hyde.url');
135 135
 
136
-        return ! blank($value) && $value !== 'http://localhost';
136
+        return !blank($value) && $value !== 'http://localhost';
137 137
     }
138 138
 
139 139
     /**
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 
154 154
         // Since v1.7.0, we return the relative path even if the base URL is not set,
155 155
         // as this is more likely to be the desired behavior the user's expecting.
156
-        if (! blank($path)) {
156
+        if (!blank($path)) {
157 157
             return $path;
158 158
         }
159 159
 
Please login to merge, or discard this patch.