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::request()   A
last analyzed

Complexity

Conditions 2
Paths 2

Size

Total Lines 20

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
nc 2
nop 1
dl 0
loc 20
rs 9.6
c 0
b 0
f 0
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