GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

GatewayFactorySpec::it_is_initializable()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace spec\Yoqut\Component\Sms\Factory;
4
5
use PhpSpec\ObjectBehavior;
6
7
class GatewayFactorySpec extends ObjectBehavior
8
{
9
    function it_is_initializable()
10
    {
11
        $this->shouldHaveType('Yoqut\Component\Sms\Factory\GatewayFactory');
12
    }
13
14
    function it_implements_Yoqut_gateway_factory_interface()
15
    {
16
        $this->shouldImplement('Yoqut\Component\Sms\Factory\GatewayFactoryInterface');
17
    }
18
19
    function its_create_method_should_return_new_gateway(
20
        $host,
21
        $port,
22
        $interfaceVersion,
23
        $username,
24
        $password
25
    ) {
26
        $this->create(
27
            $host,
28
            $port,
29
            $interfaceVersion,
30
            $username,
31
            $password
32
        )->shouldHaveType('Yoqut\Component\Sms\Model\Gateway');
33
    }
34
}
35