feat(config): implement config lexicon #41728
Annotations
8 errors
Psalm:
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)
|
Psalm:
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)
|
Psalm:
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)
|
Psalm:
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)
|
Psalm:
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)
|
Psalm:
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)
|
Psalm:
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)
|
Psalm
Process completed with exit code 2.
|
Loading