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 ( 7fd26f...360cbc )
by Sebastian
01:50
created

ExampleTest::test_it_matches_a_string()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
use PHPUnit\Framework\TestCase;
4
use Spatie\Snapshots\MatchesSnapshots;
5
6
class ExampleTest extends TestCase
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
7
{
8
    use MatchesSnapshots;
9
10
    public function test_it_matches_a_string()
11
    {
12
        $this->assertMatchesSnapshot('foo');
13
    }
14
15
    public function test_it_matches_an_array()
16
    {
17
        $this->assertMatchesSnapshot(['foo' => 'bar']);
18
    }
19
20
    public function test_it_matches_json()
21
    {
22
        $this->assertMatchesJsonSnapshot('{"foo":"bar"}');
23
    }
24
25
    public function test_it_matches_xml()
26
    {
27
        $this->assertMatchesXmlSnapshot('<foo>Bar</foo>');
28
    }
29
}
30