Passed
Push — master ( 3d2d69...53019f )
by Caen
04:58 queued 28s
created
packages/testing/src/CreatesTemporaryFiles.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      */
23 23
     protected function file(string $path, ?string $contents = null): void
24 24
     {
25
-        if (! is_dir(dirname($path))) {
25
+        if (!is_dir(dirname($path))) {
26 26
             $this->directory(dirname($path));
27 27
         }
28 28
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         if (sizeof($this->fileMemory) > 0) {
64 64
             foreach ($this->fileMemory as $file) {
65 65
                 if (Filesystem::isDirectory($file)) {
66
-                    if (! in_array($file, ['_site', '_media', '_pages', '_posts', '_docs', 'app', 'config', 'storage', 'vendor', 'node_modules'])) {
66
+                    if (!in_array($file, ['_site', '_media', '_pages', '_posts', '_docs', 'app', 'config', 'storage', 'vendor', 'node_modules'])) {
67 67
                         Filesystem::deleteDirectory($file);
68 68
                     }
69 69
                 } else {
Please login to merge, or discard this patch.