Fix running PHPStan. #37
ci.yaml
on: push
phpcs
/
phpcs
14s
phpstan
/
phpstan
23s
Matrix: phplint / phplint
Annotations
6 errors
phpstan / phpstan:
src/Gateway.php#L90
Parameter #1 $issuer_id of method Pronamic\WordPress\Pay\Gateways\EMS\ECommerce\Client::set_issuer_id() expects string, mixed given.
|
phpstan / phpstan:
src/Gateway.php#L110
Parameter #1 $order_id of method Pronamic\WordPress\Pay\Gateways\EMS\ECommerce\Client::set_order_id() expects string, int|string|null given.
|
phpstan / phpstan:
src/Integration.php#L148
Property Pronamic\WordPress\Pay\Gateways\EMS\ECommerce\Config::$storename (string|null) does not accept mixed.
|
phpstan / phpstan:
src/Integration.php#L149
Property Pronamic\WordPress\Pay\Gateways\EMS\ECommerce\Config::$secret (string|null) does not accept mixed.
|
phpstan / phpstan:
src/Integration.php#L150
Property Pronamic\WordPress\Pay\Gateways\EMS\ECommerce\Config::$order_id (string|null) does not accept mixed.
|
phpstan / phpstan
Process completed with exit code 1.
|