Signed requests #50674
static-code-analysis.yml
on: pull_request
static-code-analysis
4m 28s
static-code-analysis-security
6m 13s
static-code-analysis-ocp
2m 1s
Annotations
10 errors
InvalidDocblock:
lib/public/OCM/IOCMProvider.php#L137
lib/public/OCM/IOCMProvider.php:137:2: InvalidDocblock: @SInCE is required for methods in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/Security/Signature/Model/ISignatory.php#L126
lib/public/Security/Signature/Model/ISignatory.php:126:2: InvalidDocblock: @SInCE is required for methods in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/Security/Signature/Model/ISignatory.php#L153
lib/public/Security/Signature/Model/ISignatory.php:153:2: InvalidDocblock: @SInCE is required for methods in OCP. (see https://psalm.dev/008)
|
static-code-analysis-ocp
Process completed with exit code 2.
|
MoreSpecificReturnType:
apps/cloud_federation_api/lib/Capabilities.php#L34
apps/cloud_federation_api/lib/Capabilities.php:34:13: MoreSpecificReturnType: The declared return type 'array{ocm: array{apiVersion: string, enabled: bool, endPoint: string, resourceTypes: array<array-key, array{name: string, protocols: array<string, string>, shareTypes: array<array-key, string>}>}}' for OCA\CloudFederationAPI\Capabilities::getCapabilities is more specific than the inferred return type 'array{ocm: array{apiVersion: '1.0-proposal1', enabled: bool, endPoint: string, publicKey: OCP\Security\Signature\Model\ISignatory|null, resourceTypes: array<array-key, array{name: string, protocols: array<string, string>, shareTypes: array<array-key, string>}>, version: string}}' (see https://psalm.dev/070)
|
LessSpecificReturnStatement:
apps/cloud_federation_api/lib/Capabilities.php#L75
apps/cloud_federation_api/lib/Capabilities.php:75:10: LessSpecificReturnStatement: The type 'array{ocm: array{apiVersion: '1.0-proposal1', enabled: bool, endPoint: string, publicKey: OCP\Security\Signature\Model\ISignatory|null, resourceTypes: array<array-key, array{name: string, protocols: array<string, string>, shareTypes: array<array-key, string>}>, version: string}}' is more general than the declared return type 'array{ocm: array{apiVersion: string, enabled: bool, endPoint: string, resourceTypes: array<array-key, array{name: string, protocols: array<string, string>, shareTypes: array<array-key, string>}>}}' for OCA\CloudFederationAPI\Capabilities::getCapabilities (see https://psalm.dev/129)
|
TypeDoesNotContainNull:
apps/cloud_federation_api/lib/Controller/RequestHandlerController.php#L111
apps/cloud_federation_api/lib/Controller/RequestHandlerController.php:111:7: TypeDoesNotContainNull: Type string for $owner is never null (see https://psalm.dev/090)
|
TypeDoesNotContainNull:
apps/cloud_federation_api/lib/Controller/RequestHandlerController.php#L114
apps/cloud_federation_api/lib/Controller/RequestHandlerController.php:114:4: TypeDoesNotContainNull: string does not contain null (see https://psalm.dev/090)
|
static-code-analysis
Process completed with exit code 2.
|
TaintedFile:
lib/private/L10N/L10N.php#L215
lib/private/L10N/L10N.php:215:41: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
|