Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-08-25 09:02:52 +0300
committerJulius Härtl <jus@bitgrid.net>2022-08-25 12:04:53 +0300
commitdf441b7f29ab09e0589086c1d6903528249df1ba (patch)
tree6fd56e4f3724afbcdba63c21bea4bb0e28dea41e /tests
parent890e615929daabf0744301aacdad7f62d81ebfa2 (diff)
Add stub for psalm
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/stub.phpstub20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/stub.phpstub b/tests/stub.phpstub
new file mode 100644
index 000000000..20648d1c6
--- /dev/null
+++ b/tests/stub.phpstub
@@ -0,0 +1,20 @@
+<?php
+
+declare(strict_types=1);
+
+namespace OC\Hooks {
+ class Emitter {}
+}
+
+namespace OC\AppFramework\OCS {
+ class BaseResponse {}
+}
+
+namespace OCA\Viewer\Event {
+ class LoadViewer extends \OCP\EventDispatcher\Event {}
+}
+
+namespace OC\User {
+ class NoUserException extends \Exception {}
+}
+