Skip to content

[stable28] fix: Apply checks on shares in the middleware #10164

[stable28] fix: Apply checks on shares in the middleware

[stable28] fix: Apply checks on shares in the middleware #10164

Triggered via pull request October 1, 2024 20:00
Status Failure
Total duration 7m 18s
Artifacts

psalm.yml

on: pull_request
static-psalm-analysis
2m 52s
static-psalm-analysis
Fit to window
Zoom out
Zoom in

Annotations

4 errors
UndefinedInterfaceMethod: lib/Middleware/SessionMiddleware.php#L122
lib/Middleware/SessionMiddleware.php:122:51: UndefinedInterfaceMethod: Method OCP\Files\Folder::getFirstNodeById does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: lib/Middleware/SessionMiddleware.php#L133
lib/Middleware/SessionMiddleware.php:133:71: UndefinedInterfaceMethod: Method OCP\Files\Folder::getFirstNodeById does not exist (see https://psalm.dev/181)
RedundantConditionGivenDocblockType: lib/Middleware/SessionMiddleware.php#L138
lib/Middleware/SessionMiddleware.php:138:8: RedundantConditionGivenDocblockType: Docblock-defined type string can never contain null (see https://psalm.dev/156)
static-psalm-analysis
Process completed with exit code 2.