Escape var values in exception messages. #64
Annotations
10 errors
Run PHPStan:
src/Address.php#L128
Parameter #1 $text of function esc_html expects string, int given.
|
Run PHPStan:
src/Address.php#L168
Parameter #1 $text of function esc_html expects string, int given.
|
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/Client.php#L76
Parameter #1 $text of function esc_html expects string, int|string given.
|
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/Gateway.php#L247
Parameter #1 $text of function esc_html expects string, string|null given.
|
The logs for this run have expired and are no longer available.
Loading