Showing 20,971 of 20,976 total issues

The variable $M 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 $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 $M 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 $curlopt_header 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 $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 $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 $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 $TOffset 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 $http_status is not named in camelCase.
Open

    public function getThumbnail()
    {
        $ytid = $this->_getYoutubeId();
        if ($ytid) {
            $fullres = 'http://img.youtube.com/vi/'.$ytid.'/maxresdefault.jpg';
Severity: Minor
Found in lib/Ajde/Embed/Youtube.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 $curlopt_header 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 $TOffset 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 $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 $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 $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 $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 $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 $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 $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 $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

Severity
Category
Status
Source
Language