We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02d43ac commit a3c98cdCopy full SHA for a3c98cd
src/StreamTest.php
@@ -167,14 +167,19 @@ public function testRewindThrowsException(): void
167
{
168
$this->expectException(UnavailableFeature::class);
169
170
- $stream = Stream::from(STDIN);
+ /** @var resource $filePointer */
171
+ $filePointer = fopen('php://stdin', 'r');
172
+ $stream = Stream::from($filePointer);
173
$stream->rewind();
174
}
175
176
public function testCreateStreamWithNonSeekableStream(): void
177
178
179
+
180
181
182
183
$stream->seek(3);
184
185
0 commit comments