Completed
Push — master ( d08a84...aa40a2 )
by Eduardo
05:35
created

Testing   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 24 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 = '08082650';
17
        $this->contract = '9912208555';
18
        $this->postCard = '0057018901';
19
        $this->serviceCode = '41076';
20
        $this->direction = '36';
21
22
        $this->setSender(Sender::create([
23
            'name' => 'Empresa Ltda',
24
            'street' => 'Avenida Central',
25
            'number' => '2370',
26
            'complement' => 'sala 1205,12° andar',
27
            'district' => 'Centro',
28
            'cep' => '70002900',
29
            'city' => 'Brasília',
30
            'state' => 'PR',
31
            'phone' => '6112345008',
32
            'mail' => '[email protected]',
33
        ]));
34
    }
35
}
36