[SecurityBundle] Clarify deprecation in UserPasswordEncoderCommand::getContainer
This commit is contained in:
parent
3444d8d88d
commit
7ea2d0437a
@ -443,7 +443,7 @@ SecurityBundle
|
||||
|
||||
* The `UserPasswordEncoderCommand` class does not allow `null` as the first argument anymore.
|
||||
|
||||
* `UserPasswordEncoderCommand` does not implement `ContainerAwareInterface` anymore.
|
||||
* `UserPasswordEncoderCommand` does not extend `ContainerAwareCommand` nor implement `ContainerAwareInterface` anymore.
|
||||
|
||||
Serializer
|
||||
----------
|
||||
|
@ -7,7 +7,7 @@ CHANGELOG
|
||||
* Deprecated instantiating `UserPasswordEncoderCommand` without its constructor
|
||||
arguments fully provided.
|
||||
* Deprecated `UserPasswordEncoderCommand::getContainer()` and relying on the
|
||||
`ContainerAwareInterface` interface for this command.
|
||||
`ContainerAwareCommand` sub class or `ContainerAwareInterface` implementation for this command.
|
||||
* Deprecated the `FirewallMap::$map` and `$container` properties.
|
||||
* [BC BREAK] Keys of the `users` node for `in_memory` user provider are no longer normalized.
|
||||
* deprecated `FirewallContext::getListeners()`
|
||||
|
@ -51,7 +51,7 @@ class UserPasswordEncoderCommand extends ContainerAwareCommand
|
||||
*/
|
||||
protected function getContainer()
|
||||
{
|
||||
@trigger_error(sprintf('Method "%s" is deprecated since version 3.3 and "%s" won\'t implement "%s" anymore in 4.0.', __METHOD__, __CLASS__, ContainerAwareInterface::class), E_USER_DEPRECATED);
|
||||
@trigger_error(sprintf('Method "%s" is deprecated since version 3.3 and "%s" won\'t extend "%s" nor implement "%s" anymore in 4.0.', __METHOD__, __CLASS__, ContainerAwareCommand::class, ContainerAwareInterface::class), E_USER_DEPRECATED);
|
||||
|
||||
return parent::getContainer();
|
||||
}
|
||||
|
Reference in New Issue
Block a user