Showing 20,971 of 20,976 total issues

The method _init is not named in camelCase.
Open

    protected function _init()
    {
        return [
            'url' => 'render',
        ];
Severity: Minor
Found in lib/Ajde/Component/Embed.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 TextileRestricted is not named in camelCase.
Open

        public function TextileRestricted($text, $lite = '', $noimage = '')
        {
            return $this->TextileThis($text, $lite);
        }

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 [
            'list'       => 'list',
            'edit'       => 'edit',
Severity: Minor
Found in lib/Ajde/Component/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 _doImages_reference_callback is not named in camelCase.
Open

    public function _doImages_reference_callback($matches)
    {
        $whole_match = $matches[1];
        $alt_text = $matches[2];
        $link_id = strtolower($matches[3]);

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 [
            'base64'   => 'base64',
            'filename' => 'html',
Severity: Minor
Found in lib/Ajde/Component/Image.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 _doAnchors_inline_callback is not named in camelCase.
Open

    public function _doAnchors_inline_callback($matches)
    {
        $whole_match = $matches[1];
        $link_text = $this->runSpanGamut($matches[2]);
        $url = $matches[3] == '' ? $matches[4] : $matches[3];

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 [
            'text' => 'toHtml',
        ];
Severity: Minor
Found in lib/Ajde/Component/Markdown.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 _doImages_inline_callback is not named in camelCase.
Open

    public function _doImages_inline_callback($matches)
    {
        $whole_match = $matches[1];
        $alt_text = $matches[2];
        $url = $matches[3] == '' ? $matches[4] : $matches[3];

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

    public function _doHeaders_callback_atx($matches)
    {
        $level = strlen($matches[1]);
        $block = "<h$level>".$this->runSpanGamut($matches[2])."</h$level>";

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

    public function _doAutoLinks_url_callback($matches)
    {
        $url = $this->encodeAttribute($matches[1]);
        $link = "<a href=\"$url\">$url</a>";

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

    public function _doAutoLinks_email_callback($matches)
    {
        $address = $matches[1];
        $link = $this->encodeEmailAddress($address);

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

    public function _initDetab()
    {
        //
        // Check for the availability of the function in the `utf8_strlen` property
        // (initially `mb_strlen`). If the function is not available, create a

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

    public function _hashHTMLBlocks_callback($matches)
    {
        $text = $matches[1];
        $key = $this->hashBlock($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 _escape is not named in camelCase.
Open

    private static function _escape($var)
    {
        return htmlspecialchars($var, ENT_QUOTES);
    }
Severity: Minor
Found in lib/Ajde/Component/String.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 _processListItems_callback is not named in camelCase.
Open

    public function _processListItems_callback($matches)
    {
        $item = $matches[4];
        $leading_line = &$matches[1];
        $leading_space = &$matches[2];

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

    public function _doBlockQuotes_callback2($matches)
    {
        $pre = $matches[1];
        $pre = preg_replace('/^  /m', '', $pre);

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

    public function _doBlockQuotes_callback($matches)
    {
        $bq = $matches[1];
        // trim one level of quoting - trim whitespace-only lines
        $bq = preg_replace('/^[ ]*>[ ]?|^[ ]+$/m', '', $bq);

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

    public function _detab_callback($matches)
    {
        $line = $matches[0];
        $strlen = $this->utf8_strlen; // strlen function for UTF-8.

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 [
            'ajax'   => 'ajax',
            'route'  => 'form',
Severity: Minor
Found in lib/Ajde/Component/Form.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 _doAnchors_reference_callback is not named in camelCase.
Open

    public function _doAnchors_reference_callback($matches)
    {
        $whole_match = $matches[1];
        $link_text = $matches[2];
        $link_id = &$matches[3];

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