XoopsModules25x/apcal

View on GitHub

Showing 26,336 of 26,336 total issues

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

                        $ret_day = strtr($BYDAY, $this->byday2langday_m);
Severity: Minor
Found in class/APCal.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 '$BYMONTH' which will lead to PHP notices.
Open

                        $months = explode(',', $BYMONTH);
Severity: Minor
Found in class/APCal.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 '$BYDAY' which will lead to PHP notices.
Open

                    $ret_day = strtr($BYDAY, $this->byday2langday_w);
Severity: Minor
Found in class/APCal.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 '$COUNT' which will lead to PHP notices.
Open

            if (isset($COUNT) && $COUNT > 0) {
Severity: Minor
Found in class/APCal.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 '$COUNT' which will lead to PHP notices.
Open

            if (isset($COUNT) && $COUNT > 0) {
Severity: Minor
Found in class/APCal.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 '$UNTIL' which will lead to PHP notices.
Open

            } elseif (isset($UNTIL)) {
Severity: Minor
Found in class/APCal.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 '$BYMONTHDAY' which will lead to PHP notices.
Open

                    if (isset($BYMONTHDAY)) {
Severity: Minor
Found in class/APCal.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 '$BYDAY' which will lead to PHP notices.
Open

                    if (empty($BYDAY)) {
Severity: Minor
Found in class/APCal.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 '$BYDAY' which will lead to PHP notices.
Open

                        $ret_day .= ' ' . strtr($BYDAY, $this->byday2langday_m);
Severity: Minor
Found in class/APCal.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 '$BYDAY' which will lead to PHP notices.
Open

                    if (isset($BYDAY)) {
Severity: Minor
Found in class/APCal.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 '$BYMONTH' which will lead to PHP notices.
Open

                    if (!empty($BYMONTH)) {
Severity: Minor
Found in class/APCal.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 '$UNTIL' which will lead to PHP notices.
Open

                $date           = substr($UNTIL, 6, 2);
Severity: Minor
Found in class/APCal.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 '$BYDAY' which will lead to PHP notices.
Open

                        if (empty($BYDAY)) {
Severity: Minor
Found in class/APCal.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 '$UNTIL' which will lead to PHP notices.
Open

                    $month         = substr($UNTIL, 4, 2);
Severity: Minor
Found in class/APCal.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 '$BYMONTHDAY' which will lead to PHP notices.
Open

                        $monthdays = explode(',', $BYMONTHDAY);
Severity: Minor
Found in class/APCal.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 '$UNTIL' which will lead to PHP notices.
Open

                $month          = substr($UNTIL, 4, 2);
Severity: Minor
Found in class/APCal.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 '$COUNT' which will lead to PHP notices.
Open

                $ret_terminator = sprintf(_APCAL_RR_COUNT, $COUNT);
Severity: Minor
Found in class/APCal.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 '$BYDAY' which will lead to PHP notices.
Open

                        if (isset($BYDAY)) {
Severity: Minor
Found in class/APCal.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 '$UNTIL' which will lead to PHP notices.
Open

                $year           = substr($UNTIL, 0, 4);
Severity: Minor
Found in class/APCal.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 '$COUNT' which will lead to PHP notices.
Open

                if (isset($COUNT) && $COUNT > 0) {
Severity: Minor
Found in class/APCal.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