Skip to content

Cleanup unused tagging provider deps #1133

Cleanup unused tagging provider deps

Cleanup unused tagging provider deps #1133

Triggered via push February 27, 2025 08:36
Status Failure
Total duration 1m 5s
Artifacts 3

action.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 26 warnings
Code Sniffer: Block/TaggingProvider.php#L174
Empty CATCH statement detected
Code Sniffer: Block/TaggingProvider.php#L209
Empty CATCH statement detected
Code Sniffer: Block/TaggingProvider.php#L237
Empty CATCH statement detected
Code Sniffer: Block/TaggingProvider.php#L256
Empty CATCH statement detected
Code Sniffer: Block/TaggingProvider.php#L271
Empty CATCH statement detected
Code Sniffer: Block/TaggingProvider.php#L351
Empty CATCH statement detected
Code Sniffer: view/frontend/templates/hyva/variation.phtml#L1
An error occurred during processing; checking has been aborted. The error message was: Undefined index: scope_condition in /home/runner/work/nosto-magento2/nosto-magento2/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php on line 116 The error originated in the Squiz.PHP.NonExecutableCode sniff on line 116.
Code Sniffer
Process completed with exit code 1.
Package
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Mess Detect
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Code Sniffer
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
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/TaggingProvider.php#L50
The class TaggingProvider has a coupling between objects value of 16. Consider to reduce the number of dependencies under 13.
Mess Detect: Block/TaggingProvider.php#L78
The method __construct has 12 parameters. Consider reducing the number of parameters to less than 10.
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
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: Block/TaggingProvider.php#L174
Empty CATCH statement detected
Code Sniffer: Block/TaggingProvider.php#L209
Empty CATCH statement detected
Code Sniffer: Block/TaggingProvider.php#L237
Empty CATCH statement detected
Code Sniffer: Block/TaggingProvider.php#L256
Empty CATCH statement detected
Code Sniffer: Block/TaggingProvider.php#L271
Empty CATCH statement detected
Code Sniffer: Block/TaggingProvider.php#L351
Empty CATCH statement detected
Code Sniffer: view/frontend/templates/luma/variation.phtml#L63
Line exceeds 120 characters; contains 137 characters
Code Sniffer: view/frontend/templates/luma/cart.phtml#L41
Line exceeds 120 characters; contains 140 characters
Code Sniffer: view/frontend/templates/hyva/variation.phtml#L59
Line exceeds 120 characters; contains 123 characters
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/
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/

Artifacts

Produced during runtime
Name Size
composer-zip-archive
1010 KB
phpcs-xml-result
946 Bytes
phpmd-xml-result
4.1 KB