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.
Test Failed
Push — master ( bab0de...1a0dda )
by Haven
10:01
created

MatchesPassword::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace App\Validation\Rules;
4
5
use App\Models\User;
6
use Respect\Validation\Rules\AbstractRule;
7
/**
8
* 
9
*/
10
class MatchesPassword extends AbstractRule
11
{
12
	protected $password;
13
14
	public function __construct($password)
15
	{
16
		$this->password = $password;
17
18
	}
19
20
	public function validate($input)
21
	{
22
		return password_verify($input,$this->password);
23
	}
24
}