Update PHPStan packages #43
Annotations
10 errors
Run static analysis:
src/API/ActivityResponse.php#L64
Parameter #1 $value of function intval expects array|bool|float|int|resource|string|null, mixed given.
|
Run static analysis:
src/API/ActivityResponse.php#L65
Parameter #1 $value of function intval expects array|bool|float|int|resource|string|null, mixed given.
|
Run static analysis:
src/API/ActivityResponse.php#L66
Parameter #1 $value of function intval expects array|bool|float|int|resource|string|null, mixed given.
|
Run static analysis:
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>.
|
Run static analysis:
src/API/Response.php#L37
Method Omines\Akismet\API\Response::getHeaders() should return array<string, array<string>> but returns array<array<string>>.
|
Run static analysis:
src/API/UsageLimitResponse.php#L58
Parameter #1 $value of function intval expects array|bool|float|int|resource|string|null, mixed given.
|
Run static analysis:
src/API/UsageLimitResponse.php#L59
Parameter #1 $value of function intval expects array|bool|float|int|resource|string|null, mixed given.
|
Run static analysis:
src/API/UsageLimitResponse.php#L60
Parameter #1 $value of function floatval expects array|bool|float|int|resource|string|null, mixed given.
|
Run static analysis:
src/AkismetMessage.php#L216
Cannot access an offset on mixed.
|
Run static analysis:
src/AkismetMessage.php#L233
Method Omines\Akismet\AkismetMessage::getContext() should return array<string> but returns mixed.
|
Loading