Showing 20,971 of 20,976 total issues

The variable $to_copy_start is not named in camelCase.
Open

    private static function doCharDiff($from_text, $to_text)
    {
        $result = [];
        $jobs = [[0, strlen($from_text), 0, strlen($to_text)]];
        while ($job = array_pop($jobs)) {
Severity: Minor
Found in lib/Ajde/Component/lib/finediff.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $from_copy_start_max is not named in camelCase.
Open

    private static function doCharDiff($from_text, $to_text)
    {
        $result = [];
        $jobs = [[0, strlen($from_text), 0, strlen($to_text)]];
        while ($job = array_pop($jobs)) {
Severity: Minor
Found in lib/Ajde/Component/lib/finediff.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $copy_len is not named in camelCase.
Open

    private static function doCharDiff($from_text, $to_text)
    {
        $result = [];
        $jobs = [[0, strlen($from_text), 0, strlen($to_text)]];
        while ($job = array_pop($jobs)) {
Severity: Minor
Found in lib/Ajde/Component/lib/finediff.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $less_than_tab is not named in camelCase.
Open

    public function doLists($text)
    {
        //
        // Form HTML ordered (numbered) and unordered (bulleted) lists.
        //

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $tailing_blank_line is not named in camelCase.
Open

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

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $marker_space is not named in camelCase.
Open

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

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $em_re is not named in camelCase.
Open

    public function prepareItalicsAndBold()
    {
        //
        // Prepare regular expressions for searching emphasis tokens in any
        // context.

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $strong_re is not named in camelCase.
Open

    public function prepareItalicsAndBold()
    {
        //
        // Prepare regular expressions for searching emphasis tokens in any
        // context.

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $text_stack is not named in camelCase.
Open

    public function doItalicsAndBold($text)
    {
        $token_stack = [''];
        $text_stack = [''];
        $em = '';

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $token_stack is not named in camelCase.
Open

    public function doItalicsAndBold($text)
    {
        $token_stack = [''];
        $text_stack = [''];
        $em = '';

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $text_stack is not named in camelCase.
Open

    public function doItalicsAndBold($text)
    {
        $token_stack = [''];
        $text_stack = [''];
        $em = '';

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $token_stack is not named in camelCase.
Open

    public function doItalicsAndBold($text)
    {
        $token_stack = [''];
        $text_stack = [''];
        $em = '';

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $text_stack is not named in camelCase.
Open

    public function doItalicsAndBold($text)
    {
        $token_stack = [''];
        $text_stack = [''];
        $em = '';

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $day_diff is not named in camelCase.
Open

    public static function time2str($date, $today = false)
    {
        if (!$today) {
            $today = new DateTime();
            $today = $today->format('U');
Severity: Minor
Found in lib/Ajde/Component/String.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $day_diff is not named in camelCase.
Open

    public static function time2str($date, $today = false)
    {
        if (!$today) {
            $today = new DateTime();
            $today = $today->format('U');
Severity: Minor
Found in lib/Ajde/Component/String.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $day_diff is not named in camelCase.
Open

    public static function time2str($date, $today = false)
    {
        if (!$today) {
            $today = new DateTime();
            $today = $today->format('U');
Severity: Minor
Found in lib/Ajde/Component/String.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $del_opcode is not named in camelCase.
Open

    public function getOpcode()
    {
        if ($this->fromLen === 1) {
            $del_opcode = 'd';
        } else {
Severity: Minor
Found in lib/Ajde/Component/lib/finediff.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $opcodes_offset is not named in camelCase.
Open

    public static function renderFromOpcodes($from, $opcodes, $callback)
    {
        if (!is_callable($callback)) {
            return;
        }
Severity: Minor
Found in lib/Ajde/Component/lib/finediff.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $opcodes_offset is not named in camelCase.
Open

    public static function renderFromOpcodes($from, $opcodes, $callback)
    {
        if (!is_callable($callback)) {
            return;
        }
Severity: Minor
Found in lib/Ajde/Component/lib/finediff.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $fragment_edit is not named in camelCase.
Open

    private function _processGranularity($from_segment, $to_segment)
    {
        $delimiters = $this->granularityStack[$this->stackpointer++];
        $has_next_stage = $this->stackpointer < count($this->granularityStack);
        foreach (self::doFragmentDiff($from_segment, $to_segment, $delimiters) as $fragment_edit) {
Severity: Minor
Found in lib/Ajde/Component/lib/finediff.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

Severity
Category
Status
Source
Language