From 4cac2828f77b2f5f99a09304dbcc538f30288762 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 12 May 2020 11:35:29 +0200 Subject: [PATCH] [Yaml] Added support for YAML 1.2 octal notation --- components/yaml/yaml_format.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/components/yaml/yaml_format.rst b/components/yaml/yaml_format.rst index 46d43a797be..509dd3f0709 100644 --- a/components/yaml/yaml_format.rst +++ b/components/yaml/yaml_format.rst @@ -122,7 +122,13 @@ Numbers .. code-block:: yaml # an octal - 014 + 0o14 + +.. versionadded:: 5.1 + + In YAML 1.1, octal numbers used the notation ``0...``, whereas in YAML 1.2 + the notation changed to ``0o...``. Symfony 5.1 adds support for YAML 1.2 + notation and deprecates support for YAML 1.1 notation. .. code-block:: yaml