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
Pull Request — master (#8)
by Brent
02:44
created

OutlinerTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A outline_renders_correctly() 0 7 1
1
<?php
2
3
namespace Spatie\CodeOutline\Tests;
4
5
use PHPUnit\Framework\TestCase;
6
use Spatie\CodeOutline\Parser\FileParser;
7
use Spatie\CodeOutline\Renderer\Renderer;
8
9
class OutlinerTest extends TestCase
10
{
11
    /** @test */
12
    public function outline_renders_correctly()
13
    {
14
        $parser = new FileParser(__DIR__ . '/data/outline.php');
15
16
        $renderer = new Renderer($parser->getParsed());
17
18
        $this->assertEquals(file_get_contents(__DIR__ . '/data/output.html'), $renderer->getRendered());
19
    }
20
}
21