Skip to content

Fix "should return bool but returns int|false.". #65

Fix "should return bool but returns int|false.".

Fix "should return bool but returns int|false.". #65

Triggered via push January 23, 2024 11:14
Status Failure
Total duration 38s
Artifacts

ci.yaml

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

Annotations

26 errors
phpunit / PHP 8.0 WordPress 6.2
Process completed with exit code 1.
coverage / coverage
Script "coverage" is not defined in this package
coverage / coverage
Process completed with exit code 1.
phpunit / PHP 8.0 WordPress 6.1
The job was canceled because "_8_0_6_2" failed.
phpunit / PHP 8.0 WordPress 6.1
Process completed with exit code 1.
phpunit / PHP 8.2 WordPress 6.3
The job was canceled because "_8_0_6_2" failed.
phpunit / PHP 8.2 WordPress 6.3
Process completed with exit code 1.
phpunit / PHP 8.1 WordPress 6.2
The job was canceled because "_8_0_6_2" failed.
phpunit / PHP 8.1 WordPress 6.2
Process completed with exit code 1.
phpunit / PHP 8.1 WordPress 6.3
The job was canceled because "_8_0_6_2" failed.
phpunit / PHP 8.1 WordPress 6.3
Process completed with exit code 1.
phpunit / PHP 8.0 WordPress 6.3
The job was canceled because "_8_0_6_2" failed.
phpunit / PHP 8.0 WordPress 6.3
The operation was canceled.
phpunit / PHP 8.2 WordPress 6.1
The job was canceled because "_8_0_6_2" failed.
phpunit / PHP 8.2 WordPress 6.1
The operation was canceled.
phpunit / PHP 8.2 WordPress 6.2
The job was canceled because "_8_0_6_2" failed.
phpunit / PHP 8.2 WordPress 6.2
The operation was canceled.
phpstan / phpstan: src/Gateway.php#L84
Parameter #1 $string of function md5 expects string, string|false given.
phpstan / 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.
phpstan / phpstan: src/Gateway.php#L135
Parameter #1 $string of function md5 expects string, string|false given.
phpstan / phpstan: src/Gateway.php#L150
Parameter #1 $id of method Pronamic\WordPress\Pay\Core\Gateway::get_payment_method() expects string, string|null given.
phpstan / phpstan: src/Gateway.php#L221
Parameter #1 $type of class Pronamic\WordPress\Pay\Gateways\Adyen\PaymentMethodDetails constructor expects string, string|null given.
phpstan / phpstan: src/Integration.php#L549
Parameter #1 $url of function esc_url expects string, string|null given.
phpstan / phpstan
Process completed with exit code 1.
phpunit / PHP 8.1 WordPress 6.1
The job was canceled because "_8_0_6_2" failed.
phpunit / PHP 8.1 WordPress 6.1
The operation was canceled.