Skip to content

Commit c9ffc2e

Browse files
committed
FIX: Added new baseline
1 parent 4adfe76 commit c9ffc2e

1 file changed

Lines changed: 31 additions & 1 deletion

File tree

phpstan-baseline.neon

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ parameters:
2121
path: src/VCR/Util/SoapClient.php
2222

2323
-
24-
message: "#^Parameter \\#2 \\$length of function fread expects int\\<0, max\\>, int given\\.$#"
24+
message: "#^Parameter \\#2 \\$length of function fread expects int\\<1, max\\>, int given\\.$#"
2525
count: 1
2626
path: src/VCR/Util/StreamProcessor.php
2727

@@ -30,6 +30,11 @@ parameters:
3030
count: 1
3131
path: src/VCR/Util/StreamProcessor.php
3232

33+
-
34+
message: "#^Parameter \\#3 \\$microseconds of function stream_set_timeout expects int, int\\|null given\\.$#"
35+
count: 1
36+
path: src/VCR/Util/StreamProcessor.php
37+
3338
-
3439
message: "#^Cannot call method record\\(\\) on VCR\\\\Cassette\\|null\\.$#"
3540
count: 1
@@ -55,6 +60,31 @@ parameters:
5560
count: 1
5661
path: tests/Unit/RequestTest.php
5762

63+
-
64+
message: "#^Parameter \\#1 \\$stream of function fclose expects resource, resource\\|false given\\.$#"
65+
count: 1
66+
path: tests/Unit/Util/StreamProcessorTest.php
67+
68+
-
69+
message: "#^Parameter \\#1 \\$stream of function stream_set_blocking expects resource, resource\\|false given\\.$#"
70+
count: 1
71+
path: tests/Unit/Util/StreamProcessorTest.php
72+
73+
-
74+
message: "#^Parameter \\#1 \\$stream of function stream_set_read_buffer expects resource, resource\\|false given\\.$#"
75+
count: 1
76+
path: tests/Unit/Util/StreamProcessorTest.php
77+
78+
-
79+
message: "#^Parameter \\#1 \\$stream of function stream_set_timeout expects resource, resource\\|false given\\.$#"
80+
count: 2
81+
path: tests/Unit/Util/StreamProcessorTest.php
82+
83+
-
84+
message: "#^Parameter \\#1 \\$stream of function stream_set_write_buffer expects resource, resource\\|false given\\.$#"
85+
count: 1
86+
path: tests/Unit/Util/StreamProcessorTest.php
87+
5888
-
5989
message: "#^Call to an undefined method Symfony\\\\Contracts\\\\EventDispatcher\\\\EventDispatcherInterface\\:\\:addListener\\(\\)\\.$#"
6090
count: 1

0 commit comments

Comments
 (0)