Showing 20,971 of 20,976 total issues

The method _sluggify is not named in camelCase.
Open

    private function _sluggify($name)
    {
        // @see http://stackoverflow.com/a/5240834
        $slug = iconv('UTF-8', 'ASCII//TRANSLIT', $name);
        $slug = preg_replace("/[^a-zA-Z0-9\/_| -]/", '', $name);
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 _getEntityModel is not named in camelCase.
Open

    protected function _getEntityModel($entityName)
    {
        $entityModelName = ucfirst((string) $entityName).'Model';

        return new $entityModelName();

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()->hasRequest() && Ajde::app()->getRequest()->getParam('filterPublished',
                false) == 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 _makeSlug is not named in camelCase.
Open

    private function _makeSlug()
    {
        $name = $this->title;

        $ghost = new self();
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 _setSlug is not named in camelCase.
Open

    private function _setSlug()
    {
        $this->slug = $this->_makeSlug();
    }
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 _makeSlug is not named in camelCase.
Open

    private function _makeSlug()
    {
        $name = $this->has('title') ? $this->title : '';

        $ghost = new self();

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

    private function _sluggify($name)
    {
        // @see http://stackoverflow.com/a/5240834
        $slug = iconv('UTF-8', 'ASCII//TRANSLIT', $name);
        $slug = preg_replace("/[^a-zA-Z0-9\/_| -]/", '', $name);

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

TODO found
Open

                // TODO: if no such option exist?
Severity: Minor
Found in public/assets/js/core/jqCombo.js by fixme

TODO found
Open

     * TODO(ianbarber): This function needs simplifying.

TODO found
Open

                // TODO:
Severity: Minor
Found in lib/Ajde/Http/Request.php by fixme

TODO found
Open

                // TODO:
Severity: Minor
Found in lib/Ajde/Http/Request.php by fixme

TODO found
Open

        // TODO:
Severity: Minor
Found in lib/Ajde/Component/Crud.php by fixme

TODO found
Open

        // TODO:
Severity: Minor
Found in lib/Ajde/Component/Embed.php by fixme

TODO found
Open

    // TODO: make sure destroying one instance of mouse doesn't mess with

TODO found
Open

        // TODO:
Severity: Minor
Found in lib/Ajde/Http/Curl.php by fixme

TODO found
Open

        // TODO: potential bug when baseuri is something like /node (now all requests with /node/node will return '')
Severity: Minor
Found in lib/Ajde/Http/Request.php by fixme

TODO found
Open

            // TODO, throw error here??
Severity: Minor
Found in lib/Ajde/Log/Writer/File.php by fixme

TODO found
Open

        // TODO: also remove from $this->_data['headers']
Severity: Minor
Found in lib/Ajde/Http/Response.php by fixme

TODO found
Open

        // TODO: performance gain?
Severity: Minor
Found in lib/Ajde/Resource.php by fixme

TODO found
Open

        // TODO:
Severity: Minor
Found in lib/Ajde/Component/Image.php by fixme
Severity
Category
Status
Source
Language