[main] Fix npm audit #39
Triggered via pull request
November 17, 2024 03:28
Status
Failure
Total duration
30m 40s
Artifacts
–
psalm-matrix.yml
on: pull_request
matrix
10s
Matrix: static-analysis
static-psalm-analysis-summary
4s
Annotations
5 errors
MoreSpecificReturnType:
lib/AppInfo/DashboardWidget.php#L98
lib/AppInfo/DashboardWidget.php:98:83: MoreSpecificReturnType: The declared return type 'list<OCP\Dashboard\Model\WidgetItem>' for OCA\Notes\AppInfo\DashboardWidget::getItems is more specific than the inferred return type 'array<array-key, OCP\Dashboard\Model\WidgetItem>' (see https://psalm.dev/070)
|
LessSpecificReturnStatement:
lib/AppInfo/DashboardWidget.php#L101
lib/AppInfo/DashboardWidget.php:101:10: LessSpecificReturnStatement: The type 'array<array-key, OCP\Dashboard\Model\WidgetItem>' is more general than the declared return type 'list<OCP\Dashboard\Model\WidgetItem>' for OCA\Notes\AppInfo\DashboardWidget::getItems (see https://psalm.dev/129)
|
ArgumentTypeCoercion:
lib/Service/TagService.php#L24
lib/Service/TagService.php:24:56: ArgumentTypeCoercion: Argument 1 of OCP\ITags::getTagsForObjects expects list<int>, but parent type array<array-key, mixed> provided (see https://psalm.dev/193)
|
static-psalm-analysis dev-master
Process completed with exit code 2.
|
static-psalm-analysis-summary
Process completed with exit code 1.
|