Skip to content

feat(config): implement config lexicon #41007

feat(config): implement config lexicon

feat(config): implement config lexicon #41007

Triggered via pull request April 3, 2024 17:14
Status Failure
Total duration 22m 3s
Artifacts

static-code-analysis.yml

on: pull_request
static-code-analysis
5m 18s
static-code-analysis
static-code-analysis-security
15m 7s
static-code-analysis-security
static-code-analysis-ocp
3m 38s
static-code-analysis-ocp
Fit to window
Zoom out
Zoom in

Annotations

25 errors
InvalidDocblock: lib/public/AppFramework/Bootstrap/IRegistrationContext.php#L414
lib/public/AppFramework/Bootstrap/IRegistrationContext.php:414:2: InvalidDocblock: PHPDoc is required for methods in OCP. (see https://psalm.dev/008)
InvalidDocblock: lib/public/ConfigLexicon/IConfigLexicon.php#L5
lib/public/ConfigLexicon/IConfigLexicon.php:5:1: InvalidDocblock: PHPDoc is required for classes/interfaces in OCP. (see https://psalm.dev/008)
InvalidDocblock: lib/public/ConfigLexicon/IConfigLexicon.php#L6
lib/public/ConfigLexicon/IConfigLexicon.php:6:2: InvalidDocblock: PHPDoc is required for methods in OCP. (see https://psalm.dev/008)
InvalidDocblock: lib/public/ConfigLexicon/IConfigLexicon.php#L11
lib/public/ConfigLexicon/IConfigLexicon.php:11:2: InvalidDocblock: @SInCE is required for methods in OCP. (see https://psalm.dev/008)
InvalidDocblock: lib/public/ConfigLexicon/IConfigLexicon.php#L15
lib/public/ConfigLexicon/IConfigLexicon.php:15:2: InvalidDocblock: @SInCE is required for methods in OCP. (see https://psalm.dev/008)
InvalidDocblock: lib/public/ConfigLexicon/IConfigLexiconEntry.php#L27
lib/public/ConfigLexicon/IConfigLexiconEntry.php:27:1: InvalidDocblock: PHPDoc is required for classes/interfaces in OCP. (see https://psalm.dev/008)
InvalidDocblock: lib/public/ConfigLexicon/IConfigLexiconEntry.php#L28
lib/public/ConfigLexicon/IConfigLexiconEntry.php:28:2: InvalidDocblock: PHPDoc is required for constants in OCP. (see https://psalm.dev/008)
InvalidDocblock: lib/public/ConfigLexicon/IConfigLexiconEntry.php#L29
lib/public/ConfigLexicon/IConfigLexiconEntry.php:29:2: InvalidDocblock: PHPDoc is required for constants in OCP. (see https://psalm.dev/008)
InvalidDocblock: lib/public/ConfigLexicon/IConfigLexiconEntry.php#L30
lib/public/ConfigLexicon/IConfigLexiconEntry.php:30:2: InvalidDocblock: PHPDoc is required for constants in OCP. (see https://psalm.dev/008)
InvalidDocblock: lib/public/ConfigLexicon/IConfigLexiconEntry.php#L31
lib/public/ConfigLexicon/IConfigLexiconEntry.php:31:2: InvalidDocblock: PHPDoc is required for constants in OCP. (see https://psalm.dev/008)
InvalidReturnType: lib/private/AppConfig.php#L1560
lib/private/AppConfig.php:1560:63: InvalidReturnType: The declared return type 'array<array-key, mixed>' for OC\AppConfig::getConfigDetailsFromLexicon is incorrect, got 'OCP\ConfigLexicon\IConfigLexicon|array{entries: array<string, OCP\ConfigLexicon\IConfigLexiconEntry>, strict: bool}' (see https://psalm.dev/011)
InvalidPropertyAssignmentValue: lib/private/AppConfig.php#L1568
lib/private/AppConfig.php:1568:4: InvalidPropertyAssignmentValue: $this->configLexiconDetails with declared type 'array<string, OCP\ConfigLexicon\IConfigLexicon>' cannot be assigned type 'non-empty-array<string, OCP\ConfigLexicon\IConfigLexicon|array{entries: array<string, OCP\ConfigLexicon\IConfigLexiconEntry>, strict: bool}>' (see https://psalm.dev/145)
InvalidReturnStatement: lib/private/AppConfig.php#L1574
lib/private/AppConfig.php:1574:10: InvalidReturnStatement: The inferred type 'OCP\ConfigLexicon\IConfigLexicon|array{entries: array<string, OCP\ConfigLexicon\IConfigLexiconEntry>, strict: bool}' does not match the declared return type 'array<array-key, mixed>' for OC\AppConfig::getConfigDetailsFromLexicon (see https://psalm.dev/128)
TooManyArguments: lib/private/AppFramework/Bootstrap/RegistrationContext.php#L955
lib/private/AppFramework/Bootstrap/RegistrationContext.php:955:20: TooManyArguments: Too many arguments for OCP\Server::get - expecting 1 but saw 2 (see https://psalm.dev/026)
static-code-analysis
Process completed with exit code 2.
TaintedHtml: apps/admin_audit/lib/Actions/Action.php#L63
apps/admin_audit/lib/Actions/Action.php:63:16: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
TaintedCallable: apps/files_external/lib/Config/ConfigAdapter.php#L75
apps/files_external/lib/Config/ConfigAdapter.php:75:50: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedFile: apps/files_external/lib/Lib/Storage/SFTP.php#L246
apps/files_external/lib/Lib/Storage/SFTP.php:246:17: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedFile: apps/files_external/lib/Lib/Storage/SFTP.php#L267
apps/files_external/lib/Lib/Storage/SFTP.php:267:19: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedFile: apps/files_external/lib/Lib/Storage/SFTP.php#L412
apps/files_external/lib/Lib/Storage/SFTP.php:412:22: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedCookie: apps/files_sharing/lib/Controller/ShareController.php#L468
apps/files_sharing/lib/Controller/ShareController.php:468:35: TaintedCookie: Detected tainted cookie (see https://psalm.dev/257)
TaintedFile: apps/theming/lib/IconBuilder.php#L137
apps/theming/lib/IconBuilder.php:137:40: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedFile: apps/theming/lib/IconBuilder.php#L235
apps/theming/lib/IconBuilder.php:235:28: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedHeader: lib/base.php#L205
lib/base.php:205:12: TaintedHeader: Detected tainted header (see https://psalm.dev/256)
TaintedHeader: lib/base.php#L287
lib/base.php:287:12: TaintedHeader: Detected tainted header (see https://psalm.dev/256)