forked from Spomky-Labs/otphp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
30 lines (29 loc) · 1018 Bytes
/
phpstan.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
parameters:
level: max
paths:
- src
- tests
ignoreErrors:
-
message: '#Variable property access on \$this\(OTPHP\\OTP\)\.#'
path: src/ParameterTrait.php
count: 1
-
message: '#^Method OTPHP\\OTP::generateSecret\(\) should return non-empty-string but returns string\.$#'
path: src/OTP.php
count: 1
-
message: '#^Cannot cast mixed to int\.$#'
path: src/HOTP.php
count: 1
-
message: '#^Parameter \#\d .* of class OTPHP\\Url constructor expects .*\, .* given\.$#'
path: src/Url.php
count: 2
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/ekino/phpstan-banned-code/extension.neon