minor #16659 Added the renamed options of the collection type to the upgrade information (peterrehm)
This PR was merged into the 2.8 branch.
Discussion
----------
Added the renamed options of the collection type to the upgrade information
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Commits
-------
7aac273
Added the renamed options of the collection type to the upgrade information
This commit is contained in:
commit
0055887cbd
@ -214,6 +214,14 @@ Form
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* The option "options" of the CollectionType has been renamed to "entry_options".
|
||||||
|
The usage of the option "options" is deprecated and will be removed in Symfony 3.0.
|
||||||
|
|
||||||
|
* The option "type" of the CollectionType has been renamed to "entry_type".
|
||||||
|
The usage of the option "type" is deprecated and will be removed in Symfony 3.0.
|
||||||
|
As a value for the option you should provide the fully-qualified class name (FQCN)
|
||||||
|
now as well.
|
||||||
|
|
||||||
* Passing type instances to `Form::add()`, `FormBuilder::add()` and the
|
* Passing type instances to `Form::add()`, `FormBuilder::add()` and the
|
||||||
`FormFactory::create*()` methods is deprecated and will not be supported
|
`FormFactory::create*()` methods is deprecated and will not be supported
|
||||||
anymore in Symfony 3.0. Pass the fully-qualified class name of the type
|
anymore in Symfony 3.0. Pass the fully-qualified class name of the type
|
||||||
|
@ -265,6 +265,12 @@ UPGRADE FROM 2.x to 3.0
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* The option "options" of the CollectionType has been renamed to "entry_options".
|
||||||
|
|
||||||
|
* The option "type" of the CollectionType has been renamed to "entry_type".
|
||||||
|
As a value for the option you must provide the fully-qualified class name (FQCN)
|
||||||
|
now as well.
|
||||||
|
|
||||||
* The `FormIntegrationTestCase` and `FormPerformanceTestCase` classes were moved form the `Symfony\Component\Form\Tests` namespace to the `Symfony\Component\Form\Test` namespace.
|
* The `FormIntegrationTestCase` and `FormPerformanceTestCase` classes were moved form the `Symfony\Component\Form\Tests` namespace to the `Symfony\Component\Form\Test` namespace.
|
||||||
|
|
||||||
* The constants `ROUND_HALFEVEN`, `ROUND_HALFUP` and `ROUND_HALFDOWN` in class
|
* The constants `ROUND_HALFEVEN`, `ROUND_HALFUP` and `ROUND_HALFDOWN` in class
|
||||||
|
Reference in New Issue
Block a user