We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -71,6 +71,10 @@ |
||
| 71 | 71 | } |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | + /** |
|
| 75 | + * @param string $file |
|
| 76 | + * @param string $label |
|
| 77 | + */ |
|
| 74 | 78 | protected function processPublish($file, $label) |
| 75 | 79 | { |
| 76 | 80 | $sourceFile = $this->packageDir.$file.'.blade.php'; |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | $sourceFile = $this->packageDir.$file.'.blade.php'; |
| 77 | 77 | $copiedFile = $this->appDir.$file.'.blade.php'; |
| 78 | 78 | |
| 79 | - if (! file_exists($sourceFile)) { |
|
| 79 | + if (!file_exists($sourceFile)) { |
|
| 80 | 80 | return $this->error( |
| 81 | 81 | 'Cannot find source '.$label.' at ' |
| 82 | 82 | .$sourceFile. |
@@ -96,8 +96,8 @@ discard block |
||
| 96 | 96 | if ($canCopy) { |
| 97 | 97 | $path = pathinfo($copiedFile); |
| 98 | 98 | |
| 99 | - if (! file_exists($path['dirname'])) { |
|
| 100 | - mkdir($path['dirname'], 0755, true); |
|
| 99 | + if (!file_exists($path[ 'dirname' ])) { |
|
| 100 | + mkdir($path[ 'dirname' ], 0755, true); |
|
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | if (copy($sourceFile, $copiedFile)) { |