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.

Test   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A request() 0 20 2
1
<?php
2
3
namespace App\Controllers\API;
4
5
/**
6
 * API Test Controller Class.
7
 *
8
 * @author Vijay Mahrra <[email protected]>
9
 * @copyright (c) Copyright 2015 Vijay Mahrra
10
 * @license GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html)
11
 */
12
class Test extends API
13
{
14
    /**
15
     * @param \Base $f3
16
     * @return void
17
     */
18
    public function request($f3)
19
    {
20
        if (empty($this->validateAccess())) {
21
            //return;
22
        }
23
        $this->data += [
24
            'name'        => 'globals',
25
            'description' => 'Global Variables',
26
            'globals'     => [
27
                'SERVER'  => $f3->get('SERVER'),
28
                'ENV'     => $f3->get('ENV'),
29
                'COOKIE'  => $f3->get('COOKIE'),
30
                'SESSION' => $f3->get('SESSION'),
31
                'REQUEST' => $f3->get('REQUEST'),
32
                'GET'     => $f3->get('GET'),
33
                'POST'    => $f3->get('POST'),
34
                'FILES'   => $f3->get('FILES'),
35
            ],
36
        ];
37
    }
38
}
39