-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
56 lines (47 loc) · 1.8 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
parameters:
ignoreErrors:
-
message: '#^Parameter \#1 \$search of function str_replace expects array\<string\>\|string, mixed given\.$#'
identifier: argument.type
count: 1
path: lib/ErrorHandler.php
-
message: '#^Parameter \#2 \$array of function implode expects array\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: lib/ErrorHandler.php
-
message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: lib/ErrorHandler.php
-
message: '#^Expression "\$arrayPerVerificaErrori\[''undefined_index''\]" on a separate line does not do anything\.$#'
identifier: expr.resultUnused
count: 1
path: tests/ErrorHandlerTest.php
-
message: '#^Expression "@\$arrayPerVerificaErrori\[''no_exception_thrown_on_undefined_index_now''\]" on a separate line does not do anything\.$#'
identifier: expr.resultUnused
count: 1
path: tests/ErrorHandlerTest.php
-
message: '#^Offset ''no_exception_thrown_on_undefined_index_now'' does not exist on array\{\}\.$#'
identifier: offsetAccess.notFound
count: 1
path: tests/ErrorHandlerTest.php
-
message: '#^Offset ''undefined_index'' does not exist on array\{\}\.$#'
identifier: offsetAccess.notFound
count: 1
path: tests/ErrorHandlerTest.php
-
message: '#^Parameter \#1 \$needle of static method PHPUnit\\Framework\\Assert\:\:assertStringContainsString\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: tests/ErrorHandlerTest.php
-
message: '#^Parameter \#1 \$needle of static method PHPUnit\\Framework\\Assert\:\:assertStringNotContainsString\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: tests/ErrorHandlerTest.php