Passed
Pull Request — master (#6)
by Dmitriy
58:09 queued 43:13
created

DotEnv   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 15
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A hasParams() 0 3 1
A hasEnv() 0 3 1
A hasConstants() 0 3 1
1
<?php
2
3
namespace Yiisoft\Composer\Config\Configs;
4
5
/**
6
 * DotEnv class represents output configuration file with ENV values.
7
 */
8
class DotEnv extends Config
9
{
10
    public function hasEnv(): bool
11
    {
12
        return true;
13
    }
14
15
    public function hasConstants(): bool
16
    {
17
        return true;
18
    }
19
20
    public function hasParams(): bool
21
    {
22
        return true;
23
    }
24
}
25