DummyClient   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
3
namespace CarlosIO\Geckoboard\Tests;
4
5
use CarlosIO\Geckoboard\Client;
6
7
class DummyClient extends Client
8
{
9
    public function __construct()
10
    {
11
        parent::__construct();
12
13
        $client = \Mockery::mock('stdClass');
14
        $client->shouldReceive('post->send')->once();
15
        $this->client = $client;
16
    }
17
}
18