kai-jacobsen/kontentblocks

View on GitHub

Showing 4,293 of 4,293 total issues

The method _attributesList is not named in camelCase.
Open

    private function _attributesList()
    {
        $returnstr = '';
        foreach ($this->attributes as $attr => $value) {
            $returnstr .= "{$attr}='{$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 _renderAttributes is not named in camelCase.
Open

    private function _renderAttributes()
    {
        $return = "class='{$this->_classList()}' ";
        $return .= $this->_attributesList();

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

    private static function _getSubpackage( $result, $context )
    {
        if (is_null( $result )) {
            $result = self::$packages;
        }
Severity: Minor
Found in core/Language/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

TODO found
Open

        //@TODO rewrite, this is old

TODO found
Open

        // @TODO other properties?

TODO found
Open

      // @TODO max values to options
Severity: Minor
Found in js/src/wpMediaExt/KB.media.Crop.js by fixme

TODO found
Open

        // @TODO 157 159 was commented out, and that was probably correct

TODO found
Open

     * @TODO: probably not supposed to be here
Severity: Minor
Found in core/Frontend/ModuleIterator.php by fixme

TODO found
Open

  // TODO Re-initialize ui components

TODO found
Open

        // TODO Explanation text for non-developers on page

TODO found
Open

        return parent::save($new, $old); // TODO: Change the autogenerated stub
Severity: Minor
Found in core/Fields/Definitions/Link.php by fixme

TODO found
Open

     * @TODO 'get' would be more appropriate
Severity: Minor
Found in core/Frontend/ModuleIterator.php by fixme

TODO found
Open

    // @TODO a module class which was assigned to an area is not necessarily present

TODO found
Open

        KB.Events.trigger('kb.repaint'); // @TODO figure this out

TODO found
Open

     * TODO: Don't return non existing modules

TODO found
Open

  // @TODO remove
Severity: Minor
Found in js/src/frontend/FrontendController.js by fixme

TODO found
Open

  // TODO clean up and remove all references & bindings

TODO found
Open

    // TODO maybe check if admin bar is around

TODO found
Open

     * @TODO clean up module header from legacy code
Severity: Minor
Found in core/Modules/ModuleNode.php by fixme

TODO found
Open

        // TODO Include a public context switch
Severity
Category
Status
Source
Language