More DRY payment methods to Woo gateways setup. #191
ci.yaml
on: push
phpcs
/
phpcs
21s
phpstan
/
phpstan
48s
Matrix: phplint / phplint
Annotations
10 errors and 5 warnings
phpstan / phpstan:
src/Extension.php#L211
Parameter $payment_method of method Pronamic\WordPress\Pay\Extensions\WooCommerce\Extension::get_customer_description() has invalid type Pronamic\WordPress\Pay\Extensions\WooCommerce\PaymentMethod.
|
phpstan / phpstan:
src/Extension.php#L212
Call to method get_id() on an unknown class Pronamic\WordPress\Pay\Extensions\WooCommerce\PaymentMethod.
|
phpstan / phpstan:
src/Extension.php#L219
Call to method get_name() on an unknown class Pronamic\WordPress\Pay\Extensions\WooCommerce\PaymentMethod.
|
phpstan / phpstan:
src/Extension.php#L226
Call to method get_name() on an unknown class Pronamic\WordPress\Pay\Extensions\WooCommerce\PaymentMethod.
|
phpstan / phpstan:
src/Extension.php#L340
Parameter #1 $payment_method of static method Pronamic\WordPress\Pay\Extensions\WooCommerce\Extension::get_customer_description() expects Pronamic\WordPress\Pay\Extensions\WooCommerce\PaymentMethod, Pronamic\WordPress\Pay\Core\PaymentMethod given.
|
phpstan / phpstan:
src/Extension.php#L422
Cannot call method get_meta() on WC_Order|WC_Order_Refund|true.
|
phpstan / phpstan:
src/Extension.php#L422
Cannot cast mixed to int.
|
phpstan / phpstan:
src/Extension.php#L506
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
|
phpstan / phpstan:
src/Extension.php#L538
Cannot call method get_type() on WC_Order|WC_Order_Refund|true.
|
phpstan / phpstan:
src/Extension.php#L554
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.
|
phplint / PHP 8.3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
phplint / PHP 8.1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
phplint / PHP 8.2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
phpcs / phpcs
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
phpstan / phpstan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|