HuasoFoundries/jpgraph

View on GitHub

Showing 6,805 of 6,805 total issues

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

                $img->FilledPolygon($cord);
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,
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[10] = $pts[6] + $ssh;
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 '$sp1' which will lead to PHP notices.
Open

                    $sp1[7] = $pts[5] - $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 '$sp' which will lead to PHP notices.
Open

                    $sp[2]  = $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 '$sp1' which will lead to PHP notices.
Open

                    $sp1[3] = $pts[5];
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

                $img->FilledPolygon($sp2);
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, HORIZ_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 '$neigh' which will lead to PHP notices.
Open

                        $neigh[$n++] = [$row + 1, $col, HORIZ_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 '$colors' which will lead to PHP notices.
Open

                $this->GetColArray($from_color, $to_color, $steps, $colors, $this->numcolors);
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 '$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

            $colmap[$i] = $colors[$idx++];
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[$yy];
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 '$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

                    $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

                $this->GetColArray($from_color, $to_color, $steps1, $colors, $this->numcolors);
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

Severity
Category
Status
Source
Language