From 5d433cab96c973b9a1a4ec20edfdcc7360d32799 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Fri, 12 Feb 2016 18:39:33 +0100 Subject: [PATCH] [VarDumper] Fix tests on PHP 7 --- .../Component/VarDumper/Tests/CliDumperTest.php | 14 ++++---------- .../Component/VarDumper/Tests/HtmlDumperTest.php | 7 ++----- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/src/Symfony/Component/VarDumper/Tests/CliDumperTest.php b/src/Symfony/Component/VarDumper/Tests/CliDumperTest.php index 3e19dc6f2e..8893b6b8d0 100644 --- a/src/Symfony/Component/VarDumper/Tests/CliDumperTest.php +++ b/src/Symfony/Component/VarDumper/Tests/CliDumperTest.php @@ -69,15 +69,12 @@ array:24 [ 7 => b"é\\x00" "[]" => [] "res" => stream resource {@{$res} - wrapper_type: "plainfile" +%A wrapper_type: "plainfile" stream_type: "STDIO" mode: "r" unread_bytes: 0 seekable: true - timed_out: false - blocked: true - eof: false - options: [] +%A options: [] } "obj" => Symfony\Component\VarDumper\Tests\Fixture\DumbFoo {#%d +foo: "foo" @@ -197,16 +194,13 @@ EOTXT $this->assertStringMatchesFormat( <<7 => b"é\\x00" "[]" => [] "res" => stream resource @{$res} - wrapper_type: "plainfile" +%A wrapper_type: "plainfile" stream_type: "STDIO" mode: "r" unread_bytes: 0 seekable: true - timed_out: false - blocked: true - eof: false - options: [] +%A options: [] } "obj" => DumbFoo {#%d +foo: "foo"