iranianpep/code-jetter

View on GitHub

Showing 1,173 of 1,173 total issues

Line indented incorrectly; expected 0 spaces, found 4
Open

    } else {

Line indented incorrectly; expected 4 spaces, found 8
Open

        public function testIsLoggedIn()

Line indented incorrectly; expected 4 spaces, found 8
Open

        }

The variable $PDOBind is not named in camelCase.
Open

    public function setPDOBind($PDOBind)
    {
        $this->PDOBind = $PDOBind;
    }
Severity: Minor
Found in core/io/DatabaseInput.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 $DS is not named in camelCase.
Open

    public function getTemplatePath()
    {
        if (!isset($this->templatePath)) {
            // get_called_class is used to determine which child class has been called this function
            $blockName = strtolower((new StringUtility())->getClassNameFromNamespace(get_called_class()));
Severity: Minor
Found in core/layout/blocks/BaseBlock.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 $LastFieldKey is not named in camelCase.
Open

    public function updateQuery(array $criteria, $fieldsValues, $start, $limit)
    {
        if (empty($fieldsValues)) {
            throw new \Exception('fieldsValues cannot be empty in updateQuery function');
        }
Severity: Minor
Found in core/database/QueryMaker.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 $PDOType is not named in camelCase.
Open

    public function setPDOType($PDOType)
    {
        $this->PDOType = $PDOType;
    }
Severity: Minor
Found in core/io/DatabaseInput.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 $HTTPInputs is not named in camelCase.
Open

    public function route()
    {
        // get request method and URI
        $request = new Request();
        $requestMethod = $request->getRequestMethod();
Severity: Minor
Found in core/Router.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 $DS is not named in camelCase.
Open

    public function getTemplatePath()
    {
        if (!isset($this->templatePath)) {
            // get_called_class is used to determine which child class has been called this function
            $blockName = strtolower((new StringUtility())->getClassNameFromNamespace(get_called_class()));
Severity: Minor
Found in core/layout/blocks/BaseBlock.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 $LastFieldKey is not named in camelCase.
Open

    public function updateQuery(array $criteria, $fieldsValues, $start, $limit)
    {
        if (empty($fieldsValues)) {
            throw new \Exception('fieldsValues cannot be empty in updateQuery function');
        }
Severity: Minor
Found in core/database/QueryMaker.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 $DS is not named in camelCase.
Open

    public function getTemplatePath()
    {
        if (!isset($this->templatePath)) {
            // get_called_class is used to determine which child class has been called this function
            $blockName = strtolower((new StringUtility())->getClassNameFromNamespace(get_called_class()));
Severity: Minor
Found in core/layout/blocks/BaseBlock.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 $HTTPInputs is not named in camelCase.
Open

    public function route()
    {
        // get request method and URI
        $request = new Request();
        $requestMethod = $request->getRequestMethod();
Severity: Minor
Found in core/Router.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 $DS is not named in camelCase.
Open

    public function getTemplatePath()
    {
        if (!isset($this->templatePath)) {
            // get_called_class is used to determine which child class has been called this function
            $blockName = strtolower((new StringUtility())->getClassNameFromNamespace(get_called_class()));
Severity: Minor
Found in core/layout/blocks/BaseBlock.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