Skip to content

Commit 30ef6ff

Browse files
committed
minor #19731 [Yaml] improve changelog and upgrade entries (xabbuh)
This PR was merged into the 3.2-dev branch. Discussion ---------- [Yaml] improve changelog and upgrade entries | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? |no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Improves the wording as suggested by @javiereguiluz in symfony/symfony#19538 (comment). Commits ------- e288256 [Yaml] improve changelog and upgrade entries
2 parents 0cf50e2 + e288256 commit 30ef6ff

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)