Skip to content

How to avoid errors ? #185

Closed
Closed
@Gemorroj

Description

@Gemorroj

I tried to submit module to magento store, but I get some errors in technical review report, for example:

/eqp-automation/temp/calcurates/module-magento/calcurates-module-magento-1.10.0/Model/Carrier/Cache.php
{
    "message": "The use of function md5() is forbidden; use improved hash functions (SHA-256, SHA-512 etc.)() instead",
    "source": "Magento2.Security.InsecureFunction.FoundWithAlternative",
    "severity": 10,
    "fixable": false,
    "type": "ERROR",
    "line": 87,
    "column": 21
}

but in fact, it should be ignored (as I think): https://github.com/calcurates/module-magento/blob/v1.10.0/Model/Carrier/Cache.php#L86
In local machine with magento 2.3.5 these errors are really ignored.

Please, can you tell me, how to avoid these errors in order to pass a technical review?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions