lib/Ajde/Shop/Transaction/Provider/Creditcard.Mollie.php

Summary

Maintainability
A
0 mins
Test Coverage

Avoid excessively long class names like Ajde_Shop_Transaction_Provider_Creditcard. Keep class name length under 40.
Open

class Ajde_Shop_Transaction_Provider_Creditcard extends Ajde_Shop_Transaction_Provider_Paypal
{
    public function getName()
    {
        return 'Creditcard';

LongClassName

Since: 2.9

Detects when classes or interfaces are declared with excessively long names.

Example

class ATooLongClassNameThatHintsAtADesignProblem {

}

interface ATooLongInterfaceNameThatHintsAtADesignProblem {

}

Source https://phpmd.org/rules/naming.html#longclassname

The class Ajde_Shop_Transaction_Provider_Creditcard is not named in CamelCase.
Open

class Ajde_Shop_Transaction_Provider_Creditcard extends Ajde_Shop_Transaction_Provider_Paypal
{
    public function getName()
    {
        return 'Creditcard';

CamelCaseClassName

Since: 0.2

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

Example

class class_name {
}

Source

There are no issues that match your filters.

Category
Status