Showing 20,971 of 20,976 total issues

The method check_nonce is not named in camelCase.
Open

    private function check_nonce($consumer, $token, $nonce, $timestamp)
    {
        if (!$nonce) {
            throw new OAuthException(
                'Missing nonce parameter. The parameter is required'

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

    public function ACCrudList($model, $options = [])
    {
        return Ajde_Component_Crud::processStatic($this->getParser(),
            [
                'list'    => true,

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

    public static function urldecode_rfc3986($string)
    {
        return urldecode($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 ACCrudMainFilterBadge is not named in camelCase.
Open

    public function ACCrudMainFilterBadge($crud, $refresh = false)
    {
        return Ajde_Component_Crud::processStatic($this->getParser(),
            [
                'mainfilter' => true,

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

    public function __fallback($method, $arguments)
    {
        $helper = $this->getParser()->getHelper();
        if (method_exists($helper, $method)) {
            return call_user_func_array([$helper, $method], $arguments);
Severity: Minor
Found in lib/Ajde/Template.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 _getFileInfo is not named in camelCase.
Open

    private static function _getFileInfo($base, $action, $format = 'html')
    {
        // go see what templates are available
        $dirPrefixPatterns = [
            APP_DIR,
Severity: Minor
Found in lib/Ajde/Template.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 _tobecleaned is not named in camelCase.
Open

    private function _tobecleaned()
    {
        $allMedia = new MediaCollection();
        $toBeCleaned = Ajde_Fs_Find::findFilenames(UPLOAD_DIR, '*.*');

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 static function __bootstrap()
    {
        if (Ajde_User::getLoggedIn()) {
            return true;
        }
Severity: Minor
Found in lib/Ajde/User/Autologon.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 ACAjaxForm is not named in camelCase.
Open

    public function ACAjaxForm($route, $id = null, $class = null, $format = 'json')
    {
        return Ajde_Component_Form::processStatic($this->getParser(),
            ['route' => $route, 'ajax' => true, 'id' => $id, 'class' => $class, 'format' => $format]);
    }

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

    public function ACAjaxUpload($name, $options = [], $id = null, $class = null)
    {
        return Ajde_Component_Form::processStatic($this->getParser(),
            ['name' => $name, 'upload' => true, 'options' => $options, 'id' => $id, 'class' => $class]);
    }

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

    public static function build_http_query($params)
    {
        if (!$params) {
            return '';
        }

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

    public function ACEmbedForm($formId)
    {
        return Ajde_Component_Form::processStatic($this->getParser(), ['embed' => true, 'id' => $formId]);
    }

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

    public function ACQrcode($attributes)
    {
        return Ajde_Component_Qrcode::processStatic($this->getParser(), $attributes);
    }

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

    public function ACEmbed($attributes)
    {
        return Ajde_Component_Embed::processStatic($this->getParser(), $attributes);
    }

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

    protected function _breakOutCdata($xml)
    {
        $patterns = [
            '%<a[cv]:.+?<!\[CDATA\[%',
            '%\]\]>.*</a[cv]:.+?>%',
Severity: Minor
Found in lib/Ajde/Template/Parser/Xhtml.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 __fallback is not named in camelCase.
Open

    public function __fallback($method, $arguments)
    {
        $helper = $this->getHelper();
        if (method_exists($helper, $method)) {
            return call_user_func_array([$helper, $method], $arguments);
Severity: Minor
Found in lib/Ajde/Template/Parser.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 ACLazyImage is not named in camelCase.
Open

    public function ACLazyImage($attributes)
    {
        return Ajde_Component_Image::processStatic($this->getParser(), array_merge($attributes, ['lazy' => true]));
    }

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

    private function _unused()
    {
        $used = new MediaCollection();
        $unused = new MediaCollection();
        $unused->addFilter(new Ajde_Filter_Where('id', Ajde_Filter::FILTER_EQUALS, '-9999'));

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 && Ajde::app()->getRequest()->getParam('filterPublished', false) == true) {
            $this->filterPublished();
Severity: Minor
Found in core/modules/node/model/NodeModel.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 _getFingerprint is not named in camelCase.
Open

    private function _getFingerprint($id)
    {
        if (substr_count($id, ':') === 0) {
            throw new Ajde_Controller_Exception('ID must contain a \':\' when calling _getFingerprint()');
        }

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