Asymptix/Framework

View on GitHub

Showing 720 of 720 total issues

The variable $_ERRORS is not named in camelCase.
Open

    public static function saveError($errorMessageText) {
        global $_ERRORS;

        if (!isset($_ERRORS['_common'])) {
            $_ERRORS['_common'] = [];
Severity: Minor
Found in framework/core/Errors.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 $_fields is not named in camelCase.
Open

    public function setFields($_fields) {
        $this->_fields = $_fields;
    }
Severity: Minor
Found in framework/app/View.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 $_ERRORS is not named in camelCase.
Open

    public static function displayErrorFor($fieldName) {
        global $_ERRORS;

        if (self::isSetErrorFor($fieldName)) {
            return self::displayError($_ERRORS[$fieldName], $fieldName);
Severity: Minor
Found in framework/core/Errors.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 $_ERRORS is not named in camelCase.
Open

    public static function isErrorsExist() {
        global $_ERRORS;

        return isset($_ERRORS['_common']) && !empty($_ERRORS['_common']);
    }
Severity: Minor
Found in framework/core/Errors.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 $_ERRORS is not named in camelCase.
Open

    public static function isSetErrorFor($fieldName) {
        global $_ERRORS;

        return isset($_ERRORS[$fieldName]);
    }
Severity: Minor
Found in framework/core/Errors.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 $_ERRORS is not named in camelCase.
Open

    public static function saveError($errorMessageText) {
        global $_ERRORS;

        if (!isset($_ERRORS['_common'])) {
            $_ERRORS['_common'] = [];
Severity: Minor
Found in framework/core/Errors.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 $_ERRORS is not named in camelCase.
Open

    public static function getError($fieldName) {
        global $_ERRORS;

        if (self::isSetErrorFor($fieldName)) {
            return $_ERRORS[$fieldName];
Severity: Minor
Found in framework/core/Errors.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 $_errors is not named in camelCase.
Open

    public function setErrors($_errors) {
        $this->_errors = $_errors;
    }
Severity: Minor
Found in framework/app/View.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 $_ERRORS is not named in camelCase.
Open

    public static function getErrors() {
        global $_ERRORS;

        return isset($_ERRORS['_common']) ? $_ERRORS['_common'] : [];
    }
Severity: Minor
Found in framework/core/Errors.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 $_ERRORS is not named in camelCase.
Open

    public static function saveErrorFor($fieldName, $errorMessageText) {
        global $_ERRORS;

        $_ERRORS[$fieldName] = $errorMessageText;
    }
Severity: Minor
Found in framework/core/Errors.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 $_ERRORS is not named in camelCase.
Open

    public static function saveError($errorMessageText) {
        global $_ERRORS;

        if (!isset($_ERRORS['_common'])) {
            $_ERRORS['_common'] = [];
Severity: Minor
Found in framework/core/Errors.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 $_FILTER is not named in camelCase.
Open

    public static function isFilterExists($filterName) {
        return isset($_FILTER[$filterName]);
    }
Severity: Minor
Found in framework/core/Tools.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 $_ERRORS is not named in camelCase.
Open

    public static function saveErrorFor($fieldName, $errorMessageText) {
        global $_ERRORS;

        $_ERRORS[$fieldName] = $errorMessageText;
    }
Severity: Minor
Found in framework/core/Errors.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 $_messages is not named in camelCase.
Open

    public function setMessages($_messages) {
        $this->_messages = $_messages;
    }
Severity: Minor
Found in framework/app/View.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 $_ERRORS is not named in camelCase.
Open

    public static function isSetErrorFor($fieldName) {
        global $_ERRORS;

        return isset($_ERRORS[$fieldName]);
    }
Severity: Minor
Found in framework/core/Errors.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 $_ERRORS is not named in camelCase.
Open

    public static function isErrorsExist() {
        global $_ERRORS;

        return isset($_ERRORS['_common']) && !empty($_ERRORS['_common']);
    }
Severity: Minor
Found in framework/core/Errors.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 $_ERRORS is not named in camelCase.
Open

    public static function saveError($errorMessageText) {
        global $_ERRORS;

        if (!isset($_ERRORS['_common'])) {
            $_ERRORS['_common'] = [];
Severity: Minor
Found in framework/core/Errors.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 $_FILTER is not named in camelCase.
Open

    public static function getFilterValue($filterName, $defaultValue = null) {
        global $_FILTER;

        return isset($_FILTER[$filterName]) ? $_FILTER[$filterName] : $defaultValue;
    }
Severity: Minor
Found in framework/core/Tools.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 $_FILTER is not named in camelCase.
Open

    public static function getFilterValue($filterName, $defaultValue = null) {
        global $_FILTER;

        return isset($_FILTER[$filterName]) ? $_FILTER[$filterName] : $defaultValue;
    }
Severity: Minor
Found in framework/core/Tools.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 $_TPL is not named in camelCase.
Open

    public static function render($tplPath, $tplVariables = []) {
        $_TPL = $tplVariables;

        ob_start();
        include($tplPath);
Severity: Minor
Found in framework/core/Content.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