Skip to content

JWT authentication & Clean up the board #28

JWT authentication & Clean up the board

JWT authentication & Clean up the board #28

Triggered via pull request June 18, 2024 07:39
@hweihwanghweihwang
synchronize #23
feat/auth
Status Failure
Total duration 1m 25s
Artifacts

psalm.yml

on: pull_request
static-psalm-analysis
1m 13s
static-psalm-analysis
Fit to window
Zoom out
Zoom in

Annotations

7 errors
MissingDependency: lib/Controller/JWTController.php#L31
lib/Controller/JWTController.php:31:3: MissingDependency: OCP\Files\IRootFolder depends on class or interface oc\hooks\emitter that does not exist (see https://psalm.dev/157)
MissingDependency: lib/Controller/JWTController.php#L53
lib/Controller/JWTController.php:53:14: MissingDependency: OCP\Files\IRootFolder depends on class or interface oc\hooks\emitter that does not exist (see https://psalm.dev/157)
UndefinedClass: lib/Controller/JWTController.php#L56
lib/Controller/JWTController.php:56:12: UndefinedClass: Class, interface or enum named OC\User\NoUserException does not exist (see https://psalm.dev/019)
UndefinedDocblockClass: lib/Controller/WhiteboardController.php#L51
lib/Controller/WhiteboardController.php:51:13: UndefinedDocblockClass: Docblock-defined class, interface or enum named OC\User\NoUserException does not exist (see https://psalm.dev/200)
PossiblyUndefinedArrayOffset: lib/Controller/WhiteboardController.php#L64
lib/Controller/WhiteboardController.php:64:4: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
PossiblyInvalidArgument: lib/Controller/WhiteboardController.php#L72
lib/Controller/WhiteboardController.php:72:27: PossiblyInvalidArgument: Argument 1 of Firebase\JWT\JWT::decode expects string, but possibly different type float|int|non-falsy-string provided (see https://psalm.dev/092)
static-psalm-analysis
Process completed with exit code 2.