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 ( 0bdc1f...42361c )
by Christian
10s
created

PeriodTest::testYear()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * (c) Christian Gripp <[email protected]>
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
namespace Core23\LastFm\Tests\Filter;
11
12
use Core23\LastFm\Filter\Period;
13
use PHPUnit\Framework\TestCase;
14
15
class PeriodTest extends TestCase
16
{
17
    public function testOverall(): void
18
    {
19
        static::assertSame('overall', Period::overall()->getValue());
20
    }
21
22
    public function testWeek(): void
23
    {
24
        static::assertSame('7day', Period::week()->getValue());
25
    }
26
27
    public function testMonth(): void
28
    {
29
        static::assertSame('1month', Period::month()->getValue());
30
    }
31
32
    public function testQuarterYear(): void
33
    {
34
        static::assertSame('3month', Period::quarterYear()->getValue());
35
    }
36
37
    public function testHalfYear(): void
38
    {
39
        static::assertSame('6month', Period::halfYear()->getValue());
40
    }
41
42
    public function testYear(): void
43
    {
44
        static::assertSame('12month', Period::year()->getValue());
45
    }
46
}
47