Skip to content

Update PHPStan packages (major) #44

Update PHPStan packages (major)

Update PHPStan packages (major) #44

Triggered via pull request November 13, 2024 10:48
Status Failure
Total duration 23s
Artifacts

code-quality.yml

on: pull_request
code-quality
11s
code-quality
Fit to window
Zoom out
Zoom in

Annotations

10 errors
code-quality: src/API/ActivityResponse.php#L64
Parameter #1 $value of function intval expects array|bool|float|int|resource|string|null, mixed given.
code-quality: src/API/ActivityResponse.php#L65
Parameter #1 $value of function intval expects array|bool|float|int|resource|string|null, mixed given.
code-quality: src/API/ActivityResponse.php#L66
Parameter #1 $value of function intval expects array|bool|float|int|resource|string|null, mixed given.
code-quality: src/API/ActivityResponse.php#L68
Property Omines\Akismet\API\ActivityResponse::$months (array<string, array<int, array{site: string, api_calls: string, spam: string, ham: string, missed_spam: string, false_positives: string, is_revoked: bool}>>) does not accept array<mixed>.
code-quality: src/API/Response.php#L37
Method Omines\Akismet\API\Response::getHeaders() should return array<string, array<string>> but returns array<array<string>>.
code-quality: src/API/UsageLimitResponse.php#L58
Parameter #1 $value of function intval expects array|bool|float|int|resource|string|null, mixed given.
code-quality: src/API/UsageLimitResponse.php#L59
Parameter #1 $value of function intval expects array|bool|float|int|resource|string|null, mixed given.
code-quality: src/API/UsageLimitResponse.php#L60
Parameter #1 $value of function floatval expects array|bool|float|int|resource|string|null, mixed given.
code-quality: src/AkismetMessage.php#L216
Cannot access an offset on mixed.
code-quality: src/AkismetMessage.php#L233
Method Omines\Akismet\AkismetMessage::getContext() should return array<string> but returns mixed.