Added the renamed options of the collection type to the upgrade information

This commit is contained in:
Peter Rehm 2015-11-25 10:54:34 +01:00
parent 074a4bf89e
commit 7aac273701
2 changed files with 14 additions and 0 deletions

View File

@ -213,6 +213,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
`FormFactory::create*()` methods is deprecated and will not be supported

View File

@ -264,6 +264,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.