Failed Conditions
Push — master ( 28e23e...6697e2 )
by Yo
01:52
created

Mode::all()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 8
ccs 0
cts 8
cp 0
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 5
nc 1
nop 0
crap 2
1
<?php
2
namespace Yoanm\DefaultPhpRepository\Command;
3
4
/**
5
 * Class Mode
6
 */
7
class Mode
8
{
9
    const PHP_LIBRARY = 'library';
10
    const SYMFONY_LIBRARY = 'symfony-library';
11
    const PROJECT = 'project';
12
13
    /**
14
     * @return array All available modes
15
     */
16
    public static function all()
17
    {
18
        return [
19
            self::PHP_LIBRARY,
20
            self::SYMFONY_LIBRARY,
21
            self::PROJECT
22
        ];
23
    }
24
}
25