forked from php-vcr/php-vcr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
61 lines (50 loc) · 2.3 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
56
57
58
59
60
61
parameters:
ignoreErrors:
-
message: "#^Expression on left side of \\?\\? is not nullable\\.$#"
count: 1
path: src/VCR/Util/HttpUtil.php
-
message: "#^Method VCR\\\\Util\\\\HttpUtil\\:\\:parseHeaders\\(\\) should return array\\<string, string\\> but returns array\\<array\\<int, string\\>\\|string\\>\\.$#"
count: 1
path: src/VCR/Util/HttpUtil.php
-
message: "#^Parameter \\#1 \\$string of function substr expects string, string\\|false given\\.$#"
count: 1
path: src/VCR/Util/HttpUtil.php
-
message: "#^Method VCR\\\\Util\\\\SoapClient\\:\\:realDoRequest\\(\\) should return string but returns string\\|null\\.$#"
count: 1
path: src/VCR/Util/SoapClient.php
-
message: "#^Parameter \\#2 \\$length of function fread expects int\\<0, max\\>, int given\\.$#"
count: 1
path: src/VCR/Util/StreamProcessor.php
-
message: "#^Parameter \\#2 \\$size of function ftruncate expects int\\<0, max\\>, int given\\.$#"
count: 1
path: src/VCR/Util/StreamProcessor.php
-
message: "#^Cannot call method record\\(\\) on VCR\\\\Cassette\\|null\\.$#"
count: 1
path: src/VCR/Videorecorder.php
-
message: "#^Parameter \\#3 \\$cassette of class VCR\\\\Event\\\\BeforeRecordEvent constructor expects VCR\\\\Cassette, VCR\\\\Cassette\\|null given\\.$#"
count: 1
path: src/VCR/Videorecorder.php
-
message: "#^Cannot call method toArray\\(\\) on VCR\\\\Response\\|null\\.$#"
count: 5
path: tests/Unit/CassetteTest.php
-
message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertCount\\(\\) with arguments 22, array\\{url\\: string, content_type\\: string\\|null, http_code\\: int, header_size\\: int, request_size\\: int, filetime\\: int, ssl_verify_result\\: int, redirect_count\\: int, \\.\\.\\.\\} and 'curl_getinfo\\(\\)…' will always evaluate to false\\.$#"
count: 1
path: tests/Unit/LibraryHooks/CurlHookTest.php
-
message: "#^Parameter \\#2 \\$requestMatchers of method VCR\\\\Request\\:\\:matches\\(\\) expects array\\<callable\\(\\)\\: mixed\\>, array\\{array\\{'some', 'method'\\}\\} given\\.$#"
count: 1
path: tests/Unit/RequestTest.php
-
message: "#^Call to an undefined method Symfony\\\\Contracts\\\\EventDispatcher\\\\EventDispatcherInterface\\:\\:addListener\\(\\)\\.$#"
count: 1
path: tests/Unit/VCRTest.php