core/modules/shop/model/CartModel.php

Summary

Maintainability
A
0 mins
Test Coverage

The property $_cartItemModel is not named in camelCase.
Open

class CartModel extends Ajde_Shop_Cart
{
    protected $_cartItemModel = 'CartItemModel';
    protected $_cartItemCollection = 'CartItemCollection';
}
Severity: Minor
Found in core/modules/shop/model/CartModel.php by phpmd

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

class CartModel extends Ajde_Shop_Cart
{
    protected $_cartItemModel = 'CartItemModel';
    protected $_cartItemCollection = 'CartItemCollection';
}
Severity: Minor
Found in core/modules/shop/model/CartModel.php by phpmd

CamelCasePropertyName

Since: 0.2

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

Example

class ClassName {
    protected $property_name;
}

Source

There are no issues that match your filters.

Category
Status