mygento/yandexdelivery

View on GitHub

Showing 262 of 262 total issues

The class Mygento_Yandexdelivery_Adminhtml_Yandexdelivery_ApiController is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Adminhtml_Yandexdelivery_ApiController extends Mage_Adminhtml_Controller_Action
{

    public function sendAction()
    {

CamelCaseClassName

Since: 0.2

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

Example

class class_name {
}

Source

The class Mygento_Yandexdelivery_Model_Resource_Requisite_Collection is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Model_Resource_Requisite_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract
{

    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 class Mygento_Yandexdelivery_Model_Source_Yd is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Model_Source_Yd
{

    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

The property $_isFixed is not named in camelCase.
Open

class Mygento_Yandexdelivery_Model_Shipping extends Mage_Shipping_Model_Carrier_Abstract implements Mage_Shipping_Model_Carrier_Interface
{

    protected $_name = 'yandexdelivery';
    protected $_isFixed = false;

CamelCasePropertyName

Since: 0.2

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

Example

class ClassName {
    protected $property_name;
}

Source

The class Mygento_Yandexdelivery_Model_Warehouse is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Model_Warehouse extends Mage_Core_Model_Abstract
{

    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 property $_url is not named in camelCase.
Open

class Mygento_Yandexdelivery_Model_Carrier {

    private $_name = 'yandexdelivery';
    private $_url = 'https://delivery.yandex.ru/api/last/';

CamelCasePropertyName

Since: 0.2

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

Example

class ClassName {
    protected $property_name;
}

Source

The parameter $order_id is not named in camelCase.
Open

    public function getSenderOrderLabel($order_id) {
        return $this->sendRequest('getSenderOrderLabel', ['order_id' => $order_id], true);
    }

CamelCaseParameterName

Since: 0.2

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

Example

class ClassName {
    public function doSomething($user_name) {
    }
}

Source

The property $_name is not named in camelCase.
Open

class Mygento_Yandexdelivery_Model_Shipping extends Mage_Shipping_Model_Carrier_Abstract implements Mage_Shipping_Model_Carrier_Interface
{

    protected $_name = 'yandexdelivery';
    protected $_isFixed = false;

CamelCasePropertyName

Since: 0.2

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

Example

class ClassName {
    protected $property_name;
}

Source

The class Mygento_Yandexdelivery_Model_Source_Attribute is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Model_Source_Attribute
{

    public function getAllOptions()
    {

CamelCaseClassName

Since: 0.2

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

Example

class class_name {
}

Source

The class Mygento_Yandexdelivery_Model_Source_Weight is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Model_Source_Weight
{

    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

The class Mygento_Yandexdelivery_Block_Version is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Block_Version extends Mage_Adminhtml_Block_Abstract implements Varien_Data_Form_Element_Renderer_Interface
{

    /**
     *

CamelCaseClassName

Since: 0.2

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

Example

class class_name {
}

Source

The class Mygento_Yandexdelivery_Model_Carrier_Pickup is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Model_Carrier_Pickup extends Mygento_Yandexdelivery_Model_Shipping
{

    protected $_subcode = 'pickup';

CamelCaseClassName

Since: 0.2

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

Example

class class_name {
}

Source

The parameter $data_string is not named in camelCase.
Open

    public function processApiIds($data_string) {

        $json = json_decode(trim($data_string));
        $res = Mage::getSingleton('core/resource');

CamelCaseParameterName

Since: 0.2

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

Example

class ClassName {
    public function doSomething($user_name) {
    }
}

Source

The parameter $order_id is not named in camelCase.
Open

    public function statusOrder($order_id) {
        return $this->sendRequest('getOrderInfo', ['order_id' => $order_id], true);
    }

CamelCaseParameterName

Since: 0.2

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

Example

class ClassName {
    public function doSomething($user_name) {
    }
}

Source

The class Mygento_Yandexdelivery_Model_Resource_Requisite is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Model_Resource_Requisite extends Mage_Core_Model_Resource_Db_Abstract
{

    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 class Mygento_Yandexdelivery_Model_Resource_Sender is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Model_Resource_Sender extends Mage_Core_Model_Resource_Db_Abstract
{

    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 class Mygento_Yandexdelivery_Model_Resource_Warehouse is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Model_Resource_Warehouse extends Mage_Core_Model_Resource_Db_Abstract
{

    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 class Mygento_Yandexdelivery_Model_Resource_Warehouse_Collection is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Model_Resource_Warehouse_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract
{

    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 class Mygento_Yandexdelivery_Model_Shipping is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Model_Shipping extends Mage_Shipping_Model_Carrier_Abstract implements Mage_Shipping_Model_Carrier_Interface
{

    protected $_name = 'yandexdelivery';
    protected $_isFixed = false;

CamelCaseClassName

Since: 0.2

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

Example

class class_name {
}

Source

The class Mygento_Yandexdelivery_Model_Source_Tax is not named in CamelCase.
Open

class Mygento_Yandexdelivery_Model_Source_Tax {

    public function toOptionArray() {
        return [
            ['value' => 1, 'label' => Mage::helper('yandexdelivery')->__('Ставка НДС 18%')],

CamelCaseClassName

Since: 0.2

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

Example

class class_name {
}

Source

Severity
Category
Status
Source
Language