refactor: Use Http framework where possible #52457
Annotations
10 errors
Psalm:
apps/dav/lib/Connector/Sabre/BearerAuth.php#L60
apps/dav/lib/Connector/Sabre/BearerAuth.php:60:24: InvalidNamedArgument: Parameter $Http does not exist on function Sabre\HTTP\ResponseInterface::setStatus (see https://psalm.dev/238)
|
Psalm:
apps/dav/lib/Connector/Sabre/BearerAuth.php#L60
apps/dav/lib/Connector/Sabre/BearerAuth.php:60:29: UndefinedConstant: Const STATUS_UNAUTHORIZED is not defined (see https://psalm.dev/020)
|
Psalm:
apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php#L15
apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php:15:1: ParseError: Syntax error, unexpected T_USE, expecting ';' on line 15 (see https://psalm.dev/173)
|
Psalm:
apps/dav/lib/Upload/ChunkingV2Plugin.php#L71
apps/dav/lib/Upload/ChunkingV2Plugin.php:71:36: MethodSignatureMismatch: Argument 1 of OCA\DAV\Upload\ChunkingV2Plugin::initialize has wrong type 'OCP\Server', expecting 'Sabre\DAV\Server' as defined by Sabre\DAV\ServerPlugin::initialize (see https://psalm.dev/042)
|
Psalm:
apps/dav/lib/Upload/ChunkingV2Plugin.php#L71
apps/dav/lib/Upload/ChunkingV2Plugin.php:71:36: ImplementedParamTypeMismatch: Argument 1 of OCA\DAV\Upload\ChunkingV2Plugin::initialize has wrong type 'OCP\Server', expecting 'Sabre\DAV\Server' as defined by Sabre\DAV\ServerPlugin::initialize (see https://psalm.dev/199)
|
Psalm:
apps/dav/lib/Upload/ChunkingV2Plugin.php#L72
apps/dav/lib/Upload/ChunkingV2Plugin.php:72:12: UndefinedMethod: Method OCP\Server::on does not exist (see https://psalm.dev/022)
|
Psalm:
apps/dav/lib/Upload/ChunkingV2Plugin.php#L73
apps/dav/lib/Upload/ChunkingV2Plugin.php:73:12: UndefinedMethod: Method OCP\Server::on does not exist (see https://psalm.dev/022)
|
Psalm:
apps/dav/lib/Upload/ChunkingV2Plugin.php#L74
apps/dav/lib/Upload/ChunkingV2Plugin.php:74:12: UndefinedMethod: Method OCP\Server::on does not exist (see https://psalm.dev/022)
|
Psalm:
apps/dav/lib/Upload/ChunkingV2Plugin.php#L75
apps/dav/lib/Upload/ChunkingV2Plugin.php:75:12: UndefinedMethod: Method OCP\Server::on does not exist (see https://psalm.dev/022)
|
Psalm:
apps/dav/lib/Upload/ChunkingV2Plugin.php#L77
apps/dav/lib/Upload/ChunkingV2Plugin.php:77:19: InvalidPropertyAssignmentValue: $this->server with declared type 'Sabre\DAV\Server' cannot be assigned type 'OCP\Server' (see https://psalm.dev/145)
|
Loading