Passed
Push — master ( a01adc...886b6f )
by Tomasz
01:40
created

CommandCollectionSpec   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A it_is_initializable() 0 4 1
1
<?php
2
/**
3
 *
4
 * This file is part of the Aggrego.
5
 * (c) Tomasz Kunicki <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 *
10
 */
11
12
declare(strict_types = 1);
13
14
namespace spec\Aggrego\CommandLoginUnit\Shared\EventProcessor;
15
16
use Aggrego\CommandLogicUnit\EventProcessor\CommandCollection as CommandLogicUnitCommandCollection;
17
use Aggrego\CommandLoginUnit\Shared\EventProcessor\CommandCollection;
18
use PhpSpec\ObjectBehavior;
19
20
class CommandCollectionSpec extends ObjectBehavior
21
{
22
    function it_is_initializable()
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
23
    {
24
        $this->shouldHaveType(CommandCollection::class);
25
        $this->shouldImplement(CommandLogicUnitCommandCollection::class);
26
    }
27
}
28