-
-
Notifications
You must be signed in to change notification settings - Fork 150
/
phpstan-baseline.neon
41 lines (34 loc) · 1.27 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
parameters:
ignoreErrors:
-
message: "#^Cannot cast mixed to int\\.$#"
count: 1
path: src/HOTP.php
-
message: "#^Method OTPHP\\\\OTP\\:\\:generateSecret\\(\\) should return non\\-empty\\-string but returns string\\.$#"
count: 1
path: src/OTP.php
-
message: "#^Variable property access on \\$this\\(OTPHP\\\\OTP\\)\\.$#"
count: 1
path: src/OTP.php
-
message: "#^Parameter \\#2 \\$host of class OTPHP\\\\Url constructor expects non\\-empty\\-string, string given\\.$#"
count: 1
path: src/Url.php
-
message: "#^Parameter \\#3 \\$path of class OTPHP\\\\Url constructor expects non\\-empty\\-string, string given\\.$#"
count: 1
path: src/Url.php
-
message: "#^Parameter \\#4 \\$secret of class OTPHP\\\\Url constructor expects non\\-empty\\-string, array\\|string given\\.$#"
count: 1
path: src/Url.php
-
message: "#^Parameter \\#5 \\$query of class OTPHP\\\\Url constructor expects array\\<non\\-empty\\-string, mixed\\>, array\\<int\\|string, array\\|string\\> given\\.$#"
count: 1
path: src/Url.php
-
message: "#^Parameter \\#1 \\$dateTime of method OTPHP\\\\Test\\\\ClockMock\\:\\:setDateTime\\(\\) expects DateTimeImmutable\\|null, DateTimeImmutable\\|false given\\.$#"
count: 5
path: tests/TOTPTest.php