Skip to content

Remove empty catch, not sure why this was here. #87

Remove empty catch, not sure why this was here.

Remove empty catch, not sure why this was here. #87

Triggered via push August 22, 2023 12:26
Status Failure
Total duration 1m 11s
Artifacts

ci.yaml

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

Annotations

10 errors
phpstan / phpstan: src/Extension.php#L547
Cannot call method get_meta() on WC_Order|WC_Order_Refund|true.
phpstan / phpstan: src/Extension.php#L547
Cannot cast mixed to int.
phpstan / phpstan: src/Extension.php#L631
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
phpstan / phpstan: src/Extension.php#L670
Parameter #1 $order of static method Pronamic\WordPress\Pay\Extensions\WooCommerce\WooCommerce::get_payment_method_title() expects WC_Order, WC_Order|WC_Order_Refund|true given.
phpstan / phpstan: src/Extension.php#L680
Parameter #1 $text of function esc_html expects string, int|null given.
phpstan / phpstan: src/Extension.php#L681
Parameter #1 $text of function esc_html expects string, mixed given.
phpstan / phpstan: src/Extension.php#L682
Parameter #1 $text of function esc_html expects string, string|null given.
phpstan / phpstan: src/Extension.php#L706
Cannot call method add_order_note() on WC_Order|WC_Order_Refund|true.
phpstan / phpstan: src/Extension.php#L708
Cannot call method get_payment_method() on WC_Order|WC_Order_Refund|true.
phpstan / phpstan: src/Extension.php#L712
Cannot call method get_meta() on WC_Order|WC_Order_Refund|true.