Skip to content

Category indexer

Category indexer #1054

Triggered via push September 3, 2024 12:19
Status Failure
Total duration 3m 32s
Artifacts 3

action.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 30 warnings
Code Sniffer: Model/ResourceModel/Magento/Category/Collection.php#L49
Use of echo language construct is discouraged.
Code Sniffer: Model/ResourceModel/Magento/Category/Collection.php#L50
The use of function print_r() is forbidden
Code Sniffer: Model/ResourceModel/Magento/Category/Collection.php#L51
Use of die language construct is discouraged.
Code Sniffer: Model/ResourceModel/Magento/Category/Collection.php#L62
Use of echo language construct is discouraged.
Code Sniffer: Model/ResourceModel/Magento/Category/Collection.php#L63
The use of function print_r() is forbidden
Code Sniffer: Model/ResourceModel/Magento/Category/Collection.php#L64
Use of die language construct is discouraged.
Code Sniffer: Model/Service/Sync/Upsert/Category/AsyncBulkConsumer.php#L103
Use of echo language construct is discouraged.
Code Sniffer: Model/Service/Sync/Upsert/Category/AsyncBulkConsumer.php#L104
The use of function print_r() is forbidden
Code Sniffer: Model/Service/Sync/Upsert/Category/AsyncBulkConsumer.php#L105
Use of die language construct is discouraged.
Code Sniffer
Process completed with exit code 1.
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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/
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 following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/
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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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: Model/Category/Repository.php#L114
Code must not contain multiple empty lines in a row; found 2 empty lines.
Code Sniffer: Model/Category/Repository.php#L140
Comment refers to a TODO task "get parents from root category, check if this works"
Code Sniffer: Model/Category/Repository.php#L146
Code must not contain multiple empty lines in a row; found 2 empty lines.
Code Sniffer: Model/Category/Repository.php#L175
The closing brace for the class must go on the next line after the body
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/ResourceModel/Magento/Category/Collection.php#L49
Use of echo language construct is discouraged.
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 Expired
1.02 MB
phpcs-xml-result Expired
7.09 KB
phpmd-xml-result Expired
53.7 KB