-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
phpstan-baseline.neon
54 lines (45 loc) · 1.67 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
parameters:
ignoreErrors:
-
message: "#^Parameter &\\$array by\\-ref type of method Esi\\\\Utility\\\\Arrays\\:\\:set\\(\\) expects array\\|ArrayAccess\\<mixed, mixed\\>, mixed given\\.$#"
count: 1
path: src/Arrays.php
-
message: "#^Variable property access on object\\.$#"
count: 1
path: src/Arrays.php
-
message: "#^Variable \\$i might not be defined\\.$#"
count: 1
path: src/Numbers.php
-
message: "#^Comparison operation \"\\<\" between int\\<1, max\\> and 1 is always false\\.$#"
count: 1
path: src/Strings.php
-
message: "#^Static method Esi\\\\Utility\\\\Environment\\:\\:iniSet\\(\\) invoked with 1 parameter, 2 required\\.$#"
count: 1
path: tests/src/EnvironmentTest.php
-
message: "#^Call to function array_sum\\(\\) on a separate line has no effect\\.$#"
count: 2
path: tests/src/FilesystemTest.php
-
message: "#^Call to function count\\(\\) on a separate line has no effect\\.$#"
count: 2
path: tests/src/FilesystemTest.php
-
message: "#^Parameter \\#2 \\$array of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) expects array\\|ArrayAccess\\<\\(int\\|string\\), mixed\\>, array\\<string, int\\>\\|int given\\.$#"
count: 1
path: tests/src/FilesystemTest.php
-
message: """
#^Call to deprecated method validJson\\(\\) of class Esi\\\\Utility\\\\Strings\\:
as of 2\\.0\\.0 and will be removed in v3\\.0$#
"""
count: 2
path: tests/src/StringsTest.php
-
message: "#^Parameter \\#1 \\$length of static method Esi\\\\Utility\\\\Strings\\:\\:randomBytes\\(\\) expects int\\<1, max\\>, \\-10 given\\.$#"
count: 1
path: tests/src/StringsTest.php