Passed
Push — master ( 287b62...a6bd4c )
by Caen
03:57 queued 13s
created
packages/framework/src/Foundation/Kernel/Filesystem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
      */
141 141
     public function vendorPath(string $path = '', string $package = 'framework'): string
142 142
     {
143
-        if (PharSupport::running() && ! PharSupport::hasVendorDirectory()) {
143
+        if (PharSupport::running() && !PharSupport::hasVendorDirectory()) {
144 144
             return PharSupport::vendorPath($path, $package);
145 145
         }
146 146
 
Please login to merge, or discard this patch.
packages/framework/src/Framework/Actions/CreatesNewPageSourceFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
 
126 126
     protected function validateType(string $pageClass): void
127 127
     {
128
-        if (! in_array($pageClass, [MarkdownPage::class, BladePage::class, DocumentationPage::class])) {
128
+        if (!in_array($pageClass, [MarkdownPage::class, BladePage::class, DocumentationPage::class])) {
129 129
             throw new UnsupportedPageTypeException('The page type must be either "markdown", "blade", or "documentation"');
130 130
         }
131 131
     }
Please login to merge, or discard this patch.
packages/framework/src/Framework/Concerns/InteractsWithDirectories.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     protected static function needsDirectory(string $directory): void
20 20
     {
21
-        if (! Filesystem::exists($directory)) {
21
+        if (!Filesystem::exists($directory)) {
22 22
             Filesystem::makeDirectory($directory, recursive: true);
23 23
         }
24 24
     }
Please login to merge, or discard this patch.