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.
Completed
Push — master ( c73f55...ffb2cb )
by Ramy
05:33
created

Output   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 3
Bugs 1 Features 0
Metric Value
wmc 1
c 3
b 1
f 0
lcom 0
cbo 0
dl 0
loc 29
ccs 4
cts 4
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
generate() 0 1 ?
1
<?php
2
3
namespace Talal\Exporter\Output;
4
5
abstract class Output
6
{
7
    /**
8
     * @var array
9
     */
10
    protected $keys = [];
11
12
    /**
13
     * @var array
14
     */
15
    protected $values = [];
16
17
    /**
18
     * @param array $keys
19
     * @param array $values
20
     */
21 18
    public function __construct(array $keys, array $values)
22
    {
23 18
        $this->keys = $keys;
24 18
        $this->values = $values;
25 18
    }
26
27
    /**
28
     * Generate a capable web server format.
29
     *
30
     * @return string
31
     */
32
    abstract public function generate();
33
}
34