Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 8b89424

Browse files
committed
docs: Mark StoppableEventInterface as deprecated
Will remove in version 4.0.
1 parent 9784e7b commit 8b89424

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

TODO-PSR-14.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
## 3.3.0 forwards-compatibility release
44

5-
- [ ] `StoppableEventInterface` implementation
5+
- [x] `StoppableEventInterface` implementation
66
- [x] Create a `StoppableEventInterface`
77
- [x] Make `Event` implement it
88
- [x] Deprecate `propagationIsStopped()` in both `EventInterface` and `Event`
99
- [x] Have `Event::propagationIsStopped()` proxy to `Event::isPropagationStopped()`
1010
- [x] Modify `EventManager` internals to use the PSR-14 method if available
11-
- [ ] Mark `StoppableEventInterface` as deprecated
11+
- [x] Mark `StoppableEventInterface` as deprecated
1212
- [ ] Listener provider implementation
1313
- [ ] Create a `ListenerProvider` subnamespace
1414
- [ ] Create a `ListenerProviderInterface` shim

src/StoppableEventInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
*
1313
* This interface can be mixed into the `Event` instance to make it
1414
* forwards-compatible with PSR-14.
15+
*
16+
* @deprecated This interface is a forwards-compatibility shim for use until we can
17+
* provide full PSR-14 compatibility, and will be removed in version 4.0.
1518
*/
1619
interface StoppableEventInterface
1720
{

0 commit comments

Comments
 (0)