XoopsModules25x/apcal

View on GitHub

Showing 26,336 of 26,336 total issues

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

            $error .= 'Error opening "' . $url . '":' . "\n\n" . $errstr;
Severity: Minor
Found in thumbs/phpthumb.functions.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 '$strtr_preg_quote' which will lead to PHP notices.
Open

        return strtr($string, $strtr_preg_quote);
Severity: Minor
Found in thumbs/phpthumb.functions.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 '$errstr' which will lead to PHP notices.
Open

            $error .= 'Error opening "' . $url . '":' . "\n\n" . $errstr;
Severity: Minor
Found in thumbs/phpthumb.functions.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 '$errstr' which will lead to PHP notices.
Open

            $rawData  = phpthumb_functions::URLreadFsock(@$parsed_url['host'], @$parsed_url['path'] . '?' . @$parsed_url['query'], $errstr, true, (@$parsed_url['port'] ?: 80), $timeout);
Severity: Minor
Found in thumbs/phpthumb.functions.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 '$alreadyLookedAtURLs' which will lead to PHP notices.
Open

                if (!@$alreadyLookedAtURLs[$matches[1]]) {
Severity: Minor
Found in thumbs/phpthumb.functions.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 '$error' which will lead to PHP notices.
Open

            return SafeURLread($filename, $error);
Severity: Minor
Found in thumbs/phpthumb.functions.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 '$ImageWidths' which will lead to PHP notices.
Open

            $biSizeImage = $ImageWidths[$key] * $ImageHeights[$key] * ($bpp[$key] / 8);
Severity: Minor
Found in thumbs/phpthumb.ico.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 '$ImageHeights' which will lead to PHP notices.
Open

            $icondata .= chr($ImageHeights[$key]);                    // bHeight;         // Height, in pixels, of the image
Severity: Minor
Found in thumbs/phpthumb.ico.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 '$ThisImageColor' which will lead to PHP notices.
Open

                    imagesetpixel($PlottingIMG, $x, $this->m_gfh->m_nHeight - $y - 1, $ThisImageColor[$this->m_gfh->m_nBgColor]);
Severity: Minor
Found in thumbs/phpthumb.gif.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 '$icANDmask' which will lead to PHP notices.
Open

            foreach ($icANDmask[$key] as $y => $scanlinemaskbits) {
Severity: Minor
Found in thumbs/phpthumb.ico.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 '$ImageWidths' which will lead to PHP notices.
Open

            $BitmapInfoHeader[$key] .= phpthumb_functions::LittleEndian2String($ImageWidths[$key], 4);      // LONG   biWidth;
Severity: Minor
Found in thumbs/phpthumb.ico.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 '$icANDmask' which will lead to PHP notices.
Open

                        @$icANDmask[$key][$y] .= '1';
Severity: Minor
Found in thumbs/phpthumb.ico.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 '$BitmapInfoHeader' which will lead to PHP notices.
Open

            $BitmapInfoHeader[$key] .= "\x00\x00\x00\x00";                              // DWORD  biCompression;
Severity: Minor
Found in thumbs/phpthumb.ico.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 '$ImageWidths' which will lead to PHP notices.
Open

            $ImageWidths[$key]  = imagesx($gd_image);
Severity: Minor
Found in thumbs/phpthumb.ico.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 '$bpp' which will lead to PHP notices.
Open

            $bpp[$key]          = imageistruecolor($gd_image) ? 32 : 24;
Severity: Minor
Found in thumbs/phpthumb.ico.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 '$icXOR' which will lead to PHP notices.
Open

            $icXOR[$key] = '';
Severity: Minor
Found in thumbs/phpthumb.ico.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 '$bpp' which will lead to PHP notices.
Open

                    if ($bpp[$key] == 32) {
Severity: Minor
Found in thumbs/phpthumb.ico.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 '$icANDmask' which will lead to PHP notices.
Open

                        @$icANDmask[$key][$y] .= '0';
Severity: Minor
Found in thumbs/phpthumb.ico.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 '$ImageHeights' which will lead to PHP notices.
Open

            $ImageHeights[$key] = imagesy($gd_image);
Severity: Minor
Found in thumbs/phpthumb.ico.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 '$icXOR' which will lead to PHP notices.
Open

                        $icXOR[$key] .= chr($b) . chr($g) . chr($r);
Severity: Minor
Found in thumbs/phpthumb.ico.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