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 ( ce1e69...5665d5 )
by SignpostMarv
04:49
created

ClassDoesNotImplementClassException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 16
ccs 8
cts 8
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 14 1
1
<?php
2
/**
3
* Base daft objects.
4
*
5
* @author SignpostMarv
6
*/
7
declare(strict_types=1);
8
9
namespace SignpostMarv\DaftObject;
10
11
use Throwable;
12
13
class ClassDoesNotImplementClassException extends IncorrectlyImplementedTypeError
14
{
15 1
    public function __construct(
16
        string $class,
17
        string $doesNotImplementClass,
18
        int $code = 0,
19
        Throwable $previous = null
20
    ) {
21 1
        parent::__construct(
0 ignored issues
show
Bug introduced by
The method __construct() does not exist on SignpostMarv\DaftObject\...tlyImplementedTypeError. It seems like you code against a sub-type of SignpostMarv\DaftObject\...tlyImplementedTypeError such as SignpostMarv\DaftObject\...ImplementClassException or SignpostMarv\DaftObject\...ZeroArrayCountException or SignpostMarv\DaftObject\...tlyImplementedTypeError or SignpostMarv\DaftObject\...ArrayOfStringsException. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

21
        parent::/** @scrutinizer ignore-call */ __construct(
Loading history...
22 1
            sprintf(
23 1
                '%s does not implement %s',
24 1
                $class,
25 1
                $doesNotImplementClass
26
            ),
27 1
            $code,
28 1
            $previous
29
        );
30 1
    }
31
}
32