Total Complexity | 1 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
6 | final class DefaultConfigurationReader extends AbstractConfigurationReader |
||
7 | { |
||
8 | /** |
||
9 | * @var array |
||
10 | */ |
||
11 | private $config = [ |
||
12 | 'sniffs' => [ |
||
13 | 0 => [ |
||
14 | 'class' => 'Indentation', |
||
15 | 'parameters' => [ |
||
16 | 'useSpaces' => true, |
||
17 | 'indentPerLevel' => 2, |
||
18 | 'indentConditions' => true, |
||
19 | ], |
||
20 | ], |
||
21 | 1 => [ |
||
22 | 'class' => 'RepeatingRValue' |
||
23 | ], |
||
24 | 2 => [ |
||
25 | 'class' => 'DeadCode', |
||
26 | ], |
||
27 | 3 => [ |
||
28 | 'class' => 'OperatorWhitespace', |
||
29 | ], |
||
30 | 4 => [ |
||
31 | 'class' => 'DuplicateAssignment', |
||
32 | ], |
||
33 | 5 => [ |
||
34 | 'class' => 'EmptySection', |
||
35 | ], |
||
36 | 6 => [ |
||
37 | 'class' => 'NestingConsistency', |
||
38 | 'parameters' => [ |
||
39 | 'commonPathPrefixThreshold' => 1, |
||
40 | ], |
||
41 | ], |
||
42 | ], |
||
43 | 'paths' => [], |
||
44 | 'filePatterns' => [], |
||
45 | ]; |
||
46 | |||
47 | /** |
||
48 | * DefaultConfigurationReader constructor. |
||
49 | */ |
||
50 | public function __construct() |
||
55 |