Skip to content

Commit 9231f92

Browse files
committed
[#5584] language tweak and XML config fix
1 parent 2c9e8d1 commit 9231f92

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Diff for: components/var_dumper/introduction.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Choosing between both is mostly a matter of personal taste, still:
9999
be suited to your use case (e.g. you shouldn't use it in an HTML
100100
attribute or a ``<script>`` tag).
101101

102-
This behaviour can be changed by configuring the ``dump.dump_destination``
102+
This behavior can be changed by configuring the ``dump.dump_destination``
103103
option. Read more about this and other options in
104104
:doc:`the DebugBundle configuration reference </reference/configuration/debug>`.
105105

Diff for: reference/configuration/debug.rst

+5-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Configuration
2222
-------------
2323

2424
* `max_items`_
25-
* `max_string_length`_
25+
* `max_string_length`_
2626
* `dump_destination`_
2727

2828
max_items
@@ -64,9 +64,11 @@ destination for dumps. Typically, you would set this to ``php://stderr``:
6464
<?xml version="1.0" encoding="UTF-8" ?>
6565
<container xmlns="http://symfony.com/schema/dic/debug"
6666
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
67-
xsi:schemaLocation="http://symfony.com/schema/dic/debug http://symfony.com/schema/dic/debug/debug-1.0.xsd">
67+
xmlns:debug="http://symfony.com/schema/dic/debug"
68+
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
69+
http://symfony.com/schema/dic/debug http://symfony.com/schema/dic/debug/debug-1.0.xsd">
6870
69-
<config dump-destination="php://stderr" />
71+
<debug:config dump-destination="php://stderr" />
7072
</container>
7173
7274
.. code-block:: php

0 commit comments

Comments
 (0)