-
Notifications
You must be signed in to change notification settings - Fork 40
/
phpstan.neon.dist
25 lines (22 loc) · 1.09 KB
/
phpstan.neon.dist
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
parameters:
level: max
paths:
- src
ignoreErrors:
# phpstan seems confused by passing a variable by reference to stream_select
-
message: '#^Negated boolean expression is always false.$#'
count: 1
path: src/RequestWriter.php
-
message: "#^Method Http\\\\Client\\\\Socket\\\\Client\\:\\:configure\\(\\) should return array\\{remote_socket\\: string\\|null, timeout\\: int, stream_context\\: resource, stream_context_options\\: array\\<string, mixed\\>, stream_context_param\\: array\\<string, mixed\\>, ssl\\: bool\\|null, write_buffer_size\\: int, ssl_method\\: int\\} but returns array\\.$#"
count: 1
path: src/Client.php
-
message: "#^Parameter \\#1 \\$options of function stream_context_create expects array\\|null, mixed given\\.$#"
count: 1
path: src/Client.php
-
message: "#^Parameter \\#2 \\$params of function stream_context_create expects array\\|null, mixed given\\.$#"
count: 1
path: src/Client.php