Config::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 3
1
<?php
2
3
namespace SugaredRim\PHP\CodeSniffer;
4
5
class Config extends \PHP_CodeSniffer\Config
6
{
7
    use SugaredRimConfigAwareTrait;
8
9
    /**
10
     * @SuppressWarnings(PHPMD.BooleanArgumentFlag)
11
     */
12
    public function __construct(array $cliArgs = [], $dieOnUnknownArg = true, callable $finderByConfig = null)
13
    {
14
        $this->sugaredRimSetFinderByConfig($finderByConfig);
15
        parent::__construct($cliArgs, $dieOnUnknownArg);
16
    }
17
}
18