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.
Passed
Branch master (3b9792)
by Tomasz
01:41
created

ConstantsEnumTest::testMembers()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 5
nc 1
nop 0
dl 0
loc 8
rs 10
c 0
b 0
f 0
1
<?php
2
declare(strict_types=1);
3
namespace Thunder\Platenum\Tests;
4
5
use Thunder\Platenum\Exception\PlatenumException;
6
use Thunder\Platenum\Enum\StaticEnumTrait;
7
8
/**
9
 * @author Tomasz Kowalczyk <[email protected]>
10
 */
11
final class ConstantsEnumTest extends AbstractTestCase
12
{
13
    public function testMembers(): void
14
    {
15
        $members = ['FIRST' => 1, 'SECOND' => 2];
16
        $trait = $this->makeConstantsTraitEnum($members);
17
        $extends = $this->makeConstantsExtendsEnum($members);
18
19
        $this->assertSame($members, $trait::getMembersAndValues());
20
        $this->assertSame($members, $extends::getMembersAndValues());
21
    }
22
}
23