davaxi/VCalendar

View on GitHub

Showing 42 of 42 total issues

Method getContent has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getContent()
    {
        $result[] = 'BEGIN:VCALENDAR';
        $result[] = 'VERSION:2.0';

Severity: Minor
Found in src/VCalendar/_/File.php - About 1 hr to fix

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

            $this->computeOrganize($result);
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $result[] = sprintf('URL:%s', $this->getValue($this->url));
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $result[] = 'X-MS-OLK-FORCEINSPECTOROPEN:TRUE';
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $result[] = sprintf('STATUS:%s', $this->status);
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $this->computeTimeZone($result);
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $result[] = sprintf('DTSTAMP:%sZ',
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $this->computeLocation($result);
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $result[] = 'VERSION:2.0';
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

                $result[] = sprintf('X-WR-CALNAME:%s', $this->calendarName);
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $result[] = 'BEGIN:VEVENT';
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $result[] = 'BEGIN:VCALENDAR';
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $result[] = sprintf('CATEGORIES:%s', implode(', ', $this->categories));
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $this->computeAttendee($result);
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $result[] = sprintf('UID:%s', $this->uid);
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $this->computeProcess($result);
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $result[] = sprintf('METHOD:%s', $this->method);
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $result[] = sprintf('SUMMARY:%s', $this->getValue($this->title));
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $result[] = sprintf('DESCRIPTION:%s', $this->description);
    Severity: Minor
    Found in src/VCalendar/_/File.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 '$result' which will lead to PHP notices.
    Open

            $result[] = "TRANSP:OPAQUE";
    Severity: Minor
    Found in src/VCalendar/_/File.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