PaginatedKnpLabsRepoFacadeSpec   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 2
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 13
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A it_is_initializable() 0 5 1
A let() 0 4 1
1
<?php
2
3
namespace spec\DevBoardLib\GithubApiFacade\Repo;
4
5
use DevBoardLib\GithubCore\Repo\GithubRepo;
6
use Github\Client;
7
use PhpSpec\ObjectBehavior;
8
use Prophecy\Argument;
9
10
class PaginatedKnpLabsRepoFacadeSpec extends ObjectBehavior
11
{
12
    public function it_is_initializable()
13
    {
14
        $this->shouldHaveType('DevBoardLib\GithubApiFacade\Repo\PaginatedKnpLabsRepoFacade');
15
        $this->shouldHaveType('DevBoardLib\GithubApiFacade\Repo\RepoFacade');
16
    }
17
18
    public function let(Client $client, GithubRepo $githubRepo)
19
    {
20
        $this->beConstructedWith($client, $githubRepo);
21
    }
22
}
23