refactor: Use Http framework where possible #52458
Triggered via pull request
December 14, 2024 10:01
Status
Cancelled
Total duration
4m 40s
Artifacts
–
static-code-analysis.yml
on: pull_request
static-code-analysis
3m 9s
static-code-analysis-security
4m 0s
static-code-analysis-ocp
1m 10s
static-code-analysis-ncu
21s
Annotations
13 errors and 2 warnings
UndefinedClass:
apps/dav/lib/Connector/Sabre/BearerAuth.php#L60
apps/dav/lib/Connector/Sabre/BearerAuth.php:60:24: UndefinedClass: Class, interface or enum named OCA\DAV\Connector\Sabre\Http does not exist (see https://psalm.dev/019)
|
ParseError:
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)
|
MethodSignatureMismatch:
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)
|
ImplementedParamTypeMismatch:
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)
|
UndefinedMethod:
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)
|
UndefinedMethod:
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)
|
UndefinedMethod:
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)
|
UndefinedMethod:
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)
|
InvalidPropertyAssignmentValue:
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)
|
static-code-analysis
Process completed with exit code 2.
|
static-code-analysis-security
Canceling since a higher priority waiting request for 'static-code-analysis-useHttpFramework' exists
|
static-code-analysis-security
The operation was canceled.
|
static-code-analysis-security
Path does not exist: results.sarif
|
static-code-analysis-ncu
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
static-code-analysis-ocp
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|