Skip to content

Fix running PHPStan. #45

Fix running PHPStan.

Fix running PHPStan. #45

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

ci.yaml

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

Annotations

10 errors
phpstan / phpstan: src/Gateway.php#L76
Parameter #1 $string of function md5 expects string, string|false given.
phpstan / phpstan: src/Gateway.php#L94
Parameter #1 $string of function md5 expects string, string|false given.
phpstan / phpstan: src/Gateway.php#L117
Call to method paymentmethodService() on an unknown class instance.
phpstan / phpstan: src/Gateway.php#L135
Call to method singleMethod() on an unknown class instance.
phpstan / phpstan: src/Gateway.php#L276
Parameter #1 $issuer of method Icepay_PaymentObject::setIssuer() expects string, mixed given.
phpstan / phpstan: src/Gateway.php#L340
Call to method setMerchantID() on an unknown class instance.
phpstan / phpstan: src/Gateway.php#L349
Call to method getURL() on an unknown class instance.
phpstan / phpstan: src/Gateway.php#L368
Parameter #1 $merchantID of method Icepay_Api_Base::setMerchantID() expects int, string given.
phpstan / phpstan: src/Integration.php#L23
Method Pronamic\WordPress\Pay\Gateways\Icepay\Integration::__construct() has parameter $args with no value type specified in iterable type array.
phpstan / phpstan: src/Integration.php#L145
Property Pronamic\WordPress\Pay\Gateways\Icepay\Config::$merchant_id (string) does not accept mixed.