DefaultPreset::get()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 9.6666
c 0
b 0
f 0
cc 1
eloc 6
nc 1
nop 0
1
<?php
2
3
namespace SugaredRim\PHPMD;
4
5
class DefaultPreset
6
{
7
    public static function get()
8
    {
9
        $config = new \stdClass();
10
        $config->inputPath = 'src,tests';
11
        $config->reportFormat = 'text';
12
        $config->ruleSets = 'cleancode,codesize,controversial,design,naming,unusedcode';
13
14
        return $config;
15
    }
16
}
17