| Conditions | 2 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 2.0054 |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | 2 | public function install(): void |
|
| 43 | { |
||
| 44 | 2 | $this->require('zendframework/zend-text "^2.7"'); |
|
| 45 | |||
| 46 | 2 | $this->task( |
|
| 47 | 2 | 'Creating default logo configuration', |
|
| 48 | function () { |
||
| 49 | 2 | if (! File::exists(config_path('logo.php'))) { |
|
| 50 | 2 | return File::copy( |
|
| 51 | 2 | static::CONFIG_FILE, |
|
| 52 | 2 | $this->app->configPath('logo.php') |
|
| 53 | ); |
||
| 54 | } |
||
| 55 | |||
| 56 | return false; |
||
| 57 | 2 | } |
|
| 61 |