Skip to content

Fix running PHPStan. #33

Fix running PHPStan.

Fix running PHPStan. #33

Triggered via push August 13, 2024 08:09
Status Failure
Total duration 50s
Artifacts

ci.yaml

on: push
Matrix: phplint / phplint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan / phpstan: src/Client.php#L82
Method Pronamic\WordPress\Pay\Gateways\PayNL\Client::send_request() has parameter $parameters with no value type specified in iterable type array.
phpstan / phpstan: src/Client.php#L82
Method Pronamic\WordPress\Pay\Gateways\PayNL\Client::send_request() never returns null so it can be removed from the return type.
phpstan / phpstan: src/Client.php#L82
Method Pronamic\WordPress\Pay\Gateways\PayNL\Client::send_request() return type has no value type specified in iterable type array.
phpstan / phpstan: src/Client.php#L134
Method Pronamic\WordPress\Pay\Gateways\PayNL\Client::send_request() should return array|stdClass|null but returns object.
phpstan / phpstan: src/Client.php#L149
Method Pronamic\WordPress\Pay\Gateways\PayNL\Client::transaction_start() has parameter $request_param with no value type specified in iterable type array.
phpstan / phpstan: src/Client.php#L181
Method Pronamic\WordPress\Pay\Gateways\PayNL\Client::transaction_info() return type has no value type specified in iterable type array.
phpstan / phpstan: src/Config.php#L19
Property Pronamic\WordPress\Pay\Gateways\PayNL\Config::$token has no type specified.
phpstan / phpstan: src/Config.php#L21
Property Pronamic\WordPress\Pay\Gateways\PayNL\Config::$service_id has no type specified.
phpstan / phpstan: src/Gateway.php#L61
Parameter #1 $string of function md5 expects string, string|false given.
phpstan / phpstan: src/Gateway.php#L329
Parameter #2 $ip_address of method Pronamic\WordPress\Pay\Gateways\PayNL\Client::transaction_start() expects string, mixed given.