Showing 20,971 of 20,976 total issues

The variable $NROOTS is not named in camelCase.
Open

    public function encode_rs_char($data, &$parity)
    {
        $MM = &$this->mm;
        $NN = &$this->nn;
        $ALPHA_TO = &$this->alpha_to;

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

    public function encode_rs_char($data, &$parity)
    {
        $MM = &$this->mm;
        $NN = &$this->nn;
        $ALPHA_TO = &$this->alpha_to;

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

    public function encode_rs_char($data, &$parity)
    {
        $MM = &$this->mm;
        $NN = &$this->nn;
        $ALPHA_TO = &$this->alpha_to;

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

    public function encode_rs_char($data, &$parity)
    {
        $MM = &$this->mm;
        $NN = &$this->nn;
        $ALPHA_TO = &$this->alpha_to;

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

    public function encode_rs_char($data, &$parity)
    {
        $MM = &$this->mm;
        $NN = &$this->nn;
        $ALPHA_TO = &$this->alpha_to;

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

    public function mask($width, $frame, $level)
    {
        $minDemerit = PHP_INT_MAX;
        $bestMaskNum = 0;
        $bestMask = [];

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

    public static function init_rs_char($symsize, $gfpoly, $fcr, $prim, $nroots, $pad)
    {
        // Common code for intializing a Reed-Solomon control block (char or int symbols)
        // Copyright 2004 Phil Karn, KA9Q
        // May be used under the terms of the GNU Lesser General Public License (LGPL)

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

    public function encode_rs_char($data, &$parity)
    {
        $MM = &$this->mm;
        $NN = &$this->nn;
        $ALPHA_TO = &$this->alpha_to;

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

    public function encode_rs_char($data, &$parity)
    {
        $MM = &$this->mm;
        $NN = &$this->nn;
        $ALPHA_TO = &$this->alpha_to;

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

    public function encode_rs_char($data, &$parity)
    {
        $MM = &$this->mm;
        $NN = &$this->nn;
        $ALPHA_TO = &$this->alpha_to;

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

    public function encode_rs_char($data, &$parity)
    {
        $MM = &$this->mm;
        $NN = &$this->nn;
        $ALPHA_TO = &$this->alpha_to;

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

    public function setApiKey($api_key)
    {
        if (!preg_match('!^(?:live|test)_\\w+$!', $api_key)) {
            throw new Mollie_API_Exception("Invalid api key: \"{$api_key}\". An API key must start with \"test_\" or \"live_\".");
        }

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

    protected function getResourceName()
    {
        $class_parts = explode('_', get_class($this));

        return mb_strtolower(end($class_parts));

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

Severity
Category
Status
Source
Language