mambax7/cardealer

View on GitHub

Showing 664 of 664 total issues

Rule doesn't have all its properties in alphabetical order.
Open

table.cardealer {
Severity: Minor
Found in assets/css/style.css by csslint

Rule doesn't have all its properties in alphabetical order.
Open

#about label {
Severity: Minor
Found in assets/css/style.css by csslint

Using width with padding-right can sometimes make elements larger than you expect.
Open

    padding-right: 20px;
Severity: Minor
Found in assets/css/style.css by csslint

Element (div.outer) is overqualified, just use .outer without element name.
Open

div.outer {
Severity: Minor
Found in assets/css/style.css by csslint

Don't use IDs in selectors.
Open

#about label, #about text {
Severity: Minor
Found in assets/css/style.css by csslint

Don't use IDs in selectors.
Open

#about br {
Severity: Minor
Found in assets/css/style.css by csslint

Don't use IDs in selectors.
Open

#about label, #about text {
Severity: Minor
Found in assets/css/style.css by csslint

Element (table.cardealer) is overqualified, just use .cardealer without element name.
Open

table.cardealer {
Severity: Minor
Found in assets/css/style.css by csslint

Space before opening parenthesis of function call prohibited
Open

            exit ($GLOBALS['xoopsDB']->error());
Severity: Minor
Found in class/Utility.php by phpcodesniffer

Space before opening parenthesis of function call prohibited
Open

        $result = $GLOBALS['xoopsDB']->queryF("INSERT INTO $table (" . implode(', ', array_keys($tempTable)) . ") VALUES ('" . implode("', '", array_values($tempTable)) . "')") or exit ($GLOBALS['xoopsDB']->error());
Severity: Minor
Found in class/Utility.php by phpcodesniffer

Space before opening parenthesis of function call prohibited
Open

$criteria->add(new \Criteria ('group_type', 'Admin'));
Severity: Minor
Found in xoops_version.php by phpcodesniffer

Space before opening parenthesis of function call prohibited
Open

$criteria = new \CriteriaCompo ();
Severity: Minor
Found in xoops_version.php by phpcodesniffer

The variable $customer_id_select is not named in camelCase.
Open

    public function __construct($target)
    {
        global $helper;
        $this->targetObject = $target;

Severity: Minor
Found in class/Form/WorkorderForm.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 $customer_id_select is not named in camelCase.
Open

    public function __construct($target)
    {
        global $helper;
        $this->targetObject = $target;

Severity: Minor
Found in class/Form/VehicleForm.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 $vehicle_id_select is not named in camelCase.
Open

    public function __construct($target)
    {
        global $helper;
        $this->targetObject = $target;

Severity: Minor
Found in class/Form/WorkorderForm.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 $service_id_select is not named in camelCase.
Open

    public function __construct($target)
    {
        global $helper;
        $this->targetObject = $target;

Severity: Minor
Found in class/Form/ServpartForm.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 $service_id_select is not named in camelCase.
Open

    public function __construct($target)
    {
        global $helper;
        $this->targetObject = $target;

Severity: Minor
Found in class/Form/ServpartForm.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 $customer_id_select is not named in camelCase.
Open

    public function __construct($target)
    {
        global $helper;
        $this->targetObject = $target;

Severity: Minor
Found in class/Form/WorkorderForm.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 $vehicle_id_select is not named in camelCase.
Open

    public function __construct($target)
    {
        global $helper;
        $this->targetObject = $target;

Severity: Minor
Found in class/Form/WorkorderForm.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 $part_id_select is not named in camelCase.
Open

    public function __construct($target)
    {
        global $helper;
        $this->targetObject = $target;

Severity: Minor
Found in class/Form/ServpartForm.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