Passed
Push — master ( 4cbafb...c0ea2b )
by Caen
06:14 queued 02:29
created
packages/realtime-compiler/src/Console/Commands/HerdInstallCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,14 +27,14 @@
 block discarded – undo
27 27
         $driverTargetPath = $this->getDriverTargetPath();
28 28
         $driverSourcePath = Hyde::vendorPath('resources/stubs/HydeValetDriver.php', 'realtime-compiler');
29 29
 
30
-        if (! is_dir(dirname($driverTargetPath))) {
30
+        if (!is_dir(dirname($driverTargetPath))) {
31 31
             $this->error('Herd Valet drivers directory not found. Is Herd installed?');
32 32
 
33 33
             return Command::FAILURE;
34 34
         }
35 35
 
36
-        if (file_exists($driverTargetPath) && ! $this->option('force')) {
37
-            if (! $this->confirm('The HydePHP Valet driver for Herd already exists. Do you want to overwrite it?', true)) {
36
+        if (file_exists($driverTargetPath) && !$this->option('force')) {
37
+            if (!$this->confirm('The HydePHP Valet driver for Herd already exists. Do you want to overwrite it?', true)) {
38 38
                 $this->info('Installation cancelled.');
39 39
 
40 40
                 return Command::SUCCESS;
Please login to merge, or discard this patch.
packages/realtime-compiler/resources/stubs/HydeValetDriver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
                 'Source Root' => $hydeConfig['source_root'] ?: '(Project Root)',
78 78
             ],
79 79
             'Features' => [
80
-                'Enabled Features' => implode(', ', array_map(function ($feature) {
80
+                'Enabled Features' => implode(', ', array_map(function($feature) {
81 81
                     return $feature->name;
82 82
                 }, $hydeConfig['features'] ?? [])),
83 83
             ],
Please login to merge, or discard this patch.