WebAppInstaller::install()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 2
ccs 1
cts 1
cp 1
crap 1
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Antidot\Installer\ApplicationType;
6
7
use Antidot\Installer\Template\ComposerJson;
8
use Composer\Composer;
9
use Composer\IO\IOInterface;
10
11
class WebAppInstaller implements App
12
{
13
    /** @var IOInterface */
14
    private IOInterface $io;
15
    /** @var ComposerJson */
16
    private ComposerJson $manipulator;
17
18 2
    public function __construct(IOInterface $io, ComposerJson $manipulator)
19
    {
20 2
        $this->io = $io;
21 2
        $this->manipulator = $manipulator;
22 2
    }
23
24 1
    public function install(string $installationPath): void
25
    {
26
        // TODO: Implement install() method.
27 1
    }
28
}
29