Skip to content

Commit

Permalink
minor #18664 [Form] [DoctrineBridge] updated changelogs after #18359
Browse files Browse the repository at this point in the history
…(HeahDude)

This PR was merged into the 3.1-dev branch.

Discussion
----------

[Form] [DoctrineBridge] updated changelogs after #18359

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ~
| License       | MIT
| Doc PR        | ~

follows #18359.

Commits
-------

1c8dc9d [Form] [DoctrineBridge] updated changelogs after #18359
  • Loading branch information
fabpot committed Apr 29, 2016
2 parents 731d7a6 + 1c8dc9d commit 352997e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
5 changes: 4 additions & 1 deletion UPGRADE-3.1.md
Expand Up @@ -39,7 +39,10 @@ Form
'choice_label' => function ($choice) {
return strtoupper($choice);
},
```
```

* Caching of the loaded `ChoiceListInterface` in the `LazyChoiceList` has been deprecated,
it must be cached in the `ChoiceLoaderInterface` implementation instead.

FrameworkBundle
---------------
Expand Down
2 changes: 2 additions & 0 deletions UPGRADE-4.0.md
Expand Up @@ -36,6 +36,8 @@ Form
},
```

* Caching of the loaded `ChoiceListInterface` in the `LazyChoiceList` has been removed,
it must be cached in the `ChoiceLoaderInterface` implementation instead.

FrameworkBundle
---------------
Expand Down
2 changes: 2 additions & 0 deletions src/Symfony/Bridge/Doctrine/CHANGELOG.md
Expand Up @@ -7,6 +7,8 @@ CHANGELOG
* added "{{ value }}" message placeholder to UniqueEntityValidator
* deprecated `MergeDoctrineCollectionListener::onBind` in favor of
`MergeDoctrineCollectionListener::onSubmit`
* deprecated passing `ChoiceListFactoryInterface` as first argument of
`DoctrineChoiceLoader`'s constructor

3.0.0
-----
Expand Down
Expand Up @@ -24,11 +24,6 @@
*/
class DoctrineChoiceLoader implements ChoiceLoaderInterface
{
/**
* @var ChoiceListFactoryInterface
*/
private $factory;

/**
* @var ObjectManager
*/
Expand Down Expand Up @@ -78,7 +73,6 @@ public function __construct($manager, $class, $idReader = null, $objectLoader =

// Provide a BC layer since $factory has changed
// form first to last argument as of 3.1
$this->factory = $manager;
$manager = $class;
$class = $idReader;
$objectLoader = $factory;
Expand Down
1 change: 1 addition & 0 deletions src/Symfony/Component/Form/CHANGELOG.md
Expand Up @@ -10,6 +10,7 @@ CHANGELOG
* Using callable strings as choice options in `ChoiceType` has been deprecated
and will be used as `PropertyPath` instead of callable in Symfony 4.0.
* implemented `DataTransformerInterface` in `TextType`
* deprecated caching loaded choice list in `LazyChoiceList::$loadedList`

3.0.0
-----
Expand Down

0 comments on commit 352997e

Please sign in to comment.