Showing 20,971 of 20,976 total issues

The variable $CRS 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 $Z 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 $header_start is not named in camelCase.
Open

    private static function _curl_exec_follow(&$ch, $redirects = 20, $curlopt_header = false)
    {
        if ((!ini_get('open_basedir') && !ini_get('safe_mode')) || $redirects < 1) {
            curl_setopt($ch, CURLOPT_HEADER, $curlopt_header);
            curl_setopt($ch, CURLOPT_FOLLOWLOCATION, $redirects > 0);
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 $header_start is not named in camelCase.
Open

    private static function _curl_exec_follow(&$ch, $redirects = 20, $curlopt_header = false)
    {
        if ((!ini_get('open_basedir') && !ini_get('safe_mode')) || $redirects < 1) {
            curl_setopt($ch, CURLOPT_HEADER, $curlopt_header);
            curl_setopt($ch, CURLOPT_FOLLOWLOCATION, $redirects > 0);
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 $WS 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 $M is not named in camelCase.
Open

    public function multiply($m1, $m2)
    {
        $ni = count($m1);
        $ki = $ni;
        $i;

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

    public function Luv_LCHuv($o)
    {
        $H = atan2($o['v'], $o['u']) * (180 / PI);

        if ($H < 0) {

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

    protected function getLanguagesFromHeader()
    {
        // @source http://www.thefutureoftheweb.com/blog/use-accept-language-header
        $langs = [];
        if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
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 $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 $Z 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 $WD 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 $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 $Y 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 $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 $H is not named in camelCase.
Open

    public function Luv_LCHuv($o)
    {
        $H = atan2($o['v'], $o['u']) * (180 / PI);

        if ($H < 0) {

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