@@ -66,7 +66,7 @@ discard block |
||
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 |
||
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 | /** |
@@ -32,7 +32,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 | /** |
@@ -17,7 +17,7 @@ |
||
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 | ]; |
@@ -6,7 +6,7 @@ |
||
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 | ]; |