Skip to content

Commit 716ad55

Browse files
committed
[#7756] Added versionadded directives
1 parent d32691c commit 716ad55

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

reference/constraints/Image.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,9 @@ value in pixels.
277277
minPixels
278278
~~~~~~~~~
279279

280+
.. versionadded:: 3.4
281+
The ``minPixels`` option has been introduced in Symfony 3.4.
282+
280283
**type**: ``integer``
281284

282285
If set, the amount of pixels of the image file must be greater than or equal to this
@@ -285,6 +288,9 @@ value.
285288
maxPixels
286289
~~~~~~~~~
287290

291+
.. versionadded:: 3.4
292+
The ``maxPixels`` option has been introduced in Symfony 3.4.
293+
288294
**type**: ``integer``
289295

290296
If set, the amount of pixels of the image file must be less than or equal to this
@@ -382,6 +388,9 @@ The error message if the height of the image is less than `minHeight`_.
382388
maxPixelsMessage
383389
~~~~~~~~~~~~~~~~
384390

391+
.. versionadded:: 3.4
392+
The ``maxPixelsMessage`` option has been introduced in Symfony 3.4.
393+
385394
**type**: ``string`` **default**: ``The image has to many pixels ({{ pixels }} pixels).
386395
Maximum amount expected is {{ max_pixels }} pixels.``
387396

@@ -390,6 +399,9 @@ The error message if the amount of pixels of the image exceeds `maxPixels`_.
390399
minPixelsMessage
391400
~~~~~~~~~~~~~~~~
392401

402+
.. versionadded:: 3.4
403+
The ``minPixelsMessage`` option has been introduced in Symfony 3.4.
404+
393405
**type**: ``string`` **default**: ``The image has to few pixels ({{ pixels }} pixels).
394406
Minimum amount expected is {{ min_pixels }} pixels.``
395407

0 commit comments

Comments
 (0)