Completed
Pull Request — master (#10)
by Tomáš
03:33
created

Application::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 1
b 0
f 1
cc 1
eloc 1
nc 1
nop 0
crap 2
1
<?php
2
3
/*
4
 * This file is part of Symplify
5
 * Copyright (c) 2016 Tomas Votruba (http://tomasvotruba.cz).
6
 */
7
8
namespace Symplify\MultiCodingStandard\PhpCsFixer\Application;
9
10
use Symplify\MultiCodingStandard\PhpCsFixer\Application\Command\RunApplicationCommand;
11
12
final class Application
13
{
14
    public function __construct()
15
    {
16
17
    }
18
19
    public function runCommand(RunApplicationCommand $command)
20
    {
21
        // resolve configuration
22
        dump($command);
23
24
25
        die;
0 ignored issues
show
Coding Style Compatibility introduced by
The method runCommand() contains an exit expression.

An exit expression should only be used in rare cases. For example, if you write a short command line script.

In most cases however, using an exit expression makes the code untestable and often causes incompatibilities with other libraries. Thus, unless you are absolutely sure it is required here, we recommend to refactor your code to avoid its usage.

Loading history...
26
    }
27
}
28