Conditions | 3 |
Paths | 3 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 3 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
50 | 1 | public function install() |
|
51 | { |
||
52 | 1 | foreach ($this->mappingResolver->resolve() as $mapping) { |
|
53 | 1 | if (file_exists($mapping->getDestination())) { |
|
54 | 1 | continue; |
|
55 | } |
||
56 | |||
57 | 1 | $this->fileInstaller->installFile($mapping); |
|
58 | |||
59 | 1 | $this->io->write( |
|
60 | 1 | sprintf( |
|
61 | 1 | '<info>Installed:</info> %s', |
|
62 | 1 | $mapping->getRelativeDestination() |
|
63 | ) |
||
68 |