mygento/yandexdelivery

View on GitHub
app/code/local/Mygento/Yandexdelivery/Block/Shipping.php

Summary

Maintainability
A
0 mins
Test Coverage

The class Mygento_Yandexdelivery_Block_Shipping is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Block_Shipping extends Mage_Core_Block_Template
{

    public function _construct()
    {

CamelCaseClassName

Since: 0.2

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

Example

class class_name {
}

Source

The method _construct is not named in camelCase.
Open

    public function _construct()
    {
        //защита от двойного вызова в одностраничном чекауте
        if (Mage::registry('yd_block_called')) {
            return '';

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

There are no issues that match your filters.

Category
Status