Showing 20,971 of 20,976 total issues

The method _getCustomTemplateAction is not named in camelCase.
Open

    private function _getCustomTemplateAction()
    {
        return 'crud/'.(string) $this->getModel()->getTable().DIRECTORY_SEPARATOR.$this->getAction();
    }
Severity: Minor
Found in lib/Ajde/Crud.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _hasCustomTemplate is not named in camelCase.
Open

    protected function _hasCustomTemplate($action)
    {
        $base = $this->_getCustomTemplateBase();
        $action = $this->_getCustomTemplateAction($action);

Severity: Minor
Found in lib/Ajde/Crud/Field.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _set is not named in camelCase.
Open

    protected function _set($key, $value)
    {
        parent::_set($key, $value);

        return $this;
Severity: Minor
Found in lib/Ajde/Crud/Options.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _init is not named in camelCase.
Open

    protected function _init()
    {
        return [];
    }
Severity: Minor
Found in lib/Ajde/Component.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _getCustomTemplateBase is not named in camelCase.
Open

    private function _getCustomTemplateBase()
    {
        return MODULE_DIR.$this->getCustomTemplateModule().DIRECTORY_SEPARATOR;
    }
Severity: Minor
Found in lib/Ajde/Crud.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _hasCustomTemplate is not named in camelCase.
Open

    private function _hasCustomTemplate()
    {
        $base = $this->_getCustomTemplateBase();
        $action = $this->_getCustomTemplateAction();

Severity: Minor
Found in lib/Ajde/Crud.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _getFieldTemplate is not named in camelCase.
Open

    protected function _getFieldTemplate()
    {
        return $this->_getTemplate('field');
    }
Severity: Minor
Found in lib/Ajde/Crud/Field.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _getCustomTemplateAction is not named in camelCase.
Open

    protected function _getCustomTemplateAction($action)
    {
        return 'crud/'.(string) $this->_crud->getModel()->getTable().'/'.$action;
    }
Severity: Minor
Found in lib/Ajde/Crud/Field.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _getTemplateActionDefault is not named in camelCase.
Open

    private function _getTemplateActionDefault(Ajde_Template $template)
    {
        $actionArray = explode('/', $template->getAction());
        end($actionArray);
        $actionArray[key($actionArray)] = 'default';
Severity: Minor
Found in lib/Ajde/Document/Format/Html.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method preg_quote is not named in camelCase.
Open

    public static function preg_quote($what)
    {
        return preg_quote($what, '/');
    }

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method lib_isnumber is not named in camelCase.
Open

    protected function lib_isnumber($value)
    {
        return $this->toBool($value[0] == 'number');
    }

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method lib_isstring is not named in camelCase.
Open

    protected function lib_isstring($value)
    {
        return $this->toBool($value[0] == 'string');
    }

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method lib_iscolor is not named in camelCase.
Open

    protected function lib_iscolor($value)
    {
        return $this->toBool($this->coerceColor($value));
    }

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method lib_ispixel is not named in camelCase.
Open

    protected function lib_ispixel($value)
    {
        return $this->toBool($value[0] == 'number' && $value[2] == 'px');
    }

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method lib_iskeyword is not named in camelCase.
Open

    protected function lib_iskeyword($value)
    {
        return $this->toBool($value[0] == 'keyword');
    }

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method lib_blue is not named in camelCase.
Open

    public function lib_blue($color)
    {
        $color = $this->coerceColor($color);
        if (is_null($color)) {
            $this->throwError('color expected for blue()');

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method lib_darken is not named in camelCase.
Open

    protected function lib_darken($args)
    {
        list($color, $delta) = $this->colorArgs($args);

        $hsl = $this->toHSL($color);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method lib_saturate is not named in camelCase.
Open

    protected function lib_saturate($args)
    {
        list($color, $delta) = $this->colorArgs($args);

        $hsl = $this->toHSL($color);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method lib_fadein is not named in camelCase.
Open

    protected function lib_fadein($args)
    {
        list($color, $delta) = $this->colorArgs($args);
        $color[4] = $this->clamp((isset($color[4]) ? $color[4] : 1) + $delta / 100);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method op_color_number is not named in camelCase.
Open

    protected function op_color_number($op, $lft, $rgt)
    {
        if ($rgt[0] == '%') {
            $rgt[1] /= 100;
        }

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

Severity
Category
Status
Source
Language