Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b8e2911

Browse filesBrowse files
committed
upgrade 3.1/4.0 minor fixes
1 parent b03d370 commit b8e2911
Copy full SHA for b8e2911

File tree

Expand file treeCollapse file tree

2 files changed

+21
-16
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+21
-16
lines changed

‎UPGRADE-3.1.md

Copy file name to clipboardExpand all lines: UPGRADE-3.1.md
+9-6Lines changed: 9 additions & 6 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.
@@ -25,8 +26,8 @@ FrameworkBundle
2526
* As it was never an officially supported feature, the support for absolute
2627
template paths has been deprecated and will be removed in Symfony 4.0.
2728

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:
29+
* The following form types registered as services have been deprecated and
30+
will be removed in Symfony 4.0; use their fully-qualified class name instead:
3031

3132
- `"form.type.birthday"`
3233
- `"form.type.checkbox"`
@@ -75,7 +76,8 @@ Serializer
7576
Yaml
7677
----
7778

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

8082
* The `Dumper::setIndentation()` method is deprecated and will be removed in
8183
Symfony 4.0. Pass the indentation level to the constructor instead.
@@ -140,7 +142,8 @@ Yaml
140142
Yaml::dump(array('foo' => new A(), 'bar' => 1), 0, 0, Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE);
141143
```
142144

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

145148
Before:
146149

@@ -160,5 +163,5 @@ Yaml
160163
Validator
161164
---------
162165

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

‎UPGRADE-4.0.md

Copy file name to clipboardExpand all lines: UPGRADE-4.0.md
+12-10Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,15 @@ 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.
24+
25+
* The following form types registered as services have been removed; use their
26+
fully-qualified class name instead:
2227

2328
- `"form.type.birthday"`
2429
- `"form.type.checkbox"`
@@ -50,16 +55,12 @@ Form
5055
- `"form.type.submit"`
5156
- `"form.type.reset"`
5257

53-
FrameworkBundle
54-
---------------
55-
56-
* Support for absolute template paths has been removed from the template name parser.
57-
5858
HttpKernel
5959
----------
6060

6161
* 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.
62+
has been removed. The inline fragment renderer should be used with object
63+
attributes.
6364

6465
Serializer
6566
----------
@@ -136,7 +137,8 @@ Yaml
136137
Yaml::dump(array('foo' => new A(), 'bar' => 1), 0, 0, Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE);
137138
```
138139

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

141143
Before:
142144

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.