Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d43c1f7

Browse files
committed
[SecurityBundle] Add missing AclSchemaListener deprecation
1 parent 7269013 commit d43c1f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Bundle/SecurityBundle/EventListener/AclSchemaListener.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,17 @@
1111

1212
namespace Symfony\Bundle\SecurityBundle\EventListener;
1313

14+
@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);
15+
1416
use Symfony\Component\Security\Acl\Dbal\Schema;
1517
use Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs;
1618

1719
/**
1820
* Merges ACL schema into the given schema.
1921
*
2022
* @author Johannes M. Schmitt <[email protected]>
23+
*
24+
* @deprecated since 3.4, to be removed in 4.0
2125
*/
2226
class AclSchemaListener
2327
{

0 commit comments

Comments
 (0)