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

github.com/nextcloud/files_retention.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-07-08 12:58:31 +0300
committerGitHub <noreply@github.com>2022-07-08 12:58:31 +0300
commit8419585959cedfbd18dfa57bfe8e6da8555d9ca4 (patch)
tree8b92af9e3906bdd7795f12c395bc0ae4ab79e860
parent7439110435bd6389ca3f152c49affbe61397c41c (diff)
parent6bebe9a8e80323d78c63086badc230820fefc36a (diff)
Merge pull request #182 from nextcloud/feat/more-stub
More stub
-rw-r--r--tests/psalm-baseline.xml6
-rw-r--r--tests/stub.phpstub8
2 files changed, 9 insertions, 5 deletions
diff --git a/tests/psalm-baseline.xml b/tests/psalm-baseline.xml
index 374b00a..956e90d 100644
--- a/tests/psalm-baseline.xml
+++ b/tests/psalm-baseline.xml
@@ -1,6 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<files psalm-version="4.22.0@fc2c6ab4d5fa5d644d8617089f012f3bb84b8703">
- <file src="lib/BackgroundJob/RetentionJob.php">
- <UndefinedClass occurrences="1"/>
- </file>
-</files>
+<files psalm-version="4.22.0@fc2c6ab4d5fa5d644d8617089f012f3bb84b8703"/>
diff --git a/tests/stub.phpstub b/tests/stub.phpstub
index 8877573..4a61825 100644
--- a/tests/stub.phpstub
+++ b/tests/stub.phpstub
@@ -30,3 +30,11 @@ namespace OC\Hooks {
class BasicEmitter extends Emitter {
}
}
+
+namespace OC\Files {
+ class Filesystem {
+ static public bool $loaded;
+
+ static public function init($userId, $path): void {}
+ }
+}