feat(config): implement config lexicon #41728
static-code-analysis.yml
on: pull_request
static-code-analysis
3m 44s
static-code-analysis-security
11m 35s
static-code-analysis-ocp
2m 16s
Annotations
24 errors
InvalidDocblock:
lib/public/ConfigLexicon/IConfigLexiconEntry.php#L36
lib/public/ConfigLexicon/IConfigLexiconEntry.php:36:2: InvalidDocblock: PHPDoc is required for constants in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/ConfigLexicon/IConfigLexiconEntry.php#L37
lib/public/ConfigLexicon/IConfigLexiconEntry.php:37:2: InvalidDocblock: PHPDoc is required for constants in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/ConfigLexicon/IConfigLexiconEntry.php#L38
lib/public/ConfigLexicon/IConfigLexiconEntry.php:38:2: InvalidDocblock: PHPDoc is required for constants in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/ConfigLexicon/IConfigLexiconEntry.php#L39
lib/public/ConfigLexicon/IConfigLexiconEntry.php:39:2: InvalidDocblock: PHPDoc is required for constants in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/ConfigLexicon/IConfigLexiconEntry.php#L40
lib/public/ConfigLexicon/IConfigLexiconEntry.php:40:2: InvalidDocblock: PHPDoc is required for constants in OCP. (see https://psalm.dev/008)
|
static-code-analysis-ocp
Process completed with exit code 2.
|
MoreSpecificReturnType:
lib/private/AppConfig.php#L1628
lib/private/AppConfig.php:1628:13: MoreSpecificReturnType: The declared return type 'array{entries: array<array-key, OCP\ConfigLexicon\IConfigLexiconEntry>, strict: bool}' for OC\AppConfig::getConfigDetailsFromLexicon is more specific than the inferred return type 'array{entries: array<array-key, OCP\ConfigLexicon\IConfigLexiconEntry|mixed>, strict: bool|mixed}' (see https://psalm.dev/070)
|
UndefinedClass:
lib/private/AppConfig.php#L1635
lib/private/AppConfig.php:1635:13: UndefinedClass: Class, interface or enum named OC\AppFramework\Bootstrap\IConfigLexicon does not exist (see https://psalm.dev/019)
|
UndefinedClass:
lib/private/AppConfig.php#L1641
lib/private/AppConfig.php:1641:17: UndefinedClass: Class, interface or enum named OC\AppFramework\Bootstrap\IConfigLexicon does not exist (see https://psalm.dev/019)
|
LessSpecificReturnStatement:
lib/private/AppConfig.php#L1645
lib/private/AppConfig.php:1645:10: LessSpecificReturnStatement: The type 'array{entries: array<array-key, OCP\ConfigLexicon\IConfigLexiconEntry|mixed>, strict: bool|mixed}' is more general than the declared return type 'array{entries: array<array-key, OCP\ConfigLexicon\IConfigLexiconEntry>, strict: bool}' for OC\AppConfig::getConfigDetailsFromLexicon (see https://psalm.dev/129)
|
InvalidArgument:
lib/private/AppFramework/Bootstrap/RegistrationContext.php#L421
lib/private/AppFramework/Bootstrap/RegistrationContext.php:421:6: InvalidArgument: Argument 2 of OC\AppFramework\Bootstrap\RegistrationContext::registerConfigLexicon expects class-string<OC\AppFramework\Bootstrap\IConfigLexicon>, but class-string<OCP\ConfigLexicon\IConfigLexicon> provided (see https://psalm.dev/004)
|
UndefinedDocblockClass:
lib/private/AppFramework/Bootstrap/RegistrationContext.php#L604
lib/private/AppFramework/Bootstrap/RegistrationContext.php:604:18: UndefinedDocblockClass: Docblock-defined class, interface or enum named OC\AppFramework\Bootstrap\IConfigLexicon does not exist (see https://psalm.dev/200)
|
UndefinedClass:
lib/private/AppFramework/Bootstrap/RegistrationContext.php#L949
lib/private/AppFramework/Bootstrap/RegistrationContext.php:949:51: UndefinedClass: Class, interface or enum named OC\AppFramework\Bootstrap\IConfigLexicon does not exist (see https://psalm.dev/019)
|
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)
|