Skip to content

fix: Bug fixed in Product_Connection_Resolver::add_tax_query #163

fix: Bug fixed in Product_Connection_Resolver::add_tax_query

fix: Bug fixed in Product_Connection_Resolver::add_tax_query #163

Triggered via pull request November 30, 2023 12:38
Status Failure
Total duration 1m 6s
Artifacts

code-quality.yml

on: pull_request
Testing WooGraphQL code quality w/ PHPStan
57s
Testing WooGraphQL code quality w/ PHPStan
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Testing WooGraphQL code quality w/ PHPStan: includes/connection/class-orders.php#L123
Method WPGraphQL\WooCommerce\Connection\Orders::get_customer_order_connection() should return array but returns GraphQL\Deferred.
Testing WooGraphQL code quality w/ PHPStan: includes/connection/class-orders.php#L188
Method WPGraphQL\WooCommerce\Connection\Orders::get_customer_refund_connection() should return array but returns GraphQL\Deferred.
Testing WooGraphQL code quality w/ PHPStan: includes/data/loader/class-wc-cpt-loader.php#L132
Parameter #1 $post of function get_post_type expects int|WP_Post|null, int|string given.
Testing WooGraphQL code quality w/ PHPStan: includes/data/loader/class-wc-cpt-loader.php#L138
Parameter #1 $order_id of static method Automattic\WooCommerce\Utilities\OrderUtil::is_order() expects Automattic\WooCommerce\Utilities\WC_Order|Automattic\WooCommerce\Utilities\WP_Post|int, int|string given.
Testing WooGraphQL code quality w/ PHPStan: includes/type/object/class-order-type.php#L435
Method WPGraphQL\WooCommerce\Type\WPObject\Order_Type::resolve_item_connection() should return array but returns GraphQL\Deferred.
Testing WooGraphQL code quality w/ PHPStan
Process completed with exit code 1.