8000 upgrade 3.1/4.0 minor fixes · symfony/symfony@a6b3658 · GitHub
[go: up one dir, main page]

Skip to content

Commit a6b3658

Browse files
committed
upgrade 3.1/4.0 minor fixes
1 parent b03d370 commit a6b3658

File tree

2 files changed

+24
-17
lines changed

2 files changed

+24
-17
lines changed

UPGRADE-3.1.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Form
1515

1616
* The `choices_as_values` option of the `ChoiceType` has been deprecated and
1717
will be removed in Symfony 4.0.
18+
1819
* Support for data objects that implements both `Traversable` and `ArrayAccess`
1920
in `ResizeFormListener::preSubmit` method has been deprecated and will be
2021
removed in Symfony 4.0.
@@ -23,10 +24,11 @@ FrameworkBundle
2324
---------------
2425

2526
* As it was never an officially supported feature, the support for absolute
26-
template paths has been deprecated and will be removed in Symfony 4.0.
27+
template paths in the template name parse has been deprecated and will be
28+
removed in Symfony 4.0.
2729

28-
* The following form types registered as services are deprecated since 3.1
29-
and will be removed in 4.0; use their fully-qualified class name instead:
30+
* The following form types registered as services have been deprecated and
31+
will be removed in Symfony 4.0; use their fully-qualified class name instead:
3032

3133
- `"form.type.birthday"`
3234
- `"form.type.checkbox"`
@@ -75,7 +77,8 @@ Serializer
7577
Yaml
7678
----
7779

78-
* Deprecated usage of `%` at the beginning of an unquoted string.
80+
* Usage of `%` at the beginning of an unquoted string has been deprecated and
81+
will lead to a `ParseException` in Symfony 4.0.
7982

8083
* The `Dumper::setIndentation()` method is deprecated and will be removed in
8184
Symfony 4.0. Pass the indentation level to the constructor instead.
@@ -140,7 +143,8 @@ Yaml
140143
Yaml::dump(array('foo' => new A(), 'bar' => 1), 0, 0, Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE);
141144
```
142145

143-
* Deprecated support for passing `true`/`false` as the fifth argument to the `dump()` method to toggle object support.
146+
* Deprecated support for passing `true`/`false` as the fifth argument to the
147+
`dump()` method to toggle object support.
144148

145149
Before:
146150

@@ -160,5 +164,5 @@ Yaml
160164
Validator
161165
---------
162166

163-
* The `DateTimeValidator::PATTERN` constant is deprecated and will be removed in
164-
Symfony 4.0.
167+
* The `DateTimeValidator::PATTERN` constant has been deprecated and will be
168+
removed in Symfony 4.0.

UPGRADE-4.0.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,16 @@ Form
1515
* The `choices_as_values` option of the `ChoiceType` has been removed.
1616

1717
* Support for data objects that implements both `Traversable` and
18-
`ArrayAccess` in `ResizeFormListener::preSubmit` method has been removed
18+
`ArrayAccess` in `ResizeFormListener::preSubmit` method has been removed.
1919

20-
* The following form types registered as services has been removed; use
21-
their fully-qualified class name instead:
20+
FrameworkBundle
21+
---------------
22+
23+
* Support for absolute template paths has been removed from the template name
24+
parser.
25+
26+
* The following form types registered as services have been removed; use their
27+
fully-qualified class name instead:
2228

2329
- `"form.type.birthday"`
2430
- `"form.type.checkbox"`
@@ -50,16 +56,12 @@ Form
5056
- `"form.type.submit"`
5157
- `"form.type.reset"`
5258

53-
FrameworkBundle
54-
---------------
55-
56-
* Support for absolute template paths has been removed from the template name parser.
57-
5859
HttpKernel
5960
----------
6061

6162
* Possibility to pass objects as URI attributes to the ESI and SSI renderers
62-
has been removed. The inline fragment renderer should be used with object attributes.
63+
has been removed. The inline fragment renderer should be used with object
64+
attributes.
6365

6466
Serializer
6567
----------
@@ -136,7 +138,8 @@ Yaml
136138
Yaml::dump(array('foo' => new A(), 'bar' => 1), 0, 0, Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE);
137139
```
138140

139-
* Removed support for passing `true`/`false` as the fifth argument to the `dump()` method to toggle object support.
141+
* Removed support for passing `true`/`false` as the fifth argument to the
142+
`dump()` method to toggle object support.
140143

141144
Before:
142145

0 commit comments

Comments
 (0)
0