Skip to content

Commit 31c479a

Browse files
committed
feat: Remove ListenerShouldQueue interface
Queueing is *always* specific to the application, which will define how items are added to the queue, and how listeners are given to providers. As such, any such decoration of listeners will be specific to those two responsibilities, and not part of a general-purpose event library.
1 parent 0e830c9 commit 31c479a

File tree

11 files changed

+37
-165
lines changed

11 files changed

+37
-165
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@ env:
1313

1414
matrix:
1515
include:
16-
- php: 7.1
16+
- php: 7.2
1717
env:
1818
- DEPS=lowest
19-
- php: 7.1
19+
- php: 7.2
2020
env:
2121
- DEPS=locked
2222
- CS_CHECK=true
2323
- TEST_COVERAGE=true
24-
- php: 7.1
24+
- php: 7.2
2525
env:
2626
- DEPS=latest
27-
- php: 7.2
27+
- php: 7.3
2828
env:
2929
- DEPS=lowest
30-
- php: 7.2
30+
- php: 7.3
3131
env:
3232
- DEPS=locked
33-
- php: 7.2
33+
- php: 7.3
3434
env:
3535
- DEPS=latest
3636

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,31 @@
22

33
All notable changes to this project will be documented in this file, in reverse chronological order by release.
44

5+
## 0.3.0 - 2019-01-14
6+
7+
### Added
8+
9+
- Nothing.
10+
11+
### Changed
12+
13+
- Nothing.
14+
15+
### Deprecated
16+
17+
- Nothing.
18+
19+
### Removed
20+
21+
- Removes the ListenerShouldQueue interface. Queueing is always based on the
22+
combination of the queue/task runner in use by the application, and the
23+
listener provider to which the listener attaches. As such, no interface is
24+
needed.
25+
26+
### Fixed
27+
28+
- Nothing.
29+
530
## 0.2.1 - 2019-01-10
631

732
### Added

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2018, Zend Technologies USA, Inc.
1+
Copyright (c) 2018 - 2019, Matthew Weier O'Phinney
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
[![Build Status](https://secure.travis-ci.org/phly/phly-event-dispatcher.svg?branch=master)](https://secure.travis-ci.org/phly/phly-event-dispatcher)
44
[![Coverage Status](https://coveralls.io/repos/github/phly/phly-event-dispatcher/badge.svg?branch=master)](https://coveralls.io/github/phly/phly-event-dispatcher?branch=master)
55

6-
This library provides an experimental implementation of PSR-14 (Event Processing
7-
and Notification).
6+
This library provides an experimental implementation of [PSR-14 (Event
7+
Dispatcher)](https://github.com/php-fig/fig-standards/blob/bb8df27dba53fa5cbc653d1d446f850e5690f3cc/proposed/event-dispatcher.md).
88

99
## Installation
1010

TODO.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/CONTRIBUTING.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ If you wish to contribute to this project, please be sure to
66
read/subscribe to the following resources:
77

88
- [Coding Standards](https://github.com/zendframework/zend-coding-standard)
9-
- [Forums](https://discourse.zendframework.com/c/contributors)
10-
- [Chat](https://zendframework-slack.herokuapp.com)
119
- [Code of Conduct](CODE_OF_CONDUCT.md)
1210

1311
If you are working on new features or refactoring

docs/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- [ ] I was not able to find an [open](https://github.com/phly/event-dispatcher/issues?q=is%3Aopen) or [closed](https://github.com/phly/event-dispatcher/issues?q=is%3Aclosed) issue matching what I'm seeing.
2-
- [ ] This is not a question. (Questions should be asked on [chat](https://zendframework.slack.com/) ([Signup here](https://zendframework-slack.herokuapp.com/)) or our [forums](https://discourse.zendframework.com/).)
2+
- [ ] This is not a question.
33

44
Provide a narrative description of what you are trying to accomplish.
55

docs/SUPPORT.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
# Getting Support
22

3-
Zend Framework offers three support channels:
3+
This project offers the following support channel(s):
44

5-
- For real-time questions, use our
6-
[chat](https://zendframework-slack.herokuapp.com)
7-
- For detailed questions (e.g., those requiring examples) use our
8-
[forums](https://discourse.zendframework.com/c/questions/components)
95
- To report issues, use this repository's
106
[issue tracker](https://github.com/phly/event-dispatcher/issues/new)
117

12-
**DO NOT** use the issue tracker to ask questions; use chat or the forums for
13-
that. Questions posed to the issue tracker will be closed.
8+
**DO NOT** use the issue tracker to ask questions.
149

1510
When reporting an issue, please include the following details:
1611

docs/book/queued-listeners.md

Lines changed: 0 additions & 117 deletions
This file was deleted.

mkdocs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ pages:
77
- "Event Dispatcher": dispatcher.md
88
- "Listener Providers": listener-providers.md
99
- "Lazy Listeners": lazy-listeners.md
10-
- "Queued Listeners": queued-listeners.md
1110
- "Services": services.md
1211
site_name: 'phly-event-dispatcher'
1312
site_description: 'Component Description goes here'

0 commit comments

Comments
 (0)