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 ( 9e2d47...99c276 )
by Freek
14:02 queued 12:49
created

TailCommandTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A it_will_throw_an_exception_if_the_given_environment_is_not_configured() 0 8 1
1
<?php
2
3
namespace Spatie\Tail\Tests;
4
5
class TailCommandTest extends TestCase
0 ignored issues
show
Bug introduced by
There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: artisan, be, call, seed
Loading history...
6
{
7
    /** @test */
8
    public function it_will_throw_an_exception_if_the_given_environment_is_not_configured()
9
    {
10
        $this->expectExceptionMessageMatches('/^No configuration set/');
0 ignored issues
show
Bug introduced by
The method expectExceptionMessageMatches() does not seem to exist on object<Spatie\Tail\Tests\TailCommandTest>.

This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.

This is most likely a typographical error or the method has been renamed.

Loading history...
11
12
        $this->artisan('tail', [
13
            'environment' => 'non-existing-environment',
14
        ]);
15
    }
16
}
17