aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/EventDispatcher/IEventDispatcher.php
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-05-241-20/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* add hasListeners()Maxence Lange2024-02-141-0/+9
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add a hint about the direction of priorityJoas Schilling2021-01-151-2/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Type the event dispatcher listener callables with PsalmChristoph Wurst2020-10-281-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Deprecate \OCP\EventDispatcher\IEventDispatcher::dispatchChristoph Wurst2020-10-271-0/+1
| | | | | | | As discussed in https://help.nextcloud.com/t/deprecation-of-ieventdispatcher-dispatch/95381 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add psalm types for the event dispatcherChristoph Wurst2020-10-151-0/+10
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow to remove listenersJoas Schilling2020-02-271-0/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersChristoph Wurst2019-12-051-2/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add Symfony inspired typed event dispatcher methodChristoph Wurst2019-09-111-0/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add event dispatcher to OCPChristoph Wurst2019-06-251-0/+61
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>