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.
Completed
Push — master ( 584c7d...11b52a )
by Joni
04:10
created

X509URLParameter   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 11
ccs 3
cts 3
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace JWX\JWK\Parameter;
4
5
6
/**
7
 * Implements 'X.509 URL' parameter.
8
 *
9
 * @link https://tools.ietf.org/html/rfc7517#section-4.6
10
 */
11
class X509URLParameter extends JWKParameter
12
{
13
	/**
14
	 * Constructor
15
	 *
16
	 * @param string $uri
17
	 */
18 1
	public function __construct($uri) {
19 1
		parent::__construct(self::PARAM_X509_URL, (string) $uri);
20 1
	}
21
}
22