diff options
author | Joas Schilling <coding@schilljs.com> | 2023-10-22 12:11:18 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-10-22 12:11:18 +0200 |
commit | f7e1025e84484ee68a5994a1437ecc8482d1b917 (patch) | |
tree | b9b09eb65b3be4bdc04e5d6654e5ef79aa342a84 | |
parent | 067dc1d03c91403a41fda152a4439e29ccd93fca (diff) |
fix(CI): Add stub for circles events
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | psalm.xml | 1 | ||||
-rw-r--r-- | tests/stubs/oca_circles.php | 27 |
2 files changed, 28 insertions, 0 deletions
@@ -89,6 +89,7 @@ <file name="tests/stubs/oc_comments_manager.php" /> <file name="tests/stubs/oc_core_command_base.php" /> <file name="tests/stubs/oc_hooks_emitter.php" /> + <file name="tests/stubs/oca_circles.php" /> <file name="tests/stubs/GuzzleHttp_Exception_ClientException.php" /> <file name="tests/stubs/GuzzleHttp_Exception_ConnectException.php" /> <file name="tests/stubs/GuzzleHttp_Exception_ServerException.php" /> diff --git a/tests/stubs/oca_circles.php b/tests/stubs/oca_circles.php new file mode 100644 index 000000000..5d35bbbdc --- /dev/null +++ b/tests/stubs/oca_circles.php @@ -0,0 +1,27 @@ +<?php + +namespace OCA\Circles\Events { + + use OCA\Circles\Model\Circle; + use OCA\Circles\Model\Member; + use OCP\EventDispatcher\Event; + + class AddingCircleMemberEvent extends Event { + public function getCircle(): Circle { + } + public function getMember(): Member { + } + } + + class CircleDestroyedEvent extends Event { + public function getCircle(): Circle { + } + } + + class RemovingCircleMemberEvent extends Event { + public function getCircle(): Circle { + } + public function getMember(): Member { + } + } +} |