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 ( 37b02e...ebbbe1 )
by James
08:59
created

app/Events/RequestedNewPassword.php (1 issue)

Severity
1
<?php
2
declare(strict_types=1);
3
/**
4
 * RequestedNewPassword.php
5
 * Copyright (c) 2017 [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
namespace FireflyIII\Events;
24
25
use FireflyIII\User;
26
use Illuminate\Queue\SerializesModels;
27
28
/**
29
 * Class RequestedNewPassword.
30
 */
31
class RequestedNewPassword extends Event
32
{
33
    use SerializesModels;
0 ignored issues
show
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by FireflyIII\Events\RequestedNewPassword: $id, $class, $connection, $relations
Loading history...
34
35
    /**
36
     * @var string
37
     */
38
    public $ipAddress;
39
    /**
40
     * @var string
41
     */
42
    public $token;
43
    /**
44
     * @var User
45
     */
46
    public $user;
47
48
    /**
49
     * Create a new event instance. This event is triggered when a users tries to reset his or her password.
50
     *
51
     * @param User   $user
52
     * @param string $token
53
     * @param string $ipAddress
54
     */
55
    public function __construct(User $user, string $token, string $ipAddress)
56
    {
57
        $this->user      = $user;
58
        $this->token     = $token;
59
        $this->ipAddress = $ipAddress;
60
    }
61
}
62