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.
Passed
Push — master ( 6f8b1f...142a48 )
by James
25:51 queued 11:45
created

app/Events/AdminRequestedTestMessage.php (1 issue)

Severity
1
<?php
2
3
/**
4
 * AdminRequestedTestMessage.php
5
 * Copyright (c) 2018 [email protected]
6
 *
7
 * This file is part of Firefly III.
8
 *
9
 * Firefly III is free software: you can redistribute it and/or modify
10
 * it under the terms of the GNU General Public License as published by
11
 * the Free Software Foundation, either version 3 of the License, or
12
 * (at your option) any later version.
13
 *
14
 * Firefly III is distributed in the hope that it will be useful,
15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
 * GNU General Public License for more details.
18
 *
19
 * You should have received a copy of the GNU General Public License
20
 * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
21
 */
22
23
declare(strict_types=1);
24
25
namespace FireflyIII\Events;
26
27
use FireflyIII\User;
28
use Illuminate\Queue\SerializesModels;
29
use Log;
30
31
/**
32
 * Class AdminRequestedTestMessage.
33
 *
34
 * @codeCoverageIgnore
35
 */
36
class AdminRequestedTestMessage extends Event
37
{
38
    use SerializesModels;
0 ignored issues
show
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by FireflyIII\Events\AdminRequestedTestMessage: $id, $relations, $class, $connection, $keyBy
Loading history...
39
40
    /** @var string The users IP address */
41
    public $ipAddress;
42
    /** @var User The user */
43
    public $user;
44
45
    /**
46
     * Create a new event instance.
47
     *
48
     * @param User   $user
49
     * @param string $ipAddress
50
     */
51
    public function __construct(User $user, string $ipAddress)
52
    {
53
        Log::debug(sprintf('Triggered AdminRequestedTestMessage for user #%d (%s) and IP %s!', $user->id, $user->email, $ipAddress));
54
        $this->user      = $user;
55
        $this->ipAddress = $ipAddress;
56
    }
57
}
58