Skip to content

Ci/phpstan

Ci/phpstan #1

Triggered via pull request January 2, 2025 14:13
Status Failure
Total duration 49s
Artifacts

phpstan.yml

on: pull_request
static-phpstan-analysis
35s
static-phpstan-analysis
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
static-phpstan-analysis: lib/Controller/APIController.php#L71
Parameter #1 $data of class OCP\AppFramework\Http\DataResponse constructor expects T of OCP\AppFramework\Http\DataResponseType, list<array<string, int|true>> given.
static-phpstan-analysis: lib/Controller/APIController.php#L78
Parameter #1 $data of class OCP\AppFramework\Http\DataResponse constructor expects T of OCP\AppFramework\Http\DataResponseType, array given.
static-phpstan-analysis: lib/Controller/APIController.php#L82
Parameter #1 $data of class OCP\AppFramework\Http\DataResponse constructor expects T of OCP\AppFramework\Http\DataResponseType, array given.
static-phpstan-analysis: lib/Controller/APIController.php#L98
Parameter #1 $data of class OCP\AppFramework\Http\DataResponse constructor expects T of OCP\AppFramework\Http\DataResponseType, array<string, int|true> given.
static-phpstan-analysis: lib/Controller/APIController.php#L121
Parameter #1 $data of class OCP\AppFramework\Http\DataResponse constructor expects T of OCP\AppFramework\Http\DataResponseType, array given.
static-phpstan-analysis: lib/Controller/APIController.php#L133
Parameter #1 $data of class OCP\AppFramework\Http\DataResponse constructor expects T of OCP\AppFramework\Http\DataResponseType, array given.
static-phpstan-analysis
Process completed with exit code 1.
static-phpstan-analysis
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636