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.

Exception::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: pedro
5
 * Date: 16/02/16
6
 * Time: 11:11
7
 */
8
9
namespace Classes\AdapterConfig;
10
11
/**
12
 * @author Pedro Alarcao <[email protected]>
13
 * @link https://github.com/pedro151/orm-generator
14
 */
15
class Exception extends \Exception
16
{
17
    private $msg = "As configuracoes a seguir sao obrigatorias: \033[0;31m%value%\033[0m\n";
18
19
    public function __construct ( $array , $code = 0 )
20
    {
21
        $attribs = implode ( ', ' , array_keys ( $array ) );
22
        parent::__construct ( str_replace ( "%value%" , $attribs , $this->msg ) , (int) $code );
23
    }
24
}