Skip to content

feat: Product and product attribute mutations #191

feat: Product and product attribute mutations

feat: Product and product attribute mutations #191

Triggered via pull request May 8, 2024 08:22
Status Failure
Total duration 1m 9s
Artifacts

code-quality.yml

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

Annotations

10 errors and 1 warning
Testing WooGraphQL code quality w/ PHPStan: includes/data/mutation/class-product-mutation.php#L52
Call to an undefined method object::get_shipping_class_id_by_slug().
Testing WooGraphQL code quality w/ PHPStan: includes/data/mutation/class-product-mutation.php#L90
Parameter #2 $callback of function array_filter expects (callable(string): bool)|null, 'strlen' given.
Testing WooGraphQL code quality w/ PHPStan: includes/data/mutation/class-product-mutation.php#L98
Parameter #1 $value of method WC_Product_Attribute::set_name() expects string, array|string given.
Testing WooGraphQL code quality w/ PHPStan: includes/data/mutation/class-product-mutation.php#L100
Parameter #1 $value of method WC_Product_Attribute::set_position() expects int, string given.
Testing WooGraphQL code quality w/ PHPStan: includes/data/mutation/class-product-mutation.php#L101
Parameter #1 $value of method WC_Product_Attribute::set_visible() expects bool, int given.
Testing WooGraphQL code quality w/ PHPStan: includes/data/mutation/class-product-mutation.php#L102
Parameter #1 $value of method WC_Product_Attribute::set_variation() expects bool, int given.
Testing WooGraphQL code quality w/ PHPStan: includes/data/mutation/class-product-mutation.php#L114
Parameter #1 $value of method WC_Product_Attribute::set_name() expects string, array|string given.
Testing WooGraphQL code quality w/ PHPStan: includes/data/mutation/class-product-mutation.php#L116
Parameter #1 $value of method WC_Product_Attribute::set_position() expects int, string given.
Testing WooGraphQL code quality w/ PHPStan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: styfle/cancel-workflow-action@0.11.0, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.