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
This commit is contained in:
commit
4b0b3d95a8
@ -15,6 +15,7 @@ Form
|
||||
|
||||
* The `choices_as_values` option of the `ChoiceType` has been deprecated and
|
||||
will be removed in Symfony 4.0.
|
||||
|
||||
* Support for data objects that implements both `Traversable` and `ArrayAccess`
|
||||
in `ResizeFormListener::preSubmit` method has been deprecated and will be
|
||||
removed in Symfony 4.0.
|
||||
@ -25,8 +26,8 @@ FrameworkBundle
|
||||
* As it was never an officially supported feature, the support for absolute
|
||||
template paths has been deprecated and will be removed in Symfony 4.0.
|
||||
|
||||
* The following form types registered as services are deprecated since 3.1
|
||||
and will be removed in 4.0; use their fully-qualified class name instead:
|
||||
* The following form types registered as services have been deprecated and
|
||||
will be removed in Symfony 4.0; use their fully-qualified class name instead:
|
||||
|
||||
- `"form.type.birthday"`
|
||||
- `"form.type.checkbox"`
|
||||
@ -81,7 +82,8 @@ Translation
|
||||
Yaml
|
||||
----
|
||||
|
||||
* Deprecated usage of `%` at the beginning of an unquoted string.
|
||||
* Usage of `%` at the beginning of an unquoted string has been deprecated and
|
||||
will lead to a `ParseException` in Symfony 4.0.
|
||||
|
||||
* The `Dumper::setIndentation()` method is deprecated and will be removed in
|
||||
Symfony 4.0. Pass the indentation level to the constructor instead.
|
||||
@ -146,7 +148,8 @@ Yaml
|
||||
Yaml::dump(array('foo' => new A(), 'bar' => 1), 0, 0, Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE);
|
||||
```
|
||||
|
||||
* Deprecated support for passing `true`/`false` as the fifth argument to the `dump()` method to toggle object support.
|
||||
* Deprecated support for passing `true`/`false` as the fifth argument to the
|
||||
`dump()` method to toggle object support.
|
||||
|
||||
Before:
|
||||
|
||||
@ -166,5 +169,5 @@ Yaml
|
||||
Validator
|
||||
---------
|
||||
|
||||
* The `DateTimeValidator::PATTERN` constant is deprecated and will be removed in
|
||||
Symfony 4.0.
|
||||
* The `DateTimeValidator::PATTERN` constant has been deprecated and will be
|
||||
removed in Symfony 4.0.
|
||||
|
@ -15,10 +15,15 @@ Form
|
||||
* The `choices_as_values` option of the `ChoiceType` has been removed.
|
||||
|
||||
* Support for data objects that implements both `Traversable` and
|
||||
`ArrayAccess` in `ResizeFormListener::preSubmit` method has been removed
|
||||
`ArrayAccess` in `ResizeFormListener::preSubmit` method has been removed.
|
||||
|
||||
* The following form types registered as services has been removed; use
|
||||
their fully-qualified class name instead:
|
||||
FrameworkBundle
|
||||
---------------
|
||||
|
||||
* Support for absolute template paths has been removed.
|
||||
|
||||
* The following form types registered as services have been removed; use their
|
||||
fully-qualified class name instead:
|
||||
|
||||
- `"form.type.birthday"`
|
||||
- `"form.type.checkbox"`
|
||||
@ -50,16 +55,12 @@ Form
|
||||
- `"form.type.submit"`
|
||||
- `"form.type.reset"`
|
||||
|
||||
FrameworkBundle
|
||||
---------------
|
||||
|
||||
* Support for absolute template paths has been removed from the template name parser.
|
||||
|
||||
HttpKernel
|
||||
----------
|
||||
|
||||
* Possibility to pass objects as URI attributes to the ESI and SSI renderers
|
||||
has been removed. The inline fragment renderer should be used with object attributes.
|
||||
has been removed. The inline fragment renderer should be used with object
|
||||
attributes.
|
||||
|
||||
Serializer
|
||||
----------
|
||||
@ -141,7 +142,8 @@ Yaml
|
||||
Yaml::dump(array('foo' => new A(), 'bar' => 1), 0, 0, Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE);
|
||||
```
|
||||
|
||||
* Removed support for passing `true`/`false` as the fifth argument to the `dump()` method to toggle object support.
|
||||
* Removed support for passing `true`/`false` as the fifth argument to the
|
||||
`dump()` method to toggle object support.
|
||||
|
||||
Before:
|
||||
|
||||
|
Reference in New Issue
Block a user