Skip to content

Commit fe6884b

Browse files
committed
add filter argument to assertDumpEquals()
1 parent 0885c58 commit fe6884b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

components/var_dumper/advanced.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,14 @@ The output format of a dumper can be fine tuned by the two flags
206206
``DUMP_STRING_LENGTH`` and ``DUMP_LIGHT_ARRAY`` which are passed as a bitmap
207207
in the third constructor argument. They can also be set via environment
208208
variables when using
209-
:method:`assertDumpEquals($dump, $data, $message) <Symfony\\Component\\VarDumper\\Test\\VarDumperTestTrait::assertDumpEquals>`
209+
:method:`assertDumpEquals($dump, $data, $filter, $message) <Symfony\\Component\\VarDumper\\Test\\VarDumperTestTrait::assertDumpEquals>`
210210
during unit testing.
211211

212+
213+
.. versionadded:: 3.4
214+
The ``$filter`` argument of ``assertDumpEquals()`` was introdcued in
215+
Symfony 3.4.
216+
212217
.. versionadded:: 3.1
213218
The ``DUMP_STRING_LENGTH`` and ``DUMP_LIGHT_ARRAY`` flags were introduced
214219
in Symfony 3.1.

0 commit comments

Comments
 (0)