Passed
Branch master (8cdb92)
by Robin
03:09
created
Category
app/Models/PhpVersion.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      */
67 67
     public function getCliNameAttribute()
68 68
     {
69
-        return 'php_cli_'.$this->safe;
69
+        return 'php_cli_' . $this->safe;
70 70
     }
71 71
 
72 72
     /**
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     public function getFpmNameAttribute()
78 78
     {
79
-        return 'php_fpm_'.$this->safe;
79
+        return 'php_fpm_' . $this->safe;
80 80
     }
81 81
 
82 82
     /**
Please login to merge, or discard this patch.
app/Models/Site.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     {
33 33
         $name = static::nameFromPath($path ?: app(Cli::class)->currentWorkingDirectory());
34 34
 
35
-        if (! $name) {
35
+        if (!$name) {
36 36
             return null;
37 37
         }
38 38
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     {
52 52
         $site = static::resolveFromPathOrCurrentWorkingDirectory($path);
53 53
 
54
-        if (! $site) {
54
+        if (!$site) {
55 55
             throw new \Exception("Site not found.");
56 56
         }
57 57
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      */
66 66
     public function getUrlAttribute()
67 67
     {
68
-        return $this->name.'.'.setting('domain');
68
+        return $this->name . '.' . setting('domain');
69 69
     }
70 70
 
71 71
     /**
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      */
76 76
     public function getSchemeAttribute()
77 77
     {
78
-        return ($this->secure ? 'https' : 'http').'://';
78
+        return ($this->secure ? 'https' : 'http') . '://';
79 79
     }
80 80
 
81 81
     /**
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      */
86 86
     public function getNginxConfPathAttribute()
87 87
     {
88
-        return config('porter.library_path')."/config/nginx/conf.d/{$this->name}.conf";
88
+        return config('porter.library_path') . "/config/nginx/conf.d/{$this->name}.conf";
89 89
     }
90 90
 
91 91
     /**
Please login to merge, or discard this patch.
config/database.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
     'connections' => [
18 18
         'default' => [
19 19
             'driver'   => env('DB_CONNECTION', 'sqlite'),
20
-            'database' => ChooseMechanic::forOS()->getUserHomePath().'/.porter/database.sqlite',
20
+            'database' => ChooseMechanic::forOS()->getUserHomePath() . '/.porter/database.sqlite',
21 21
         ],
22 22
     ],
23 23
 ];
Please login to merge, or discard this patch.
config/porter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
     /* The default set of images to use when installing porter */
7 7
     'default-docker-image-set' => 'konsulting/porter-ubuntu',
8 8
 
9
-    'library_path' => ChooseMechanic::forOS()->getUserHomePath().'/.porter',
9
+    'library_path' => ChooseMechanic::forOS()->getUserHomePath() . '/.porter',
10 10
 
11
-    'docker-compose-file' =>ChooseMechanic::forOS()->getUserHomePath().'/.porter/docker-compose.yaml',
11
+    'docker-compose-file' =>ChooseMechanic::forOS()->getUserHomePath() . '/.porter/docker-compose.yaml',
12 12
 ];
Please login to merge, or discard this patch.