| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | 1 | public function perform(): int |
|
| 27 | { |
||
| 28 | 1 | $this->info(sprintf('Create default configuration into: %sgraphql.php', $this->dirs->get('config'))); |
|
| 29 | |||
| 30 | 1 | $source = __DIR__ . '/../../config/graphql.php.sample'; |
|
| 31 | 1 | $destination = $this->dirs->get('config') . 'graphql.php'; |
|
| 32 | |||
| 33 | 1 | $this->files->copy($source, $destination); |
|
| 34 | |||
| 35 | 1 | return self::SUCCESS; |
|
| 36 | } |
||
| 38 |