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 Setup Failed
Push — master ( 500279...2f8c13 )
by
unknown
02:35
created

User::__construct()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 2
nc 2
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * This file is part of the O2System Framework package.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 *
8
 * @author         Steeve Andrian Salim
9
 * @copyright      Copyright (c) Steeve Andrian Salim
10
 */
11
12
// ------------------------------------------------------------------------
13
14
namespace O2System\Security\Authentication\Oauth;
15
16
// ------------------------------------------------------------------------
17
18
use O2System\Psr\Patterns\Structural\Repository\AbstractRepository;
19
20
/**
21
 * Class User
22
 * @package O2System\Security\Authentication\Oauth\Resource\Request
23
 */
24
class User extends AbstractRepository
25
{
26
    /**
27
     * User::__construct
28
     *
29
     * @param array $account
30
     */
31
    public function __construct(array $account)
32
    {
33
        foreach ($account as $offset => $value) {
34
            $this->store($offset, $value);
35
        }
36
    }
37
}