Showing 20,971 of 20,976 total issues

The method __bootstrap is not named in camelCase.
Open

    public function __bootstrap()
    {
        if (file_exists(LOCAL_ROOT.LIB_DIR.'HTMLPurifier/HTMLPurifier.auto.php')) {
            require_once LOCAL_ROOT.LIB_DIR.'HTMLPurifier/HTMLPurifier.auto.php';
            // Optional components still need to be included--you'll know if you try to
Severity: Minor
Found in lib/Ajde/Core/ExternalLibs.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 _load is not named in camelCase.
Open

    protected function _load($sql, $values, $populate = true)
    {
        $return = parent::_load($sql, $values, $populate);
        if ($return) {
            $this->validateAccess('read');
Severity: Minor
Found in lib/Ajde/Acl/Proxy/Model.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 _extractRouteParts is not named in camelCase.
Open

    protected function _extractRouteParts()
    {
        $matches = [];
        $defaultRules = [
            // module/controller:view
Severity: Minor
Found in lib/Ajde/Core/Route.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 _getHtmlAttributes is not named in camelCase.
Open

    protected function _getHtmlAttributes()
    {
        $attributes = [];
        $attributes['type'] = 'number';
        $attributes['step'] = 'any';
Severity: Minor
Found in lib/Ajde/Crud/Field/Numeric.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 __bootstrap is not named in camelCase.
Open

    public function __bootstrap();
Severity: Minor
Found in lib/Ajde/BootstrapInterface.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 __bootstrap is not named in camelCase.
Open

    public function __bootstrap()
    {
        Ajde_Event::register('Ajde_Core_Route', 'onAfterLangSet', [$this, 'setHomepage']);
        Ajde_Event::register('Ajde_Core_Route', 'onAfterRouteSet', [$this, 'detectNodeSlug']);
        Ajde_Event::register('Ajde_Core_Route', 'onAfterRouteSet', [$this, 'detectShopSlug']);
Severity: Minor
Found in lib/Ajde/Cms.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 _getHtmlAttributes is not named in camelCase.
Open

    public function _getHtmlAttributes()
    {
        $attributes = [];
        $attributes['class'] = 'lang';

Severity: Minor
Found in lib/Ajde/Crud/Field/I18n.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 _getHtmlAttributes is not named in camelCase.
Open

    protected function _getHtmlAttributes()
    {
        $attributes = [];
        $attributes['type'] = 'hidden';

Severity: Minor
Found in lib/Ajde/Crud/Field/Multiple.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 [
            'action'     => 'local',
            'filename'   => 'public',
Severity: Minor
Found in lib/Ajde/Component/Css.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 _stripLinkDefinitions_callback is not named in camelCase.
Open

    public function _stripLinkDefinitions_callback($matches)
    {
        $link_id = strtolower($matches[1]);
        $url = $matches[2] == '' ? $matches[3] : $matches[2];
        $this->urls[$link_id] = $url;

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 __bootstrap is not named in camelCase.
Open

    public function __bootstrap()
    {
        \Nabble\SemaltBlocker\Blocker::protect();

        Ajde_Event::register('TransactionModel', 'onPaid', [$this, 'onTransactionPaid']);
Severity: Minor
Found in app/App.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 _getHtmlAttributes is not named in camelCase.
Open

    protected function _getHtmlAttributes()
    {
        $attributes = [];
        if ($this->hasReadonly() && $this->getReadonly() === true) {
            $attributes['value'] = Ajde_Component_String::escape($this->getValue());
Severity: Minor
Found in lib/Ajde/Crud/Field/Date.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 _getHtmlAttributes is not named in camelCase.
Open

    public function _getHtmlAttributes()
    {
        $attributes = [];
        if (count($this->getValues()) >= $this->_chosenTreshold) {
            $attributes['class'] = 'chosen';
Severity: Minor
Found in lib/Ajde/Crud/Field/Enum.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 TextileThis is not named in camelCase.
Open

        public function TextileThis($text, $lite = '', $encode = '')
        {
            if ($lite == '' && $encode == '') {
                $text = Markdown($text);
            }

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 _getHtmlAttributes is not named in camelCase.
Open

    protected function _getHtmlAttributes()
    {
        $attributes = [];
        $attributes['type'] = 'hidden';
        $attributes['value'] = $this->getValue() ? '1' : '0';
Severity: Minor
Found in lib/Ajde/Crud/Field/Boolean.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 _getHtmlAttributes is not named in camelCase.
Open

    protected function _getHtmlAttributes()
    {
        $attributes = [];
        $attributes['type'] = 'hidden';
        $attributes['value'] = $this->getValue();
Severity: Minor
Found in lib/Ajde/Crud/Field/Icon.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 _getHtmlAttributes is not named in camelCase.
Open

    protected function _getHtmlAttributes()
    {
        $attributes = [];
        $attributes['type'] = 'hidden';
        $attributes['value'] = Ajde_Component_String::escape($this->getValue());
Severity: Minor
Found in lib/Ajde/Crud/Field/Media.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 Markdown_Parser is not named in camelCase.
Open

    public function Markdown_Parser()
    {
        //
        // Constructor function. Initialize appropriate member variables.
        //

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 _getHtmlAttributes is not named in camelCase.
Open

    protected function _getHtmlAttributes()
    {
        $value = $this->getValue();
        if (!substr_count($value, ' ') && !empty($value)) {
            $data = unpack('x/x/x/x/corder/Ltype/dlat/dlon', $this->getValue());
Severity: Minor
Found in lib/Ajde/Crud/Field/Spatial.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 ETagMatch is not named in camelCase.
Open

    public function ETagMatch($serverETag = null)
    {
        if (empty($serverETag) && isset($_SERVER['HTTP_IF_NONE_MATCH'])) {
            $serverETag = $_SERVER['HTTP_IF_NONE_MATCH'];
        }
Severity: Minor
Found in lib/Ajde/Cache.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

Severity
Category
Status
Source
Language