diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-07-08 12:45:31 +0300 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-07-08 12:45:31 +0300 |
commit | 6bebe9a8e80323d78c63086badc230820fefc36a (patch) | |
tree | 66248a8b566cefbae43c0c6fd01052a27ec2dc65 /tests | |
parent | 14b26e861c97858c08a2194cb5fdedd8c26bf81a (diff) |
More stub
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/psalm-baseline.xml | 6 | ||||
-rw-r--r-- | tests/stub.phpstub | 8 |
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 {} + } +} |