XoopsModules25x/apcal

View on GitHub

Showing 26,336 of 26,336 total issues

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

        $cal->images_path = "$mod_path/assets/images/$skin_folder";
Severity: Minor
Found in blocks/apcal_minical_ex.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 '$skin_folder' which will lead to PHP notices.
Open

        $cal->images_url  = "$mod_url/assets/images/$skin_folder";
Severity: Minor
Found in blocks/apcal_minical_ex.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 '$skin_folder' which will lead to PHP notices.
Open

        $cal->images_path = "$mod_path/assets/images/$skin_folder";
Severity: Minor
Found in blocks/apcal_monthly_calendar.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 '$block' which will lead to PHP notices.
Open

        return $block;
Severity: Minor
Found in blocks/apcal_monthly_calendar.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 '$skin_folder' which will lead to PHP notices.
Open

        $cal->images_url  = "$mod_url/assets/images/$skin_folder";
Severity: Minor
Found in blocks/apcal_coming_schedule.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 '$skin_folder' which will lead to PHP notices.
Open

        $cal->images_path = "$mod_path/assets/images/$skin_folder";
Severity: Minor
Found in blocks/apcal_map.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 '$mini_calendar_target' which will lead to PHP notices.
Open

        switch ($mini_calendar_target) {
Severity: Minor
Found in blocks/apcal_mini_calendar.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 '$skin_folder' which will lead to PHP notices.
Open

        $cal->images_path = "$mod_path/assets/images/$skin_folder";
Severity: Minor
Found in blocks/apcal_new_event.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 '$skin_folder' which will lead to PHP notices.
Open

        $cal->images_url  = "$mod_url/assets/images/$skin_folder";
Severity: Minor
Found in blocks/apcal_new_event.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 '$skin_folder' which will lead to PHP notices.
Open

        $cal->images_path = "$mod_path/assets/images/$skin_folder";
Severity: Minor
Found in blocks/apcal_new_event.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 '$block' which will lead to PHP notices.
Open

        $block['content'] = $tmpl->getParsedTemplate('WholeBoard');
Severity: Minor
Found in blocks/apcal_monthly_calendar.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 '$skin_folder' which will lead to PHP notices.
Open

        $cal->images_url  = "$mod_url/assets/images/$skin_folder";
Severity: Minor
Found in blocks/apcal_new_event.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 '$skin_folder' which will lead to PHP notices.
Open

        $cal->images_path = "$mod_path/assets/images/$skin_folder";
Severity: Minor
Found in blocks/apcal_mini_calendar.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 '$skin_folder' which will lead to PHP notices.
Open

        $cal->images_url  = "$mod_url/assets/images/$skin_folder";
Severity: Minor
Found in blocks/apcal_todays_schedule.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 '$skin_folder' which will lead to PHP notices.
Open

        $cal->images_url  = "$mod_url/assets/images/$skin_folder";
Severity: Minor
Found in blocks/apcal_todays_schedule.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 '$skin_folder' which will lead to PHP notices.
Open

        $cal->images_path = "$mod_path/assets/images/$skin_folder";
Severity: Minor
Found in blocks/apcal_thedays_schedule.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 '$skin_folder' which will lead to PHP notices.
Open

        $cal->images_path = "$mod_path/assets/images/$skin_folder";
Severity: Minor
Found in blocks/apcal_todays_schedule.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

The class APCal has 192 public methods and attributes. Consider reducing the number of public items to less than 45.
Open

    class APCal
    {
        // SKELTON (they will be defined in language files)
        public $holidays           = array();
        public $date_short_names   = array();
Severity: Minor
Found in class/APCal.php by phpmd

ExcessivePublicCount

Since: 0.1

A large number of public methods and attributes declared in a class can indicate the class may need to be broken up as increased effort will be required to thoroughly test it.

Example

public class Foo {
    public $value;
    public $something;
    public $var;
    // [... more more public attributes ...]

    public function doWork() {}
    public function doMoreWork() {}
    public function doWorkAgain() {}
    // [... more more public methods ...]
}

Source https://phpmd.org/rules/codesize.html#excessivepubliccount

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

        $cal->images_path = "$mod_path/assets/images/$skin_folder";
Severity: Minor
Found in blocks/apcal_coming_schedule.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 '$skin_folder' which will lead to PHP notices.
Open

        $cal->images_url  = "$mod_url/assets/images/$skin_folder";
Severity: Minor
Found in blocks/apcal_coming_schedule.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