RunApplicationCommand::getExcludeFixers()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of Symplify
7
 * Copyright (c) 2016 Tomas Votruba (http://tomasvotruba.cz).
8
 */
9
10
namespace Symplify\MultiCodingStandard\PhpCsFixer\Application\Command;
11
12
final class RunApplicationCommand
13
{
14
    /**
15
     * @var array
16
     */
17
    private $source;
18
19
    /**
20
     * @var array
21
     */
22
    private $fixerLevels;
23
24
    /**
25
     * @var array
26
     */
27
    private $fixers;
28
29
    /**
30
     * @var array
31
     */
32
    private $excludeFixers;
33
34
    /**
35
     * @var bool
36
     */
37
    private $isFixer;
38
39
    public function __construct(array $source, array $fixerLevels, array $fixers, array $excludeFixers, bool $isFixer)
40
    {
41
        $this->source = $source;
42
        $this->fixerLevels = $fixerLevels;
43
        $this->fixers = $fixers;
44
        $this->excludeFixers = $excludeFixers;
45
        $this->isFixer = $isFixer;
46
    }
47
48
    public function getSource(): array
49
    {
50
        return $this->source;
51
    }
52
53
    public function getFixerLevels(): array
54
    {
55
        return $this->fixerLevels;
56
    }
57
58
    public function getFixers(): array
59
    {
60
        return $this->fixers;
61
    }
62
63
    public function getExcludeFixers(): array
64
    {
65
        return $this->excludeFixers;
66
    }
67
68
    public function isFixer(): bool
69
    {
70
        return $this->isFixer;
71
    }
72
}
73