Declarative Settings API #533
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
lint.yml
on: pull_request
Matrix: php-cs
Matrix: php-lint
Matrix: php-psalm-analysis
info.xml lint
6s
security analysis
22s
eslint
27s
stylelint
25s
Lint-OK
0s
Annotations
10 errors
UndefinedInterfaceMethod:
lib/AppInfo/Application.php#L68
lib/AppInfo/Application.php:68:13: UndefinedInterfaceMethod: Method OCP\AppFramework\Bootstrap\IRegistrationContext::registerDeclarativeSettings does not exist (see https://psalm.dev/181)
|
MissingDependency:
lib/AppInfo/Application.php#L68
lib/AppInfo/Application.php:68:41: MissingDependency: OCA\AppAPI\DeclarativeSettings\DeclarativeSettingsForm depends on class or interface ocp\settings\ideclarativesettingsform that does not exist (see https://psalm.dev/157)
|
InvalidArgument:
lib/AppInfo/Application.php#L69
lib/AppInfo/Application.php:69:76: InvalidArgument: Argument 2 of OCP\AppFramework\Bootstrap\IRegistrationContext::registerEventListener expects class-string<OCP\EventDispatcher\IEventListener<OCP\EventDispatcher\Event>>, but OCA\AppAPI\Listener\DeclarativeSettings\GetValueListener::class provided (see https://psalm.dev/004)
|
InvalidArgument:
lib/AppInfo/Application.php#L70
lib/AppInfo/Application.php:70:76: InvalidArgument: Argument 2 of OCP\AppFramework\Bootstrap\IRegistrationContext::registerEventListener expects class-string<OCP\EventDispatcher\IEventListener<OCP\EventDispatcher\Event>>, but OCA\AppAPI\Listener\DeclarativeSettings\SetValueListener::class provided (see https://psalm.dev/004)
|
UndefinedClass:
lib/DeclarativeSettings/DeclarativeSettingsForm.php#L9
lib/DeclarativeSettings/DeclarativeSettingsForm.php:9:42: UndefinedClass: Class, interface or enum named OCP\Settings\IDeclarativeSettingsForm does not exist (see https://psalm.dev/019)
|
UndefinedDocblockClass:
lib/Listener/DeclarativeSettings/GetValueListener.php#L17
lib/Listener/DeclarativeSettings/GetValueListener.php:17:7: UndefinedDocblockClass: Docblock-defined class, interface or enum named OCP\Settings\GetDeclarativeSettingsValueEvent does not exist (see https://psalm.dev/200)
|
InvalidTemplateParam:
lib/Listener/DeclarativeSettings/GetValueListener.php#L17
lib/Listener/DeclarativeSettings/GetValueListener.php:17:35: InvalidTemplateParam: Extended template param T expects type OCP\EventDispatcher\Event, type OCP\Settings\GetDeclarativeSettingsValueEvent given (see https://psalm.dev/183)
|
ImplementedParamTypeMismatch:
lib/Listener/DeclarativeSettings/GetValueListener.php#L23
lib/Listener/DeclarativeSettings/GetValueListener.php:23:31: ImplementedParamTypeMismatch: Argument 1 of OCA\AppAPI\Listener\DeclarativeSettings\GetValueListener::handle has wrong type 'OCP\EventDispatcher\Event', expecting 'OCP\Settings\GetDeclarativeSettingsValueEvent' as defined by OCP\EventDispatcher\IEventListener::handle (see https://psalm.dev/199)
|
UndefinedClass:
lib/Listener/DeclarativeSettings/GetValueListener.php#L24
lib/Listener/DeclarativeSettings/GetValueListener.php:24:26: UndefinedClass: Class, interface or enum named OCP\Settings\GetDeclarativeSettingsValueEvent does not exist (see https://psalm.dev/019)
|
UndefinedDocblockClass:
lib/Listener/DeclarativeSettings/SetValueListener.php#L16
lib/Listener/DeclarativeSettings/SetValueListener.php:16:7: UndefinedDocblockClass: Docblock-defined class, interface or enum named OCP\Settings\SetDeclarativeSettingsValueEvent does not exist (see https://psalm.dev/200)
|