mygento/yandexdelivery

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

Summary

Maintainability
A
0 mins
Test Coverage

The class Mygento_Yandexdelivery_Model_Observer is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Model_Observer extends Varien_Object
{

    public function handleSave()
    {

CamelCaseClassName

Since: 0.2

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

Example

class class_name {
}

Source

The variable $keys_data is not named in camelCase.
Open

    public function handleSave()
    {

        if (Mage::getStoreConfig('carriers/yandexdelivery/active')) {
            //process keys

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $ids_data is not named in camelCase.
Open

    public function handleSave()
    {

        if (Mage::getStoreConfig('carriers/yandexdelivery/active')) {
            //process keys

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $ids_data is not named in camelCase.
Open

    public function handleSave()
    {

        if (Mage::getStoreConfig('carriers/yandexdelivery/active')) {
            //process keys

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $keys_data is not named in camelCase.
Open

    public function handleSave()
    {

        if (Mage::getStoreConfig('carriers/yandexdelivery/active')) {
            //process keys

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

There are no issues that match your filters.

Category
Status