Showing 20,971 of 20,976 total issues

The variable $A is not named in camelCase.
Open

    public function adapt($o, $type)
    {
        $r = [ // Adaption methods
            'XYZ scaling' => [
                'A' => [[1, 0, 0], [0, 1, 0], [0, 0, 1]],

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

    public function profile($i)
    {
        $m = $this->_profile[$i];
        //print_r($m);

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

    public function profile($i)
    {
        $m = $this->_profile[$i];
        //print_r($m);

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

    public function profile($i)
    {
        $m = $this->_profile[$i];
        //print_r($m);

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

    private function extractRoute()
    {
        // Strip query string
        $URIComponents = explode('?', $_SERVER['REQUEST_URI']);
        $requestURI = reset($URIComponents);
Severity: Minor
Found in lib/Ajde/Http/Request.php by phpmd

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

    public function _loadTranslationData($filename, $locale, array $options = [])
    {
        $this->_data = [];
        $this->_bigEndian = false;
        $this->_file = @fopen($filename, 'rb');
Severity: Minor
Found in lib/Ajde/Lang/Adapter/Gettext.php by phpmd

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

    public function Luv_XYZ($o)
    {
        $r = $White;

        $Y = ($o['L'] + 16) / 116;

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

    public function adapt($o, $type)
    {
        $r = [ // Adaption methods
            'XYZ scaling' => [
                'A' => [[1, 0, 0], [0, 1, 0], [0, 0, 1]],

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

    public static function get($url, $toFile = false, $header = false)
    {
        $output = false;
        $debug = false;

Severity: Minor
Found in lib/Ajde/Http/Curl.php by phpmd

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

    public function _loadTranslationData($filename, $locale, array $options = [])
    {
        $this->_data = [];
        $this->_bigEndian = false;
        $this->_file = @fopen($filename, 'rb');
Severity: Minor
Found in lib/Ajde/Lang/Adapter/Gettext.php by phpmd

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

    public static function niceName($lang)
    {
        return self::$_niceNames[substr(strtolower($lang), 0, 2)];
    }
Severity: Minor
Found in lib/Ajde/Lang.php by phpmd

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

    protected function mailSend($header, $body)
    {
        $toArr = [];
        foreach ($this->to as $t) {
            $toArr[] = $this->addrFormat($t);
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.php by phpmd

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

    protected function smtpSend($header, $body)
    {
        $bad_rcpt = [];

        if (!$this->smtpConnect()) {
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.php by phpmd

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

    public function setLanguage($langcode = 'en', $lang_path = 'language/')
    {
        //Define full set of translatable strings
        $PHPMAILER_LANG = [
            'authenticate'         => 'SMTP Error: Could not authenticate.',
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.php by phpmd

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

    public function createHeader()
    {
        $result = '';

        // Set the boundaries
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.php by phpmd

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

    protected function encodeFile($path, $encoding = 'base64')
    {
        try {
            if (!is_readable($path)) {
                throw new phpmailerException($this->lang('file_open').$path, self::STOP_CONTINUE);
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.php by phpmd

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

    protected function smtpSend($header, $body)
    {
        $bad_rcpt = [];

        if (!$this->smtpConnect()) {
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.php by phpmd

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

    public function wrapText($message, $length, $qp_mode = false)
    {
        $soft_break = ($qp_mode) ? sprintf(' =%s', $this->LE) : $this->LE;
        // If utf-8 encoding is used, we will need to make sure we don't
        // split multibyte characters when we wrap
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.php by phpmd

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

    protected function smtpSend($header, $body)
    {
        $bad_rcpt = [];

        if (!$this->smtpConnect()) {
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.php by phpmd

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

    public function wrapText($message, $length, $qp_mode = false)
    {
        $soft_break = ($qp_mode) ? sprintf(' =%s', $this->LE) : $this->LE;
        // If utf-8 encoding is used, we will need to make sure we don't
        // split multibyte characters when we wrap
Severity: Minor
Found in lib/Ajde/Mailer/class.phpmailer.php by phpmd

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