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.

Issues (18)

src/Jobs/RetryChecker.php (1 issue)

Severity
1
<?php
2
3
namespace ProtoneMedia\ApiHealth\Jobs;
4
5
use Illuminate\Bus\Queueable;
6
use Illuminate\Contracts\Queue\ShouldQueue;
7
use Illuminate\Foundation\Bus\Dispatchable;
8
use Illuminate\Queue\InteractsWithQueue;
9
use Illuminate\Queue\SerializesModels;
10
use ProtoneMedia\ApiHealth\Checkers\Checker;
11
use ProtoneMedia\ApiHealth\Checkers\Executor;
12
use ProtoneMedia\ApiHealth\Storage\CheckerState;
13
14
class RetryChecker implements ShouldQueue
15
{
16
    use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
0 ignored issues
show
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by ProtoneMedia\ApiHealth\Jobs\RetryChecker: $id, $relations, $class, $keyBy
Loading history...
17
18
    public $checker;
19
20
    /**
21
     * Create a new job instance.
22
     *
23
     * @return void
24
     */
25
    public function __construct(Checker $checker)
26
    {
27
        $this->checker = $checker;
28
    }
29
30
    /**
31
     * Execute the job.
32
     *
33
     * @return void
34
     */
35
    public function handle()
36
    {
37
        (new CheckerState($this->checker))->addRetryTimestamp();
38
39
        (new Executor($this->checker))->handle();
40
    }
41
}
42