Skip to content

Init category indexer #1045

Init category indexer

Init category indexer #1045

Triggered via push June 24, 2024 08:59
Status Failure
Total duration 43s
Artifacts 3

action.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 30 warnings
Code Sniffer
Process completed with exit code 1.
Package
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Package
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Package
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/
Mess Detect
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Mess Detect
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Mess Detect: Block/Adminhtml/Form/Field/Tokens.php#L87
Avoid variables with short names like $id. Configured minimum length is 3.
Mess Detect: Block/Product.php#L63
The class Product has a coupling between objects value of 18. Consider to reduce the number of dependencies under 13.
Mess Detect: Block/TaggingTrait.php#L68
The method _toHtml is not named in camelCase.
Mess Detect: Console/Command/NostoAccountConnectCommand.php#L142
Avoid variables with short names like $io. Configured minimum length is 3.
Mess Detect: Console/Command/NostoAccountConnectCommand.php#L174
Avoid variables with short names like $io. Configured minimum length is 3.
Mess Detect: Console/Command/NostoAccountConnectCommand.php#L214
The method getTokensFromInput() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10.
Mess Detect: Console/Command/NostoAccountConnectCommand.php#L214
The method getTokensFromInput() has an NPath complexity of 576. The configured NPath complexity threshold is 200.
Mess Detect: Console/Command/NostoAccountConnectCommand.php#L214
Avoid variables with short names like $io. Configured minimum length is 3.
Mess Detect: Console/Command/NostoAccountRemoveCommand.php#L122
Avoid variables with short names like $io. Configured minimum length is 3.
Mess Detect: Console/Command/NostoAccountRemoveCommand.php#L144
Avoid variables with short names like $io. Configured minimum length is 3.
Mess Detect
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/
Code Sniffer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Code Sniffer
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Code Sniffer: Model/Service/Sync/AbstractBulkConsumer.php#L47
Comment refers to a TODO task "needs to be abstracted to include categories as well"
Code Sniffer: Model/Indexer/Dimensions/ModeSwitcher/ModeSwitcherConfiguration.php#L43
Comment refers to a TODO task "needs to be abstracted to include categories as well"
Code Sniffer: Model/Indexer/CategoryIndexer.php#L140
The method parameter $store is never used
Code Sniffer: Model/Indexer/CategoryIndexer.php#L140
The method parameter $ids is never used
Code Sniffer: Model/Indexer/CategoryIndexer.php#L142
Comment refers to a TODO task "implement"
Code Sniffer: Model/ResourceModel/Magento/Category/Collection.php#L49
Comment refers to a TODO task "Here should be included in the menu"
Code Sniffer: Model/Category/Repository.php#L86
Comment refers to a TODO task "implement"
Code Sniffer: Model/Category/Repository.php#L88
Code must not contain multiple empty lines in a row; found 2 empty lines.
Code Sniffer: Model/Category/Repository.php#L100
Possible slow SQL method distinct detected
Code Sniffer: Model/Category/Repository.php#L104
Comment refers to a TODO task "Check if zero level categories are needed"
Code Sniffer
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/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "composer-zip-archive", "phpcs-xml-result", "phpmd-xml-result". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
composer-zip-archive
1.02 MB
phpcs-xml-result
3.18 KB
phpmd-xml-result
51.9 KB