Showing 20,971 of 20,976 total issues

The variable $http_body is not named in camelCase.
Open

    protected function performApiCall($http_method, $api_method, $http_body = null)
    {
        $body = $this->api->performHttpCall($http_method, $api_method, $http_body);

        if (!($object = @json_decode($body))) {

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $mollie_id is not named in camelCase.
Open

    public function updatePayment()
    {
        $payment = false;

        $mollie = new Mollie_API_Client();

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public static function autoload($class_name)
    {
        if (strpos($class_name, 'Mollie_') === 0) {
            $file_name = str_replace('_', '/', $class_name);
            $file_name = realpath(dirname(__FILE__)."/../../{$file_name}.php");

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $file_name is not named in camelCase.
Open

    public static function autoload($class_name)
    {
        if (strpos($class_name, 'Mollie_') === 0) {
            $file_name = str_replace('_', '/', $class_name);
            $file_name = realpath(dirname(__FILE__)."/../../{$file_name}.php");

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $version_string is not named in camelCase.
Open

    public function addVersionString($version_string)
    {
        $this->versionStrings[] = str_replace([' ', "\t", "\n", "\r"], '-', $version_string);
    }

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $order_id is not named in camelCase.
Open

    public function updatePayment()
    {
        $payment = false;

        $mollie = new Mollie_API_Client();

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $txn_id is not named in camelCase.
Open

    public function updatePayment()
    {
        $txn_id = $_GET['txn'];
        $transaction = new TransactionModel();
        $transaction->loadByPK($txn_id);

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $mollie_id is not named in camelCase.
Open

    public function updatePayment()
    {
        $payment = false;

        $mollie = new Mollie_API_Client();

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $mollie_id is not named in camelCase.
Open

    public function updatePayment()
    {
        $payment = false;

        $mollie = new Mollie_API_Client();

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $payment_details is not named in camelCase.
Open

    public function updatePayment()
    {
        $payment = false;

        $mollie = new Mollie_API_Client();

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $payment_amount is not named in camelCase.
Open

    public function updatePayment()
    {
        // PHP 4.1

        // read the post from PayPal system and add 'cmd'

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $curl_version is not named in camelCase.
Open

    public function __construct()
    {
        $this->payments = new Mollie_API_Resource_Payments($this);
        $this->issuers = new Mollie_API_Resource_Issuers($this);
        $this->methods = new Mollie_API_Resource_Methods($this);

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $rest_resource is not named in camelCase.
Open

    private function rest_create($rest_resource, $body)
    {
        $result = $this->performApiCall(self::REST_CREATE, $rest_resource, $body);

        return $this->copy($result, $this->getResourceObject($rest_resource));

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $data_result is not named in camelCase.
Open

    private function rest_list($rest_resource, $offset = 0, $limit = self::DEFAULT_LIMIT)
    {
        $api_path = $rest_resource.'?'.http_build_query(['offset' => $offset, 'count' => $limit]);

        $result = $this->performApiCall(self::REST_LIST, $api_path);

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $order_id is not named in camelCase.
Open

    public function updatePayment()
    {
        $payment = false;

        $mollie = new Mollie_API_Client();

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $payment_details is not named in camelCase.
Open

    public function updatePayment()
    {
        $payment = false;

        $mollie = new Mollie_API_Client();

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $item_name is not named in camelCase.
Open

    public function updatePayment()
    {
        // PHP 4.1

        // read the post from PayPal system and add 'cmd'

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $class_name is not named in camelCase.
Open

    public static function autoload($class_name)
    {
        if (strpos($class_name, 'Mollie_') === 0) {
            $file_name = str_replace('_', '/', $class_name);
            $file_name = realpath(dirname(__FILE__)."/../../{$file_name}.php");

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $rest_resource is not named in camelCase.
Open

    private function rest_create($rest_resource, $body)
    {
        $result = $this->performApiCall(self::REST_CREATE, $rest_resource, $body);

        return $this->copy($result, $this->getResourceObject($rest_resource));

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $mollie_id is not named in camelCase.
Open

    public function updatePayment()
    {
        $payment = false;

        $mollie = new Mollie_API_Client();

CamelCaseVariableName

Since: 0.2

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

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

Severity
Category
Status
Source
Language