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.

VerbosityLevelMap   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 20
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getVerbosityLevelMap() 0 4 1
1
<?php
2
/**
3
 * @package: chapi
4
 *
5
 * @author:  msiebeneicher
6
 * @since:   2015-08-23
7
 *
8
 * @link:    https://github.com/msiebeneicher/chapi/issues/18
9
 */
10
11
namespace Chapi\Entity\Logger;
12
13
use Monolog\Logger;
14
use Symfony\Component\Console\Output\OutputInterface;
15
16
class VerbosityLevelMap
17
{
18
    /**
19
     * @var array
20
     */
21
    public static $verbosityLevelMap = array(
22
        OutputInterface::VERBOSITY_NORMAL => Logger::NOTICE,
23
        OutputInterface::VERBOSITY_VERBOSE => Logger::INFO,
24
        OutputInterface::VERBOSITY_VERY_VERBOSE => Logger::DEBUG,
25
        OutputInterface::VERBOSITY_DEBUG => Logger::DEBUG,
26
    );
27
28
    /**
29
     * @return array
30
     */
31
    public static function getVerbosityLevelMap()
32
    {
33
        return self::$verbosityLevelMap;
34
    }
35
}
36