-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
phpstan-baseline.neon
37 lines (30 loc) · 1.05 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
parameters:
ignoreErrors:
-
message: "#^File is missing a \"declare\\(strict_types\\=1\\)\" declaration\\.$#"
count: 1
path: src/Sanitization.php
-
message: "#^Constructor in PhpSanitization\\\\PhpSanitization\\\\Sanitization has parameter \\$data with default value\\.$#"
count: 1
path: src/Sanitization.php
-
message: "#^Only numeric types are allowed in \\+, int\\<0, max\\>\\|false given on the left side\\.$#"
count: 1
path: src/Sanitization.php
-
message: "#^Only booleans are allowed in &&, mixed given on the left side\\.$#"
count: 1
path: src/Sanitization.php
-
message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#"
count: 1
path: src/Sanitization.php
-
message: "#^Method PhpSanitization\\\\PhpSanitization\\\\Sanitization\\:\\:isValid\\(\\) has parameter \\$flag with no typehint specified\\.$#"
count: 1
path: src/Sanitization.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$filter$#"
count: 1
path: src/Sanitization.php