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.

HS512Test::testCanGetInstance()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Gandung\JWT\Tests\Algorithm\HMAC;
4
5
use PHPUnit\Framework\TestCase;
6
use Gandung\JWT\Algorithm\HMAC\HS512;
7
8
/**
9
 * @author Paulus Gandung Prakosa <[email protected]>
10
 */
11
class HS512Test extends TestCase
12
{
13
    public function testCanGetInstance()
14
    {
15
        $this->assertInstanceOf(HS512::class, new HS512);
16
    }
17
18
    public function testCanGetAlgorithm()
19
    {
20
        $hs512 = new HS512;
21
        $this->assertEquals('sha512', $hs512->getAlgorithm());
22
    }
23
24
    public function testCanGetAlgorithmAlias()
25
    {
26
        $hs512 = new HS512;
27
        $this->assertEquals(\Gandung\JWT\Token\Algorithm::HS512, $hs512->getAlgorithmAlias());
28
    }
29
}
30