Skip to content

Commit 4272e24

Browse files
committed
Merge branch '3.2'
* 3.2: fixed CS fixed CS
2 parents 08efa49 + 22ea9f3 commit 4272e24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tester/CommandTester.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ private static function createStream(array $inputs)
155155
{
156156
$stream = fopen('php://memory', 'r+', false);
157157

158-
fputs($stream, implode(PHP_EOL, $inputs));
158+
fwrite($stream, implode(PHP_EOL, $inputs));
159159
rewind($stream);
160160

161161
return $stream;

Tests/Fixtures/Style/SymfonyStyle/command/interactive_command_1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
$output = new SymfonyStyle($input, $output);
1010
$stream = fopen('php://memory', 'r+', false);
1111

12-
fputs($stream, "Foo\nBar\nBaz");
12+
fwrite($stream, "Foo\nBar\nBaz");
1313
rewind($stream);
1414
$input->setStream($stream);
1515

0 commit comments

Comments
 (0)