Skip to content

Commit 77a0687

Browse files
author
Jérémy Derussé
committed
Add versionAdded on binary suffix
1 parent b414f5c commit 77a0687

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

reference/constraints/File.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ Options
154154
maxSize
155155
~~~~~~~
156156

157+
.. versionadded:: 2.6
158+
The suffixes ``Ki`` and ``Mi`` were introduced in Symfony 2.6.
159+
157160
**type**: ``mixed``
158161

159162
If set, the size of the underlying file must be below this file size in order
@@ -188,7 +191,7 @@ binaryFormat
188191
When ``true``, the sizes will be displayed in messages with binary suffixes
189192
(KiB, MiB). When ``false``, the sizes will be displayed with SI suffixes (kB,
190193
MB). When ``null``, then the binaryFormat will be guessed from the suffix
191-
defined in the maxSize option.
194+
defined in the ``maxSize`` option.
192195

193196
For more information about the difference between binary and SI suffixes,
194197
see `Wikipedia: Binary prefix`_.

0 commit comments

Comments
 (0)