@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | */ |
90 | 90 | public function optionFilename($filename) |
91 | 91 | { |
92 | - $this->optionFilename = str_replace('.phar', '', $filename) . '.phar'; |
|
92 | + $this->optionFilename = str_replace('.phar', '', $filename).'.phar'; |
|
93 | 93 | } |
94 | 94 | |
95 | 95 | // ------------------------------------------------------------------------ |
@@ -116,9 +116,9 @@ discard block |
||
116 | 116 | parent::execute(); |
117 | 117 | |
118 | 118 | $filename = empty($this->optionFilename) ? 'app.phar' : $this->optionFilename; |
119 | - $filePath = PATH_ROOT . 'build' . DIRECTORY_SEPARATOR . $filename; |
|
119 | + $filePath = PATH_ROOT.'build'.DIRECTORY_SEPARATOR.$filename; |
|
120 | 120 | |
121 | - if(ini_get('phar.readonly') == 1 and $this->optionForce === false) { |
|
121 | + if (ini_get('phar.readonly') == 1 and $this->optionForce === false) { |
|
122 | 122 | output()->write( |
123 | 123 | (new Format()) |
124 | 124 | ->setContextualClass(Format::DANGER) |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | ->setNewLinesAfter(1) |
136 | 136 | ); |
137 | 137 | |
138 | - if ( ! is_writable(dirname($filePath))) { |
|
138 | + if (!is_writable(dirname($filePath))) { |
|
139 | 139 | @mkdir(dirname($filePath), 0777, true); |
140 | 140 | |
141 | 141 | output()->verbose( |
@@ -157,8 +157,8 @@ discard block |
||
157 | 157 | ); |
158 | 158 | } |
159 | 159 | |
160 | - if (file_exists($filePath . '.gz')) { |
|
161 | - unlink($filePath . '.gz'); |
|
160 | + if (file_exists($filePath.'.gz')) { |
|
161 | + unlink($filePath.'.gz'); |
|
162 | 162 | output()->verbose( |
163 | 163 | (new Format()) |
164 | 164 | ->setContextualClass(Format::WARNING) |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | $main = 'public/index.php'; |
180 | 180 | if (empty($this->optionMain)) { |
181 | 181 | // Default Carbon Boilerplate Detection |
182 | - if (is_file(PATH_APP . 'console')) { |
|
182 | + if (is_file(PATH_APP.'console')) { |
|
183 | 183 | $main = 'app/console'; |
184 | 184 | |
185 | 185 | output()->verbose( |