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 ( 3b9d90...0b12c2 )
by Christian
02:41 queued 01:12
created

TourTest::testFromApi()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 11
rs 9.9
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\SetlistFm\Tests\Model;
11
12
use Core23\SetlistFm\Model\Tour;
13
use PHPUnit\Framework\TestCase;
14
15
class TourTest extends TestCase
16
{
17
    public function testFromApi(): void
18
    {
19
        $data = <<<'EOD'
20
                    {
21
                        "name" : "North American Tour 1964"
22
                    }
23
EOD;
24
25
        $tour = Tour::fromApi(json_decode($data, true));
26
        $this->assertSame('North American Tour 1964', $tour->getName());
27
    }
28
}
29