Skip to content

Commit 656beec

Browse files
alli83ostrolucky
authored andcommitted
[DoctrineBundle] deprecate EventSubscriberInterface
1 parent 2170e49 commit 656beec

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

EventSubscriber/EventSubscriberInterface.php

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
use Doctrine\Common\EventSubscriber;
66

7+
/**
8+
* @deprecated use the {@see AsDoctrineListener} attribute instead
9+
*/
710
interface EventSubscriberInterface extends EventSubscriber
811
{
912
}

UPGRADE-2.10.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
UPGRADE FROM 2.9 to 2.10
2+
========================
3+
4+
### Deprecations
5+
6+
- `Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface` has been deprecated. Use the `#[AsDoctrineListener]` attribute instead.

0 commit comments

Comments
 (0)