[stable28] fix: Apply checks on shares in the middleware #10164
psalm.yml
on: pull_request
static-psalm-analysis
2m 52s
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.
|