Skip to content

phpcbf

phpcbf #173

Triggered via push November 28, 2023 10:30
Status Failure
Total duration 1m 17s
Artifacts

ci.yaml

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

Annotations

10 errors
phpstan / phpstan: src/Extension.php#L559
Cannot call method get_meta() on WC_Order|WC_Order_Refund|true.
phpstan / phpstan: src/Extension.php#L559
Cannot cast mixed to int.
phpstan / phpstan: src/Extension.php#L643
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
phpstan / phpstan: src/Extension.php#L675
Cannot call method get_type() on WC_Order|WC_Order_Refund|true.
phpstan / phpstan: src/Extension.php#L691
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#L701
Parameter #1 $text of function esc_html expects string, int|null given.
phpstan / phpstan: src/Extension.php#L702
Parameter #1 $text of function esc_html expects string, mixed given.
phpstan / phpstan: src/Extension.php#L703
Parameter #1 $text of function esc_html expects string, string|null given.
phpstan / phpstan: src/Extension.php#L726
Cannot call method get_status() on WC_Order|WC_Order_Refund|true.
phpstan / phpstan: src/Extension.php#L726
Cannot call method needs_payment() on WC_Order|WC_Order_Refund|true.