Skip to content

Commit 7dcd7c3

Browse files
jderusseJérémy Derussé
authored and
Jérémy Derussé
committed
Move secion "binaryFormat" to the right place
1 parent 71fdd60 commit 7dcd7c3

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

reference/constraints/File.rst

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -152,22 +152,6 @@ have been specified.
152152
Options
153153
-------
154154

155-
.. versionadded:: 2.6
156-
The ``binaryFormat`` option was introduced in Symfony 2.6.
157-
158-
binaryFormat
159-
~~~~~~~~~~~~
160-
161-
**type**: ``boolean`` **default**: ``null``
162-
163-
When ``true``, the sizes will be displayed in messages with binary suffixes
164-
(KiB, MiB). When ``false``, the sizes will be displayed with SI suffixes (kB,
165-
MB). When ``null``, then the binaryFormat will be guessed from the suffix
166-
defined in the maxSize option.
167-
168-
For more information about the difference between binary and SI suffixes,
169-
see `Wikipedia: Binary prefix`_.
170-
171155
maxSize
172156
~~~~~~~
173157

@@ -194,6 +178,22 @@ to be valid. The size of the file can be given in one of the following formats:
194178
For more information about the difference between binary and SI suffixes,
195179
see `Wikipedia: Binary prefix`_.
196180

181+
binaryFormat
182+
~~~~~~~~~~~~
183+
184+
.. versionadded:: 2.6
185+
The ``binaryFormat`` option was introduced in Symfony 2.6.
186+
187+
**type**: ``boolean`` **default**: ``null``
188+
189+
When ``true``, the sizes will be displayed in messages with binary suffixes
190+
(KiB, MiB). When ``false``, the sizes will be displayed with SI suffixes (kB,
191+
MB). When ``null``, then the binaryFormat will be guessed from the suffix
192+
defined in the maxSize option.
193+
194+
For more information about the difference between binary and SI suffixes,
195+
see `Wikipedia: Binary prefix`_.
196+
197197
mimeTypes
198198
~~~~~~~~~
199199

0 commit comments

Comments
 (0)