Skip to content

Commit 081aa8e

Browse files
qkdreyerbukka
andauthored
chore: add @bukka code review
Co-authored-by: Jakub Zelenka <bukka@php.net>
1 parent 1055c12 commit 081aa8e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ext/standard/tests/streams/gh15155.phpt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ class DummyWrapper
99

1010
public static function register(): void
1111
{
12-
\stream_wrapper_register('dummy', self::class);
12+
stream_wrapper_register('dummy', self::class);
1313
}
1414

1515
public function stream_open(string $path, string $mode, int $options, ?string &$opened_path): bool
1616
{
17-
$options = \stream_context_get_options($this->context);
17+
$options = stream_context_get_options($this->context);
1818
var_dump($options['dummy']['foo']);
1919

2020
return true;
@@ -34,9 +34,9 @@ class DummyWrapper
3434
}
3535

3636
DummyWrapper::register();
37-
\file_get_contents('dummy://foo', false, \stream_context_create(['dummy' => ['foo' => 'bar']]));
38-
\file_get_contents('php://filter/resource=dummy://foo', false, \stream_context_create(['dummy' => ['foo' => 'bar']]));
37+
file_get_contents('dummy://foo', false, \stream_context_create(['dummy' => ['foo' => 'bar']]));
38+
file_get_contents('php://filter/resource=dummy://foo', false, \stream_context_create(['dummy' => ['foo' => 'bar']]));
3939
?>
4040
--EXPECT--
41-
string(288) "bar"
42-
string(288) "bar"
41+
string(3) "bar"
42+
string(3) "bar"

0 commit comments

Comments
 (0)