Skip to content

[5.x] Improve product variant's query performance #2559

[5.x] Improve product variant's query performance

[5.x] Improve product variant's query performance #2559

Triggered via pull request November 14, 2024 19:20
Status Failure
Total duration 1m 19s
Artifacts

ci.yml

on: pull_request
ci  /  ...  /  ECS
30s
ci / Code Quality / ECS / ECS
ci  /  ...  /  PHPStan
1m 4s
ci / Code Quality / PHPStan / PHPStan
ci  /  ...  /  check
20s
ci / Code Quality / Prettier / check
Matrix: ci / Tests / tests
Waiting for pending jobs
ci  /  ...  /  on cancelled
ci / Notify Slack / on cancelled
ci  /  ...  /  on failure
ci / Notify Slack / on failure
ci  /  ...  /  on success
ci / Notify Slack / on success
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
ci / Code Quality / PHPStan / PHPStan: src/elements/Variant.php#L295
Call to an undefined method craft\base\ElementInterface::getType().
ci / Code Quality / PHPStan / PHPStan: src/elements/Variant.php#L303
Call to an undefined method craft\base\ElementInterface::getType().
ci / Code Quality / PHPStan / PHPStan: src/elements/Variant.php#L311
Call to an undefined method craft\base\ElementInterface::getType().
ci / Code Quality / PHPStan / PHPStan: src/elements/Variant.php#L444
Call to an undefined method craft\base\ElementInterface::getType().
ci / Code Quality / PHPStan / PHPStan: src/elements/Variant.php#L643
Call to an undefined method craft\base\ElementInterface::getType().
ci / Code Quality / PHPStan / PHPStan: src/elements/Variant.php#L660
Call to an undefined method craft\base\ElementInterface::getType().
ci / Code Quality / PHPStan / PHPStan: src/elements/Variant.php#L927
Call to an undefined method craft\base\ElementInterface::getType().
ci / Code Quality / PHPStan / PHPStan: src/elements/Variant.php#L1126
Parameter #1 $product of method craft\commerce\elements\Variant::updateTitle() expects craft\commerce\elements\Product, craft\base\ElementInterface|null given.
ci / Code Quality / PHPStan / PHPStan: src/elements/Variant.php#L1127
Parameter #1 $product of method craft\commerce\elements\Variant::updateSku() expects craft\commerce\elements\Product, craft\base\ElementInterface|null given.
ci / Code Quality / PHPStan / PHPStan: src/elements/Variant.php#L1145
Parameter #1 $product of method craft\commerce\elements\Variant::updateTitle() expects craft\commerce\elements\Product, craft\base\ElementInterface|null given.
ci / Code Quality / Prettier / check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ci / Code Quality / ECS / ECS
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
ci / Code Quality / PHPStan / PHPStan
The following actions uses node12 which is deprecated and will be forced to run on node16: andstor/file-existence-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ci / Code Quality / PHPStan / PHPStan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, andstor/file-existence-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ci / Code Quality / PHPStan / PHPStan
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/