Skip to content

Add method description for Riverty. #172

Add method description for Riverty.

Add method description for Riverty. #172

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

ci.yaml

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

Annotations

12 errors and 4 warnings
phpcs / phpcs: src/Extension.php#L454
There should be a comma after the last array item in a multi-line array.
phpcs / phpcs
Process completed with exit code 1.
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.
phpcs / phpcs: src/Extension.php#L446
Array double arrow not aligned correctly; expected 17 space(s) between "'id'" and double arrow, but found 13.
phpcs / phpcs: src/Extension.php#L447
Array double arrow not aligned correctly; expected 5 space(s) between "'payment_method'" and double arrow, but found 1.
phpcs / phpcs: src/Extension.php#L448
Array double arrow not aligned correctly; expected 15 space(s) between "'icon'" and double arrow, but found 11.
phpcs / phpcs: src/Extension.php#L449
Array double arrow not aligned correctly; expected 8 space(s) between "'form_fields'" and double arrow, but found 4.