mambax7/cardealer

View on GitHub

Showing 664 of 664 total issues

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

    public static function truncateHtml($text, $length = 100, $ending = '...', $exact = false, $considerHtml = true)
    {
        if ($considerHtml) {
            // if the plain text is shorter than the maximum length, return the whole text
            if (strlen(preg_replace('/<.*?' . '>/', '', $text)) <= $length) {
Severity: Minor
Found in class/Utility.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

XXX found
Open

            //                     <th class='center width5'>".AM_CARDEALER_FORM_ACTION."XXX</th>
Severity: Minor
Found in admin/part.php by fixme

TODO found
Open

        // TODO set exportSchema
Severity: Minor
Found in testdata/index.php by fixme
Severity
Category
Status
Source
Language