File tree Expand file tree Collapse file tree 2 files changed +6
-15
lines changed
Filter options
src/Symfony/Component/VarDumper/Tests Expand file tree Collapse file tree 2 files changed +6
-15
lines changed
Original file line number Diff line number Diff line change @@ -69,15 +69,12 @@ class: "Symfony\Component\VarDumper\Tests\CliDumperTest"
69
69
7 => b"é\\x00"
70
70
"[]" => []
71
71
"res" => stream resource {@ {$ res }
72
- wrapper_type: "plainfile"
72
+ %A wrapper_type: "plainfile"
73
73
stream_type: "STDIO"
74
74
mode: "r"
75
75
unread_bytes: 0
76
76
seekable: true
77
- timed_out: false
78
- blocked: true
79
- eof: false
80
- options: []
77
+ %A options: []
81
78
}
82
79
"obj" => Symfony\Component\VarDumper\Tests\Fixture\DumbFoo {#%d
83
80
+foo: "foo"
@@ -197,16 +194,13 @@ public function testThrowingCaster()
197
194
$ this ->assertStringMatchesFormat (
198
195
<<<EOTXT
199
196
stream resource {@ {$ ref }
200
- wrapper_type : "PHP"
197
+ %Awrapper_type : "PHP"
201
198
stream_type: "MEMORY"
202
199
mode: "%s+b"
203
200
unread_bytes: 0
204
201
seekable: true
205
202
uri: "php://memory"
206
- timed_out: false
207
- blocked: true
208
- eof: false
209
- options: []
203
+ %Aoptions: []
210
204
⚠: Symfony\Component\VarDumper\Exception\ThrowingCasterException { {$ r }
211
205
#message: "Unexpected Exception thrown from a caster: Foobar"
212
206
trace: array:1 [
Original file line number Diff line number Diff line change @@ -72,15 +72,12 @@ public function testGet()
72
72
<span class=sf-dump-key>7</span> => b"<span class=sf-dump-str title="2 binary or non-UTF-8 characters">é</span>\\x00"
73
73
"<span class=sf-dump-key>[]</span>" => []
74
74
"<span class=sf-dump-key>res</span>" => <span class=sf-dump-note>stream resource</span> <a class=sf-dump-ref>@ {$ res }</a><samp>
75
- <span class=sf-dump-meta>wrapper_type</span>: "<span class=sf-dump-str title="9 characters">plainfile</span>"
75
+ %A <span class=sf-dump-meta>wrapper_type</span>: "<span class=sf-dump-str title="9 characters">plainfile</span>"
76
76
<span class=sf-dump-meta>stream_type</span>: "<span class=sf-dump-str title="5 characters">STDIO</span>"
77
77
<span class=sf-dump-meta>mode</span>: "<span class=sf-dump-str>r</span>"
78
78
<span class=sf-dump-meta>unread_bytes</span>: <span class=sf-dump-num>0</span>
79
79
<span class=sf-dump-meta>seekable</span>: <span class=sf-dump-const>true</span>
80
- <span class=sf-dump-meta>timed_out</span>: <span class=sf-dump-const>false</span>
81
- <span class=sf-dump-meta>blocked</span>: <span class=sf-dump-const>true</span>
82
- <span class=sf-dump-meta>eof</span>: <span class=sf-dump-const>false</span>
83
- <span class=sf-dump-meta>options</span>: []
80
+ %A <span class=sf-dump-meta>options</span>: []
84
81
</samp>}
85
82
"<span class=sf-dump-key>obj</span>" => <abbr title="Symfony\Component\VarDumper\Tests\Fixture\DumbFoo" class=sf-dump-note>DumbFoo</abbr> {<a class=sf-dump-ref href=# {$ dumpId }-ref2%d title="2 occurrences">#%d</a><samp id= {$ dumpId }-ref2%d>
86
83
+<span class=sf-dump-public title="Public property">foo</span>: "<span class=sf-dump-str title="3 characters">foo</span>"
You can’t perform that action at this time.
0 commit comments