Skip to content

fix: product connection resolution refactored to better work with the ProductQuery class #264

fix: product connection resolution refactored to better work with the ProductQuery class

fix: product connection resolution refactored to better work with the ProductQuery class #264

Triggered via pull request August 1, 2024 01:15
Status Failure
Total duration 1m 8s
Artifacts

code-quality.yml

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

Annotations

4 errors and 1 warning
Testing WooGraphQL code quality w/ PHPStan: includes/data/connection/class-product-connection-resolver.php#L56
Instantiated class Automattic\WooCommerce\StoreApi\Utilities\ProductQuery not found.
Testing WooGraphQL code quality w/ PHPStan: includes/data/connection/class-product-connection-resolver.php#L177
Call to an undefined method WPGraphQL\WooCommerce\Data\Connection\Product_Connection_Resolver::get_loader().
Testing WooGraphQL code quality w/ PHPStan: includes/data/connection/class-product-connection-resolver.php#L226
Parameter #2 $callback of function add_filter expects callable(): mixed, array{Automattic\WooCommerce\StoreApi\Utilities\ProductQuery, 'add_query_clauses'} given.
Testing WooGraphQL code quality w/ PHPStan
Process completed with exit code 1.
Testing WooGraphQL code quality w/ PHPStan
The following actions uses Node.js version which is deprecated and will be forced to run on node20: styfle/[email protected], actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/