From 6d10f48e43642492f3dc83c87105024de5dca555 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Sun, 17 Feb 2019 15:24:12 +0100 Subject: [PATCH] document deprecation of the scale option --- reference/forms/types/integer.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reference/forms/types/integer.rst b/reference/forms/types/integer.rst index 1c35c581f08..f796cc097e9 100644 --- a/reference/forms/types/integer.rst +++ b/reference/forms/types/integer.rst @@ -88,6 +88,11 @@ scale **type**: ``integer`` **default**: ``0`` +.. versionadded:: 4.2 + + The ``scale`` option is deprecated since Symfony 4.2 and will be removed + in 5.0. + This specifies how many decimals will be allowed until the field rounds the submitted value (via ``rounding_mode``). This option inherits from :doc:`number ` type and is overriden to ``0`` for