Test Setup Failed
Branch dev-master (287e12)
by Petr
04:25
created

YourMembershipClient   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 40
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A buildBaseRequest() 0 3 1
1
<?php
2
3
namespace P2A\YourMembership;
4
5
class YourMembershipClient {
6
7
    public static $API_VERSION = '1.62';
8
    public static $BASE_URL = 'https://api.yourmembership.com';
9
10
    /**
11
     * [$callID description]
12
     * @var [type]
13
     */
14
    private $callID;
0 ignored issues
show
Unused Code introduced by
The property $callID is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
15
16
    /**
17
     * [$sessionID description]
18
     * @var [type]
19
     */
20
    private $sessionID;
0 ignored issues
show
Unused Code introduced by
The property $sessionID is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
21
22
    /**
23
     * [$apiKey description]
24
     * @var [type]
25
     */
26
    private $apiKey;
0 ignored issues
show
Unused Code introduced by
The property $apiKey is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
27
28
29
    public function __construct() {
30
31
    }
32
33
    /**
34
     * Builds Base Request For YourMembership API
35
     * @method buildBaseRequest
36
     * @author PA
37
     * @date   2017-01-09
38
     * @return [type]           [description]
0 ignored issues
show
Documentation introduced by
The doc-type [type] could not be parsed: Unknown type name "" at position 0. [(view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
39
     */
40
    private function buildBaseRequest() {
0 ignored issues
show
Unused Code introduced by
This method is not used, and could be removed.
Loading history...
41
42
    }
43
44
}
45