Passed
Push — master ( f4f3d0...a42101 )
by Caen
03:42 queued 23s
created
packages/framework/src/Framework/Factories/NavigationDataFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 
126 126
     private function isNonDocumentationPageInHiddenSubdirectory(): bool
127 127
     {
128
-        return ! $this->isInstanceOf(DocumentationPage::class)
128
+        return !$this->isInstanceOf(DocumentationPage::class)
129 129
             && $this->pageIsInSubdirectory()
130 130
             && $this->getSubdirectoryConfiguration() === 'hidden'
131 131
             && basename($this->identifier) !== 'index';
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
 
209 209
     protected function invert(?bool $value): ?bool
210 210
     {
211
-        return $value === null ? null : ! $value;
211
+        return $value === null ? null : !$value;
212 212
     }
213 213
 
214 214
     protected function offset(?int $value, int $offset): ?int
Please login to merge, or discard this patch.
packages/framework/src/Framework/Features/Blogging/Models/FeaturedImage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
     {
217 217
         $storagePath = Hyde::mediaPath($this->source);
218 218
 
219
-        if (! file_exists($storagePath)) {
219
+        if (!file_exists($storagePath)) {
220 220
             throw new FileNotFoundException(customMessage: sprintf('Featured image [%s] not found.', Hyde::pathToRelative($storagePath)));
221 221
         }
222 222
 
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
         // TODO: We may want to globalize this check in the config, but for now,
229 229
         // we just check the server arguments and skip remote requests if
230 230
         // the --no-api flag is present (in the build command call)
231
-        if (! (isset($_SERVER['argv']) && in_array('--no-api', $_SERVER['argv'], true))) {
231
+        if (!(isset($_SERVER['argv']) && in_array('--no-api', $_SERVER['argv'], true))) {
232 232
             $headers = Http::withHeaders([
233 233
                 'User-Agent' => Config::getString('hyde.http_user_agent', 'RSS Request Client'),
234 234
             ])->head($this->getSource())->headers();
Please login to merge, or discard this patch.