Signed requests #44712
Annotations
10 errors
apps/cloud_federation_api/lib/Controller/RequestHandlerController.php#L319
apps/cloud_federation_api/lib/Controller/RequestHandlerController.php:319:69: InvalidArgument: Argument 2 of OCP\IAppConfig::getValueBool cannot be false, string value expected (see https://psalm.dev/004)
|
lib/private/OCM/Model/OCMProvider.php#L210
lib/private/OCM/Model/OCMProvider.php:210:13: InvalidReturnType: The declared return type 'array{apiVersion: string, enabled: bool, endPoint: string, resourceTypes: array<array-key, array{name: string, protocols: array<string, string>, shareTypes: array<array-key, string>}>}' for OC\OCM\Model\OCMProvider::jsonSerialize is incorrect, got 'array{apiVersion: '1.0-proposal1', enabled: bool, endPoint: string, publicKey: OCP\Security\Signature\Model\ISignatory|null, resourceTypes: list<array{name: string, protocols: array<string, string>, shareTypes: array<array-key, string>}>, version: string}' which is different due to additional array shape fields (version, publicKey) (see https://psalm.dev/011)
|
lib/private/OCM/Model/OCMProvider.php#L227
lib/private/OCM/Model/OCMProvider.php:227:10: InvalidReturnStatement: The inferred type 'array{apiVersion: '1.0-proposal1', enabled: bool, endPoint: string, publicKey: OCP\Security\Signature\Model\ISignatory|null, resourceTypes: list<array{name: string, protocols: array<string, string>, shareTypes: array<array-key, string>}>, version: string}' does not match the declared return type 'array{apiVersion: string, enabled: bool, endPoint: string, resourceTypes: array<array-key, array{name: string, protocols: array<string, string>, shareTypes: array<array-key, string>}>}' for OC\OCM\Model\OCMProvider::jsonSerialize due to additional array shape fields (version, publicKey) (see https://psalm.dev/128)
|
lib/private/Security/Signature/Model/Signatory.php#L129
lib/private/Security/Signature/Model/Signatory.php:129:24: UndefinedVariable: Cannot find referenced variable $data (see https://psalm.dev/024)
|
lib/private/Security/Signature/Model/Signatory.php#L130
lib/private/Security/Signature/Model/Signatory.php:130:18: UndefinedVariable: Cannot find referenced variable $data (see https://psalm.dev/024)
|
lib/private/Security/Signature/Model/Signatory.php#L131
lib/private/Security/Signature/Model/Signatory.php:131:19: UndefinedVariable: Cannot find referenced variable $data (see https://psalm.dev/024)
|
lib/private/Security/Signature/Model/Signatory.php#L132
lib/private/Security/Signature/Model/Signatory.php:132:35: UndefinedVariable: Cannot find referenced variable $data (see https://psalm.dev/024)
|
lib/private/Security/Signature/Model/Signatory.php#L133
lib/private/Security/Signature/Model/Signatory.php:133:39: UndefinedVariable: Cannot find referenced variable $data (see https://psalm.dev/024)
|
lib/private/Security/Signature/Model/Signatory.php#L134
lib/private/Security/Signature/Model/Signatory.php:134:19: UndefinedVariable: Cannot find referenced variable $data (see https://psalm.dev/024)
|
lib/private/Security/Signature/Model/Signatory.php#L135
lib/private/Security/Signature/Model/Signatory.php:135:22: UndefinedVariable: Cannot find referenced variable $data (see https://psalm.dev/024)
|
This job failed
Loading