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.

Version   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getSupportedVersions() 0 8 1
1
<?php
2
/*
3
 * This file is part of the ReCaptcha Library.
4
 *
5
 * (c) Ilya Pokamestov <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
*/
10
11
namespace DS\Library\ReCaptcha\Http\Client\Guzzle;
12
13
/**
14
 * ReCaptcha library, Guzzle client supported versions enum.
15
 *
16
 * @author Ilya Pokamestov <[email protected]>
17
 *
18
 * Class Version
19
 * @package DS\Library\ReCaptcha\Http\Client\Guzzle
20
 */
21
final class Version
22
{
23
    const VERSION_SIX = 'six';
24
    const VERSION_FOUR_FIVE = 'four_or_five';
25
    const VERSION_THREE = 'three';
26
27
    public function getSupportedVersions()
28
    {
29
        return array(
30
            self::VERSION_THREE,
31
            self::VERSION_FOUR_FIVE,
32
            self::VERSION_SIX
33
        );
34
    }
35
}
36