Completed
Pull Request — master (#1)
by Roberto
02:43
created

DistritoFederal   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 20
ccs 0
cts 7
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
3
namespace Brazanation\States;
4
5
class DistritoFederal
6
{
7
    const CODE = 53;
8
9
    const FULL_NAME = 'Distrito Federal';
10
11
    const SHORT_NAME = 'DF';
12
13
    const TIMEZONE = 'America/Sao_Paulo';
14
15
    public function __construct()
16
    {
17
        parent::__construct(
18
            self::FULL_NAME,
19
            self::SHORT_NAME,
20
            self::CODE,
21
            self::TIMEZONE
22
        );
23
    }
24
}
25