feature #24349 [SecurityBundle] Add missing AclSchemaListener deprecation (ogizanagi)
This PR was merged into the 3.4 branch.
Discussion
----------
[SecurityBundle] Add missing AclSchemaListener deprecation
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | no
| New feature? | no <!-- don't forget updating src/**/CHANGELOG.md files -->
| BC breaks? | no
| Deprecations? | yes <!-- don't forget updating UPGRADE-*.md files -->
| Tests pass? | yes
| Fixed tickets | N/A <!-- #-prefixed issue number(s), if any -->
| License | MIT
| Doc PR | N/A
Missing from #24318
Commits
-------
d43c1f7b60
[SecurityBundle] Add missing AclSchemaListener deprecation
This commit is contained in:
commit
b46f9956c2
@ -11,6 +11,8 @@
|
||||
|
||||
namespace Symfony\Bundle\SecurityBundle\EventListener;
|
||||
|
||||
@trigger_error(sprintf('Class "%s" is deprecated since version 3.4 and will be removed in 4.0. Use Symfony\Bundle\AclBundle\EventListener\SetAclCommand instead.', AclSchemaListener::class), E_USER_DEPRECATED);
|
||||
|
||||
use Symfony\Component\Security\Acl\Dbal\Schema;
|
||||
use Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs;
|
||||
|
||||
@ -18,6 +20,8 @@ use Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs;
|
||||
* Merges ACL schema into the given schema.
|
||||
*
|
||||
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
|
||||
*
|
||||
* @deprecated since 3.4, to be removed in 4.0
|
||||
*/
|
||||
class AclSchemaListener
|
||||
{
|
||||
|
Reference in New Issue
Block a user