Skip to content

Commit e288256

Browse files
committed
[Yaml] improve changelog and upgrade entries
1 parent df8cf70 commit e288256

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

UPGRADE-3.2.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,6 @@ Yaml
7777
* Support for silently ignoring duplicate keys in YAML has been deprecated and
7878
will lead to a `ParseException` in Symfony 4.0.
7979

80-
* Mappings with a colon that is not followed by a space are deprecated and
81-
will lead to a `ParseException` in Symfony 4.0.
80+
* Mappings with a colon (`:`) that is not followed by a whitespace are deprecated
81+
and will lead to a `ParseException` in Symfony 4.0 (e.g. `foo:bar` must be
82+
`foo: bar`).

UPGRADE-4.0.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,9 @@ Translation
147147
Yaml
148148
----
149149

150-
* Mappings with a colon that is not followed by a space are are not
151-
supported anymore and lead to a `ParseException`.
150+
* Mappings with a colon (`:`) that is not followed by a whitespace are not
151+
supported anymore and lead to a `ParseException`(e.g. `foo:bar` must be
152+
`foo: bar`).
152153

153154
* Starting an unquoted string with `%` leads to a `ParseException`.
154155

src/Symfony/Component/Yaml/CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ CHANGELOG
44
3.2.0
55
-----
66

7-
* Mappings with a colon that is not followed by a space are deprecated and
8-
will lead to a `ParseException` in Symfony 4.0.
7+
* Mappings with a colon (`:`) that is not followed by a whitespace are deprecated
8+
and will lead to a `ParseException` in Symfony 4.0 (e.g. `foo:bar` must be
9+
`foo: bar`).
910

1011
* Added support for parsing PHP constants:
1112

0 commit comments

Comments
 (0)