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 4b0b3d9

Browse filesBrowse files
committed
minor #18396 upgrade 3.1/4.0 minor cs fixes (HeahDude)
This PR was merged into the 3.1-dev branch. Discussion ---------- upgrade 3.1/4.0 minor cs fixes | Q | A | ------------- | --- | Branch? | master | License | MIT Commits ------- b8e2911 upgrade 3.1/4.0 minor fixes
2 parents d177747 + b8e2911 commit 4b0b3d9
Copy full SHA for 4b0b3d9

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"`
@@ -81,7 +82,8 @@ Translation
8182
Yaml
8283
----
8384

84-
* Deprecated usage of `%` at the beginning of an unquoted string.
85+
* Usage of `%` at the beginning of an unquoted string has been deprecated and
86+
will lead to a `ParseException` in Symfony 4.0.
8587

8688
* The `Dumper::setIndentation()` method is deprecated and will be removed in
8789
Symfony 4.0. Pass the indentation level to the constructor instead.
@@ -146,7 +148,8 @@ Yaml
146148
Yaml::dump(array('foo' => new A(), 'bar' => 1), 0, 0, Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE);
147149
```
148150

149-
* Deprecated support for passing `true`/`false` as the fifth argument to the `dump()` method to toggle object support.
151+
* Deprecated support for passing `true`/`false` as the fifth argument to the
152+
`dump()` method to toggle object support.
150153

151154
Before:
152155

@@ -166,5 +169,5 @@ Yaml
166169
Validator
167170
---------
168171

169-
* The `DateTimeValidator::PATTERN` constant is deprecated and will be removed in
170-
Symfony 4.0.
172+
* The `DateTimeValidator::PATTERN` constant has been deprecated and will be
173+
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
----------
@@ -141,7 +142,8 @@ Yaml
141142
Yaml::dump(array('foo' => new A(), 'bar' => 1), 0, 0, Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE);
142143
```
143144

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

146148
Before:
147149

0 commit comments

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