mygento/yandexdelivery

View on GitHub

Showing 262 of 262 total issues

The method _prepareCollection is not named in camelCase.
Open

    protected function _prepareCollection()
    {
        $collection = Mage::getModel('yandexdelivery/shipment')->getCollection();
        $collection->getSelect()->join(
            array('table_alias' => Mage::getConfig()->getTablePrefix() . 'sales_flat_order'),

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

The method _construct is not named in camelCase.
Open

    public function _construct()
    {
        $this->_controller = 'adminhtml_shipment';
        $this->_blockGroup = 'yandexdelivery';
        $this->_headerText = Mage::helper('yandexdelivery')->__('Shipment Manager');

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

Severity
Category
Status
Source
Language