Skip to content

WIP - Avoid collections during full reindex #1049

WIP - Avoid collections during full reindex

WIP - Avoid collections during full reindex #1049

Triggered via push August 1, 2024 19:32
Status Failure
Total duration 46s
Artifacts 3

action.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 21 warnings
Code Sniffer: Model/ResourceModel/Magento/Product/ProductBatchFetcher.php#L1
An error occurred during processing; checking has been aborted. The error message was: Undefined index: parenthesis_opener in /home/runner/work/nosto-magento2/nosto-magento2/vendor/magento-ecg/coding-standard/Ecg/Sniffs/Performance/LoopSniff.php on line 73 The error originated in the Ecg.Performance.Loop sniff on line 73.
Code Sniffer: Model/ResourceModel/Magento/Product/ProductBatchFetcher.php#L27
PHP syntax error: syntax error, unexpected ')', expecting variable (T_VARIABLE)
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 uses Node.js version which is deprecated 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 uses Node.js version which is deprecated 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 uses Node.js version which is deprecated 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/ResourceModel/Magento/Product/ProductBatchFetcher.php#L104
Expected 1 newline at end of file; 0 found
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.01 MB
phpcs-xml-result Expired
951 Bytes
phpmd-xml-result Expired
48.2 KB