Passed
Push — master ( f4f5f5...69e5ba )
by Caen
02:58 queued 12s
created
packages/framework/src/Console/Commands/PublishHomepageCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,13 +32,13 @@  discard block
 block discarded – undo
32 32
     {
33 33
         $selected = $this->parseSelection();
34 34
 
35
-        if (! Homepages::exists($selected)) {
35
+        if (!Homepages::exists($selected)) {
36 36
             $this->error("Homepage $selected does not exist.");
37 37
 
38 38
             return 404;
39 39
         }
40 40
 
41
-        if (! $this->canExistingFileBeOverwritten()) {
41
+        if (!$this->canExistingFileBeOverwritten()) {
42 42
             $this->error('A modified index.blade.php file already exists. Use --force to overwrite.');
43 43
 
44 44
             return 409;
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
     protected function formatPublishableChoices(): array
71 71
     {
72
-        return $this->getTemplateOptions()->map(function (array $option, string $key): string {
72
+        return $this->getTemplateOptions()->map(function(array $option, string $key): string {
73 73
             return  "<comment>$key</comment>: {$option['description']}";
74 74
         })->values()->toArray();
75 75
     }
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
             return true;
91 91
         }
92 92
 
93
-        if (! file_exists(Hyde::getBladePagePath('index.blade.php'))) {
93
+        if (!file_exists(Hyde::getBladePagePath('index.blade.php'))) {
94 94
             return true;
95 95
         }
96 96
 
Please login to merge, or discard this patch.
packages/framework/src/Framework/Features/Templates/PublishableView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     {
18 18
         $path = static::getOutputPath();
19 19
 
20
-        if (file_exists($path) && ! $force) {
20
+        if (file_exists($path) && !$force) {
21 21
             return false;
22 22
         }
23 23
 
Please login to merge, or discard this patch.