Showing 20,971 of 20,976 total issues

The variable $from_segment_end 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 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 $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 $from_offset is not named in camelCase.
Open

    private static function renderToTextFromOpcode($opcode, $from, $from_offset, $from_len)
    {
        if ($opcode === 'c' || $opcode === 'i') {
            echo substr($from, $from_offset, $from_len);
        }
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 $shifted_token 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 $to_len is not named in camelCase.
Open

    public function getOpcode()
    {
        $to_len = strlen($this->text);
        if ($to_len === 1) {
            return "i:{$this->text}";
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 $to_len is not named in camelCase.
Open

    public function getOpcode()
    {
        $to_len = strlen($this->text);
        if ($to_len === 1) {
            return "i:{$this->text}";
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_len 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 $from_text is not named in camelCase.
Open

    private function doDiff($from_text, $to_text)
    {
        $this->last_edit = false;
        $this->stackpointer = 0;
        $this->from_text = $from_text;
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

The variable $has_next_stage 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

The variable $to_segment_start is not named in camelCase.
Open

    private static function doFragmentDiff($from_text, $to_text, $delimiters)
    {
        // Empty delimiter means character-level diffing.
        // In such case, use code path optimized for character-level
        // diffing.
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_segment_length is not named in camelCase.
Open

    private static function doFragmentDiff($from_text, $to_text, $delimiters)
    {
        // Empty delimiter means character-level diffing.
        // In such case, use code path optimized for character-level
        // diffing.
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_segment_length is not named in camelCase.
Open

    private static function doFragmentDiff($from_text, $to_text, $delimiters)
    {
        // Empty delimiter means character-level diffing.
        // In such case, use code path optimized for character-level
        // diffing.
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 $best_copy_length is not named in camelCase.
Open

    private static function doFragmentDiff($from_text, $to_text, $delimiters)
    {
        // Empty delimiter means character-level diffing.
        // In such case, use code path optimized for character-level
        // diffing.
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 $cached_array_keys_for_current_segment is not named in camelCase.
Open

    private static function doFragmentDiff($from_text, $to_text, $delimiters)
    {
        // Empty delimiter means character-level diffing.
        // In such case, use code path optimized for character-level
        // diffing.
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_base_fragment is not named in camelCase.
Open

    private static function doFragmentDiff($from_text, $to_text, $delimiters)
    {
        // Empty delimiter means character-level diffing.
        // In such case, use code path optimized for character-level
        // diffing.
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