forked from php-vcr/php-vcr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
56 lines (46 loc) · 1.88 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
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: "#^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