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 Failed
Push — master ( 405cf3...79c9ba )
by Joni
04:48
created

AuthenticationInfoAttributeValue::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 5
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
crap 1
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace Sop\X509\AttributeCertificate\Attribute;
6
7
use Sop\X509\GeneralName\GeneralName;
8
9
/**
10
 * Implements value for 'Service Authentication Information' attribute.
11
 *
12
 * @see https://tools.ietf.org/html/rfc5755#section-4.4.1
13
 */
14
class AuthenticationInfoAttributeValue extends SvceAuthInfo
15
{
16
    const OID = '1.3.6.1.5.5.7.10.1';
17
18
    /**
19
     * Constructor.
20
     *
21
     * @param GeneralName $service
22
     * @param GeneralName $ident
23
     * @param null|string $auth_info
24
     */
25 4
    public function __construct(GeneralName $service, GeneralName $ident,
26
        ?string $auth_info = null)
27
    {
28 4
        parent::__construct($service, $ident, $auth_info);
29 4
        $this->_oid = self::OID;
30 4
    }
31
}
32