10000 minor #20714 [Reference] Sort debug options alphabetically (javieregu… · symfony/symfony-docs@b9c8bd8 · GitHub
[go: up one dir, main page]

Skip to content

Commit b9c8bd8

Browse files
committed
minor #20714 [Reference] Sort debug options alphabetically (javiereguiluz)
This PR was merged into the 7.2 branch. Discussion ---------- [Reference] Sort debug options alphabetically Sorting the options of Configuration Reference was always important ... but after #20712 this is even more important. There are only two documents to sort: `debug` and `framework`. This PR updates the first one, which is trivial. But fixing `framework` will take a lot of effort (and would be a merge conflict nightmare). That's why I propose to do this only in 7.2 branch and up. Commits ------- 569f548 [Reference] Sort debug options alphabetically
2 parents b9d06df + 569f548 commit b9c8bd8

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

reference/configuration/debug.rst

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -23,32 +23,6 @@ key in your application configuration.
2323
namespace and the related XSD schema is available at:
2424
``https://symfony.com/schema/dic/debug/debug-1.0.xsd``
2525

26-
max_items
27-
~~~~~~~~~
28-
29-
**type**: ``integer`` **default**: ``2500``
30-
31-
This is the maximum number of items to dump. Setting this option to ``-1``
32-
disables the limit.
33-
34-
min_depth
35-
~~~~~~~~~
36-
37-
**type**: ``integer`` **default**: ``1``
38-
39-
Configures the minimum tree depth until which all items are guaranteed to
40-
be cloned. After this depth is reached, only ``max_items`` items will be
41-
cloned. The default value is ``1``, which is consistent with older Symfony
42-
versions.
43-
44-
max_string_length
45-
~~~~~~~~~~~~~~~~~
46-
47-
**type**: ``integer`` **default**: ``-1``
48-
49-
This option configures the maximum string length before truncating the
50-
string. The default value (``-1``) means that strings are never truncated.
51-
5226
.. _configuration-debug-dump_destination:
5327

5428
dump_destination
@@ -98,3 +72,29 @@ Typically, you would set this to ``php://stderr``:
9872
9973
10074
Configure it to ``"tcp://%env(VAR_DUMPER_SERVER)%"`` in order to use the :ref:`ServerDumper feature <var-dumper-dump-server>`.
75+
76+
max_items
77+
~~~~~~~~~
78+
79+
**type**: ``integer`` **default**: ``2500``
80+
81+
This is the maximum number of items to dump. Setting this option to ``-1``
82+
disables the limit.
83+
84+
max_string_length
85+
~~~~~~~~~~~~~~~~~
86+
87+
**type**: ``integer`` **default**: ``-1``
88+
89+
This option configures the maximum string length before truncating the
90+
string. The default value (``-1``) means that strings are never truncated.
91+
92+
min_depth
93+
~~~~~~~~~
94+
95+
**type**: ``integer`` **default**: ``1``
96+
97+
Configures the minimum tree depth until which all items are guaranteed to
98+
be cloned. After this depth is reached, only ``max_items`` items will be
99+
cloned. The default value is ``1``, which is consistent with older Symfony
100+
versions.

0 commit comments

Comments
 (0)
0