Showing 20,971 of 20,976 total issues

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

    public function performHttpCall($http_method, $api_method, $http_body = null)
    {
        if (empty($this->api_key)) {
            throw new Mollie_API_Exception('You have not set an api key. Please use setApiKey() to set the API key.');
        }

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 $api_path 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 $api_method 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 $request_headers is not named in camelCase.
Open

    public function performHttpCall($http_method, $api_method, $http_body = null)
    {
        if (empty($this->api_key)) {
            throw new Mollie_API_Exception('You have not set an api key. Please use setApiKey() to set the API key.');
        }

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

    public function performHttpCall($http_method, $api_method, $http_body = null)
    {
        if (empty($this->api_key)) {
            throw new Mollie_API_Exception('You have not set an api key. Please use setApiKey() to set the API key.');
        }

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

    public function performHttpCall($http_method, $api_method, $http_body = null)
    {
        if (empty($this->api_key)) {
            throw new Mollie_API_Exception('You have not set an api key. Please use setApiKey() to set the API key.');
        }

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

    public function performHttpCall($http_method, $api_method, $http_body = null)
    {
        if (empty($this->api_key)) {
            throw new Mollie_API_Exception('You have not set an api key. Please use setApiKey() to set the API key.');
        }

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_read($rest_resource, $id)
    {
        $id = $id ? urlencode($id) : 'undefined';
        $result = $this->performApiCall(self::REST_READ, "{$rest_resource}/{$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 $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 $receiver_email 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 $http_method is not named in camelCase.
Open

    public function performHttpCall($http_method, $api_method, $http_body = null)
    {
        if (empty($this->api_key)) {
            throw new Mollie_API_Exception('You have not set an api key. Please use setApiKey() to set the API key.');
        }

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

    public function performHttpCall($http_method, $api_method, $http_body = null)
    {
        if (empty($this->api_key)) {
            throw new Mollie_API_Exception('You have not set an api key. Please use setApiKey() to set the API key.');
        }

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 $http_method 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

Severity
Category
Status
Source
Language