composer require pronamic/wp-coding-standards --dev -W #58
Annotations
10 errors
Run PHPStan:
src/BrowserInformation.php#L348
Return type of Pronamic\WordPress\Pay\Gateways\Adyen\BrowserInformation::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
|
Run PHPStan:
src/Gateway.php#L84
Parameter #1 $string of function md5 expects string, string|false given.
|
Run PHPStan:
src/Gateway.php#L119
Method Pronamic\WordPress\Pay\Gateways\Adyen\Gateway::get_payment_methods() has parameter $args with no value type specified in iterable type array.
|
Run PHPStan:
src/Gateway.php#L135
Parameter #1 $string of function md5 expects string, string|false given.
|
Run PHPStan:
src/Gateway.php#L150
Parameter #1 $id of method Pronamic\WordPress\Pay\Core\Gateway::get_payment_method() expects string, string|null given.
|
Run PHPStan:
src/Gateway.php#L221
Parameter #1 $type of class Pronamic\WordPress\Pay\Gateways\Adyen\PaymentMethodDetails constructor expects string, string|null given.
|
Run PHPStan:
src/Integration.php#L549
Parameter #1 $url of function esc_url expects string, string|null given.
|
Run PHPStan:
src/PaymentMethodDetails.php#L40
Return type of Pronamic\WordPress\Pay\Gateways\Adyen\PaymentMethodDetails::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
|
Run PHPStan:
src/ReturnController.php#L271
Method Pronamic\WordPress\Pay\Gateways\Adyen\ReturnController::rest_api_adyen_redirect_permission() should return bool but returns int|false.
|
Run PHPStan:
src/ReturnController.php#L353
Method Pronamic\WordPress\Pay\Gateways\Adyen\ReturnController::rest_api_adyen_error_permission() should return bool but returns int|false.
|
The logs for this run have expired and are no longer available.
Loading