Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
35 | 3 | public function configure() |
|
36 | { |
||
37 | /** @var GitIgnoreDataResponse $gitIgnoreContent */ |
||
38 | 3 | $gitIgnoreContent = $this->queryBus->handle(new GitIgnoreExtractor()); |
|
39 | |||
40 | 3 | if (false === $this->isFileIgnored($gitIgnoreContent->getContent())) { |
|
41 | 2 | $content = $this->getContent($gitIgnoreContent->getContent()); |
|
42 | |||
43 | 2 | $this->commandBus->handle(new GitIgnoreWriter($content)); |
|
44 | } |
||
45 | 3 | } |
|
46 | |||
67 |