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 ( 74ce6a...af33f1 )
by Joni
05:36
created

ES384Algorithm::_mdMethod()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
namespace JWX\JWS\Algorithm;
4
5
use JWX\JWA\JWA;
6
use JWX\JWK\Parameter\CurveParameter;
7
8
9
/**
10
 * Implements ECDSA using P-384 and SHA-384.
11
 *
12
 * @link https://tools.ietf.org/html/rfc7518#section-3.4
13
 */
14
class ES384Algorithm extends ECDSAAlgorithm
15
{
16 2
	protected function _curveName() {
17 2
		return CurveParameter::CURVE_P384;
18
	}
19
	
20 2
	protected function _mdMethod() {
21 2
		return "sha384";
22
	}
23
	
24 1
	public function algorithmParamValue() {
25 1
		return JWA::ALGO_ES384;
26
	}
27
}
28