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.

CheckerHasFailed   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 35
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace ProtoneMedia\ApiHealth\Events;
4
5
use ProtoneMedia\ApiHealth\Checkers\Checker;
6
use ProtoneMedia\ApiHealth\Checkers\CheckerHasFailed as CheckerHasFailedException;
7
8
class CheckerHasFailed
9
{
10
    /**
11
     * The checker.
12
     *
13
     * @var \ProtoneMedia\ApiHealth\Checkers\Checker
14
     */
15
    public $checker;
16
17
    /**
18
     * The exception.
19
     *
20
     * @var \ProtoneMedia\ApiHealth\Checkers\CheckerHasFailed
21
     */
22
    public $exception;
23
24
    /**
25
     * The failed data.
26
     *
27
     * @var array
28
     */
29
    public $failedData;
30
31
    /**
32
     * Creates a new instance of this event.
33
     *
34
     * @param \ProtoneMedia\ApiHealth\Checkers\Checker  $checker
35
     * @param \ProtoneMedia\ApiHealth\Checkers\CheckerHasFailed  $exception
36
     * @param array  $failedData
37
     */
38
    public function __construct(Checker $checker, CheckerHasFailedException $exception, array $failedData)
39
    {
40
        $this->checker    = $checker;
41
        $this->exception  = $exception;
42
        $this->failedData = $failedData;
43
    }
44
}
45