Showing 20,971 of 20,976 total issues

The variable $L is not named in camelCase.
Open

    protected function toRGB($color)
    {
        if ($color[0] == 'color') {
            return $color;
        }

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

    protected function toHSL($color)
    {
        if ($color[0] == 'hsl') {
            return $color;
        }

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

    protected function toHSL($color)
    {
        if ($color[0] == 'hsl') {
            return $color;
        }

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

    protected function toRGB($color)
    {
        if ($color[0] == 'color') {
            return $color;
        }

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

    protected function toHSL($color)
    {
        if ($color[0] == 'hsl') {
            return $color;
        }

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

    protected function toHSL($color)
    {
        if ($color[0] == 'hsl') {
            return $color;
        }

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

    protected function toRGB($color)
    {
        if ($color[0] == 'color') {
            return $color;
        }

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

    protected function toRGB($color)
    {
        if ($color[0] == 'color') {
            return $color;
        }

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 __construct()
    {
        $wheel = [
            [0, 0],
            [15, 8], // Red

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 RGB_HSL($o)
    {
        $_R = $o['R'] / 255;
        $_G = $o['G'] / 255;
        $_B = $o['B'] / 255;

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 RGB_HSL($o)
    {
        $_R = $o['R'] / 255;
        $_G = $o['G'] / 255;
        $_B = $o['B'] / 255;

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

    public function RGB_HSL($o)
    {
        $_R = $o['R'] / 255;
        $_G = $o['G'] / 255;
        $_B = $o['B'] / 255;

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 RGB_HSL($o)
    {
        $_R = $o['R'] / 255;
        $_G = $o['G'] / 255;
        $_B = $o['B'] / 255;

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 RGB_HSL($o)
    {
        $_R = $o['R'] / 255;
        $_G = $o['G'] / 255;
        $_B = $o['B'] / 255;

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

    public function RGB_HSV($o)
    {
        $_R = $o['R'] / 255;
        $_G = $o['G'] / 255;
        $_B = $o['B'] / 255;

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

    public function RGB_HSV($o)
    {
        $_R = $o['R'] / 255;
        $_G = $o['G'] / 255;
        $_B = $o['B'] / 255;

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

    public function RGB_HSV($o)
    {
        $_R = $o['R'] / 255;
        $_G = $o['G'] / 255;
        $_B = $o['B'] / 255;

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 RGB_XYZ($o)
    {
        $M = $this->_RGB_XYZ;
        $z = [];

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 RGB_XYZ($o)
    {
        $M = $this->_RGB_XYZ;
        $z = [];

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 RGB_XYZ($o)
    {
        $M = $this->_RGB_XYZ;
        $z = [];

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