HuasoFoundries/jpgraph

View on GitHub

Showing 6,805 of 6,805 total issues

Avoid using undefined variables such as '$sp2' which will lead to PHP notices.
Open

                    $sp2[5] = $pts[3] - $ssv;
Severity: Minor
Found in src/plot/BarPlot.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$neigh' which will lead to PHP notices.
Open

                        $neigh[$n++] = [$row, $col + 1, VERT_EDGE];
Severity: Minor
Found in src/plot/Contour.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$neigh' which will lead to PHP notices.
Open

                            $this->getCrossingCoord($neigh[$n4][0], $neigh[$n4][1], $neigh[$n4][2], $ib), ];
Severity: Minor
Found in src/plot/Contour.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$ly' which will lead to PHP notices.
Open

            $ly[] = ($datay[$i] + $datay[$i + 1]) / 2;
Severity: Minor
Found in src/plot/ErrorLinePlot.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$colors' which will lead to PHP notices.
Open

                    $this->img->current_color = $colors[$i];
Severity: Minor
Found in src/plot/Gradient.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$colors' which will lead to PHP notices.
Open

                $n = safe_count($colors);
Severity: Minor
Found in src/plot/Gradient.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$colors' which will lead to PHP notices.
Open

                $n = safe_count($colors);
Severity: Minor
Found in src/plot/Gradient.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$colors' which will lead to PHP notices.
Open

                        $this->img->current_color = $colors[$i];
Severity: Minor
Found in src/plot/Gradient.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$colmap' which will lead to PHP notices.
Open

                    $this->img->current_color = $colmap[$y];
Severity: Minor
Found in src/plot/Gradient.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$cord' which will lead to PHP notices.
Open

                $img->Polygon(array_slice($cord, 2, safe_count($cord) - 4));
Severity: Minor
Found in src/plot/LinePlot.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$cord' which will lead to PHP notices.
Open

        $img->Polygon($cord, false, true);
Severity: Minor
Found in src/plot/LinePlot.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$cord' which will lead to PHP notices.
Open

                $cord[$idx++] = $xscale->Translate($xs);
Severity: Minor
Found in src/plot/LinePlot.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$cord' which will lead to PHP notices.
Open

                $cord[$idx++] = $xscale->Translate($xs);
Severity: Minor
Found in src/plot/LinePlot.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$cord' which will lead to PHP notices.
Open

            $cord[$idx++] = $xt;
Severity: Minor
Found in src/plot/LinePlot.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$cord' which will lead to PHP notices.
Open

                $img->Polygon(array_slice($cord, 2, safe_count($cord) - 4));
Severity: Minor
Found in src/plot/LinePlot.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$sp' which will lead to PHP notices.
Open

                    $sp[5]  = $pts[1];
Severity: Minor
Found in src/plot/BarPlot.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$sp2' which will lead to PHP notices.
Open

                    $sp2[3] = $pts[3];
Severity: Minor
Found in src/plot/BarPlot.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$sp2' which will lead to PHP notices.
Open

                    $sp2[0] = $pts[6];
Severity: Minor
Found in src/plot/BarPlot.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$sp2' which will lead to PHP notices.
Open

                    $sp2[1] = $pts[7];
Severity: Minor
Found in src/plot/BarPlot.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$cord' which will lead to PHP notices.
Open

                    $cord[$idx++] = $yscale->Translate($min);
Severity: Minor
Found in src/plot/LinePlot.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Severity
Category
Status
Source
Language