Showing 20,971 of 20,976 total issues

The variable $to_text is not named in camelCase.
Open

    private static function doCharDiff($from_text, $to_text)
    {
        $result = [];
        $jobs = [[0, strlen($from_text), 0, strlen($to_text)]];
        while ($job = array_pop($jobs)) {
Severity: Minor
Found in lib/Ajde/Component/lib/finediff.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 $source_contents is not named in camelCase.
Open

    public static function generate($class, $extends, $source_class, $source_extends)
    {
        $reflector = new ReflectionClass($source_class);

        $source_contents = $reflector->getFileName();

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

    public static function saveCache($sql, $result)
    {
        self::$_cache[$sql] = $result;

        return $result;
Severity: Minor
Found in lib/Ajde/Db/Adapter/Mysql.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 $from_offset is not named in camelCase.
Open

    private static function renderDiffToHTMLFromOpcode($opcode, $from, $from_offset, $from_len)
    {
        if ($opcode === 'c') {
            echo htmlentities(substr($from, $from_offset, $from_len));
        } else {
Severity: Minor
Found in lib/Ajde/Component/lib/finediff.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 $from_offset is not named in camelCase.
Open

    private static function renderDiffToHTMLFromOpcode($opcode, $from, $from_offset, $from_len)
    {
        if ($opcode === 'c') {
            echo htmlentities(substr($from, $from_offset, $from_len));
        } else {
Severity: Minor
Found in lib/Ajde/Component/lib/finediff.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 $source_contents is not named in camelCase.
Open

    public static function generate($class, $extends, $source_class, $source_extends)
    {
        $reflector = new ReflectionClass($source_class);

        $source_contents = $reflector->getFileName();

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

    public function execute($input_parameters = null)
    {
        $log = ['query' => ''];
        if (config('app.debug') === true) {
            //$cache = Ajde_Db_Cache::getInstance();
Severity: Minor
Found in lib/Ajde/Db/PDOStatement.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 $input_parameters is not named in camelCase.
Open

    public function execute($input_parameters = null)
    {
        $log = ['query' => ''];
        if (config('app.debug') === true) {
            //$cache = Ajde_Db_Cache::getInstance();
Severity: Minor
Found in lib/Ajde/Db/PDOStatement.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 $input_parameters is not named in camelCase.
Open

    public function execute($input_parameters = null)
    {
        $log = ['query' => ''];
        if (config('app.debug') === true) {
            //$cache = Ajde_Db_Cache::getInstance();
Severity: Minor
Found in lib/Ajde/Db/PDOStatement.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 $PDOValues is not named in camelCase.
Open

    public static function getEmulatedSql($sql, $PDOValues)
    {
        // @see http://stackoverflow.com/questions/210564/pdo-prepared-statements/1376838#1376838
        $keys = [];
        $values = [];
Severity: Minor
Found in lib/Ajde/Db/PDOStatement.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 $first_a is not named in camelCase.
Open

    protected function lib_mix($args)
    {
        if ($args[0] != 'list' || count($args[2]) < 3) {
            $this->throwError('mix expects (color1, color2, weight)');
        }

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

    protected function lib_mix($args)
    {
        if ($args[0] != 'list' || count($args[2]) < 3) {
            $this->throwError('mix expects (color1, color2, weight)');
        }

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

    protected function lib_mix($args)
    {
        if ($args[0] != 'list' || count($args[2]) < 3) {
            $this->throwError('mix expects (color1, color2, weight)');
        }

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

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

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

    protected function lib_mix($args)
    {
        if ($args[0] != 'list' || count($args[2]) < 3) {
            $this->throwError('mix expects (color1, color2, weight)');
        }

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