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
Pull Request — 3.x (#81)
by Jindřich
01:39
created

WebServiceNotFoundException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 7
ccs 0
cts 7
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
crap 2
1
<?php
2
3
declare(strict_types=1);
4
5
6
namespace Skautis\Wsdl;
7
8
9
use Skautis\Exception;
10
use Throwable;
11
12
class WebServiceNotFoundException
13
  extends
14
  \RuntimeException
15
  implements
16
  Exception
17
{
18
19
  public function __construct(
20
    $name,
21
    $code = 0,
22
    Throwable $previous = null
23
  ) {
24
    parent::__construct($message, $code, $previous);
0 ignored issues
show
Bug introduced by
The variable $message does not exist. Did you forget to declare it?

This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.

Loading history...
25
  }
26
27
}