Skip to content

JWT authentication & Clean up the board #30

JWT authentication & Clean up the board

JWT authentication & Clean up the board #30

Triggered via pull request June 18, 2024 09:31
@hweihwanghweihwang
synchronize #23
feat/auth
Status Failure
Total duration 3m 18s
Artifacts

psalm.yml

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

Annotations

10 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#L39
lib/Controller/WhiteboardController.php:39: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#L52
lib/Controller/WhiteboardController.php:52:4: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
PossiblyInvalidArgument: lib/Controller/WhiteboardController.php#L60
lib/Controller/WhiteboardController.php:60: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)
UndefinedDocblockClass: lib/Controller/WhiteboardController.php#L80
lib/Controller/WhiteboardController.php:80: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#L93
lib/Controller/WhiteboardController.php:93:4: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
PossiblyInvalidArgument: lib/Controller/WhiteboardController.php#L101
lib/Controller/WhiteboardController.php:101: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.