lib/Ajde/Shop/Shipping/Method.php
The class Ajde_Shop_Shipping_Method is not named in CamelCase. Open
Open
abstract class Ajde_Shop_Shipping_Method extends Ajde_Object_Standard
{
public function setTransaction(Ajde_Shop_Transaction $transaction)
{
parent::setTransaction($transaction);
- Read upRead up
- Exclude checks
CamelCaseClassName
Since: 0.2
It is considered best practice to use the CamelCase notation to name classes.
Example
class class_name {
}
Source
The method _format is not named in camelCase. Open
Open
protected function _format($value)
{
return money_format('%!i', $value);
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}