-
-
Notifications
You must be signed in to change notification settings - Fork 53
/
phpstan-baseline.neon
31 lines (26 loc) · 925 Bytes
/
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
parameters:
ignoreErrors:
-
message: "#^Argument of an invalid type Closure supplied for foreach, only iterables are supported\\.$#"
count: 1
path: src/Assertions.php
-
message: "#^Method Spectator\\\\Assertions\\:\\:expectsFalse\\(\\) invoked with 2 parameters, 0 required\\.$#"
count: 5
path: src/Assertions.php
-
message: "#^Method Spectator\\\\Assertions\\:\\:expectsTrue\\(\\) invoked with 3 parameters, 0 required\\.$#"
count: 2
path: src/Assertions.php
-
message: "#^Method Spectator\\\\Assertions\\:\\:runAssertion\\(\\) invoked with 1 parameter, 0 required\\.$#"
count: 7
path: src/Assertions.php
-
message: "#^Parameter \\#2 \\$array of function implode expects array\\|null, Closure given\\.$#"
count: 1
path: src/Assertions.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Exceptions/SchemaValidationException.php