mygento/yandexdelivery

View on GitHub
app/code/local/Mygento/Yandexdelivery/Model/Source/Payment.php

Summary

Maintainability
A
0 mins
Test Coverage

Avoid excessively long class names like Mygento_Yandexdelivery_Model_Source_Payment. Keep class name length under 40.
Open

class Mygento_Yandexdelivery_Model_Source_Payment
{

    public function toOptionArray()
    {

LongClassName

Since: 2.9

Detects when classes or interfaces are declared with excessively long names.

Example

class ATooLongClassNameThatHintsAtADesignProblem {

}

interface ATooLongInterfaceNameThatHintsAtADesignProblem {

}

Source https://phpmd.org/rules/naming.html#longclassname

The class Mygento_Yandexdelivery_Model_Source_Payment is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Model_Source_Payment
{

    public function toOptionArray()
    {

CamelCaseClassName

Since: 0.2

It is considered best practice to use the CamelCase notation to name classes.

Example

class class_name {
}

Source

There are no issues that match your filters.

Category
Status