We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | $appColor = $this->ask('Whats the application color ?', '#605ca8'); |
| 34 | 34 | $pathPrefix = $this->ask('Where should icon files be published relative to public folder?'); |
| 35 | 35 | |
| 36 | - if ( $pathPrefix) { |
|
| 36 | + if ($pathPrefix) { |
|
| 37 | 37 | $pathPrefix = Str::finish($pathPrefix, '/'); |
| 38 | 38 | } |
| 39 | 39 | |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | ]; |
| 52 | 52 | |
| 53 | 53 | foreach ($fileToPublish as $destination => $stub) { |
| 54 | - if (! is_string($destination)) { |
|
| 54 | + if (!is_string($destination)) { |
|
| 55 | 55 | $destination = $stub; |
| 56 | 56 | $stub = null; |
| 57 | 57 | } |
@@ -62,11 +62,11 @@ discard block |
||
| 62 | 62 | continue; |
| 63 | 63 | } |
| 64 | 64 | |
| 65 | - if (! File::isDirectory(dirname($destination))) { |
|
| 65 | + if (!File::isDirectory(dirname($destination))) { |
|
| 66 | 66 | File::makeDirectory(dirname($destination), 0755, true); |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | - if (! $stub) { |
|
| 69 | + if (!$stub) { |
|
| 70 | 70 | File::copy(__DIR__.'/../../../public/'.basename($destination), $destination); |
| 71 | 71 | $this->info("File {$destination} published."); |
| 72 | 72 | continue; |