Testing   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 21
c 0
b 0
f 0
dl 0
loc 25
ccs 0
cts 13
cp 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 23 1
1
<?php
2
namespace Eduardokum\CorreiosPhp\Config;
3
4
use Eduardokum\CorreiosPhp\Contracts\Config\Config as ConfigContract;
5
use Eduardokum\CorreiosPhp\Entities\Sender;
6
7
class Testing extends Config implements ConfigContract
8
{
9
    public function __construct()
10
    {
11
        parent::__construct();
12
        $this->environment = 'testing';
13
        $this->cnpj = '34028316000103';
14
        $this->user = null;
15
        $this->password = null;
16
        $this->administrativeCode = '17000190';
17
        $this->contract = '9992157880';
18
        $this->postCard = '0067599079';
19
        $this->direction = '36';
20
21
        $this->setSender(Sender::create([
22
            'name' => 'Empresa Ltda',
23
            'street' => 'Avenida Central',
24
            'number' => '2370',
25
            'complement' => 'sala 1205,12° andar',
26
            'district' => 'Centro',
27
            'cep' => '70002900',
28
            'city' => 'Brasília',
29
            'state' => 'PR',
30
            'phone' => '6112345008',
31
            'mail' => '[email protected]',
32
        ]));
33
    }
34
}
35