chore: Configure actions #3
psalm.yml
on: pull_request
static-psalm-analysis
17s
Annotations
4 errors
UndefinedClass:
lib/Controller/AdminGroupController.php#L62
lib/Controller/AdminGroupController.php:62:36: UndefinedClass: Class, interface or enum named OCA\Settings\Settings\Admin\Users does not exist (see https://psalm.dev/019)
|
InvalidArgument:
lib/Controller/AdminGroupController.php#L62
lib/Controller/AdminGroupController.php:62:36: InvalidArgument: Argument 1 of OCP\AppFramework\Http\Attribute\AuthorizedAdminSetting::__construct expects class-string<OCP\Settings\IDelegatedSettings>, but OCA\Settings\Settings\Admin\Users::class provided (see https://psalm.dev/004)
|
FalsableReturnStatement:
lib/Controller/AdminGroupController.php#L108
lib/Controller/AdminGroupController.php:108:10: FalsableReturnStatement: The declared return type 'OCP\IUser' for OCA\AdminGroupManager\Controller\AdminGroupController::createUser does not allow false, but the function returns 'OCP\IUser|false' (see https://psalm.dev/137)
|
static-psalm-analysis
Process completed with exit code 2.
|