We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | ]; |
| 61 | 61 | |
| 62 | 62 | foreach ($filesToPublish as $destination => $stub) { |
| 63 | - if (! is_string($destination)) { |
|
| 63 | + if (!is_string($destination)) { |
|
| 64 | 64 | $destination = $stub; |
| 65 | 65 | $stub = null; |
| 66 | 66 | } |
@@ -71,11 +71,11 @@ discard block |
||
| 71 | 71 | continue; |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | - if (! File::isDirectory(dirname($destination))) { |
|
| 74 | + if (!File::isDirectory(dirname($destination))) { |
|
| 75 | 75 | File::makeDirectory(dirname($destination), 0755, true); |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | - if (! $stub) { |
|
| 78 | + if (!$stub) { |
|
| 79 | 79 | File::copy(__DIR__.'/../../../public/'.basename($destination), $destination); |
| 80 | 80 | $this->info("File {$destination} published."); |
| 81 | 81 | continue; |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | $stub = str_replace('__APP_COLOR__', $appColor, $stub); |
| 88 | 88 | $stub = str_replace('__BACKPACK_PREFIX__', $backpackPrefix, $stub); |
| 89 | 89 | $stub = str_replace('__PATH_PREFIX__', $pathPrefix, $stub); |
| 90 | - if($pathPrefix!='/') |
|
| 90 | + if ($pathPrefix != '/') |
|
| 91 | 91 | $stub = str_replace('__PREPEND_SLASH__', '/', $stub); |
| 92 | 92 | else |
| 93 | 93 | $stub = str_replace('__PREPEND_SLASH__', '', $stub); |