chamilo/chamilo-lms

View on GitHub
public/main/calendar/ical_export.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable "DaysShort" is not in valid camel caps format
Open

$DaysShort = api_get_week_days_short();

Variable "course_info" is not in valid camel caps format
Open

    $course_info = api_get_course_info_by_id($_GET['course_id']);

Variable "MonthsLong" is not in valid camel caps format
Open

$MonthsLong = api_get_months_long();

Variable "course_info" is not in valid camel caps format
Open

        $agenda->set_course($course_info);

Variable "M" is not in valid camel caps format
Open

            list($y, $m, $d, $h, $M, $s) = preg_split('/[\s:-]/', $event['start_date']);

Variable "this_section" is not in valid camel caps format
Open

$this_section = SECTION_MYAGENDA;

Variable "course_info" is not in valid camel caps format
Open

    if (!empty($course_info)) {

Variable "m2" contains numbers but this is discouraged
Open

            $vevent->setDtend(new DateTime("$y2-$m2-$d2 $h2:$M2:$s2"));

Variable "h2" contains numbers but this is discouraged
Open

            $vevent->setDtend(new DateTime("$y2-$m2-$d2 $h2:$M2:$s2"));

Variable "M" is not in valid camel caps format
Open

            $ical->setConfig('filename', $y.$m.$d.$h.$M.$s.'-'.rand(1, 1000).'.ics');

Variable "M" is not in valid camel caps format
Open

                ['year' => $y, 'month' => $m, 'day' => $d, 'hour' => $h, 'min' => $M, 'sec' => $s]

Variable "M" is not in valid camel caps format
Open

                $M2 = $M + 15;

Variable "M2" is not in valid camel caps format
Open

                list($y2, $m2, $d2, $h2, $M2, $s2) = preg_split('/[\s:-]/', $event['end_date']);

Variable "M2" is not in valid camel caps format
Open

                list($y2, $m2, $d2, $h2, $M2, $s2) = preg_split('/[\s:-]/', $event['end_date']);

Variable "y2" contains numbers but this is discouraged
Open

            $vevent->setDtend(new DateTime("$y2-$m2-$d2 $h2:$M2:$s2"));

Variable "DaysLong" is not in valid camel caps format
Open

$DaysLong = api_get_week_days_long();

Variable "s2" contains numbers but this is discouraged
Open

            $vevent->setDtend(new DateTime("$y2-$m2-$d2 $h2:$M2:$s2"));

Variable "M2" is not in valid camel caps format
Open

                if ($M2 > 60) {

Variable "d2" contains numbers but this is discouraged
Open

            $vevent->setDtend(new DateTime("$y2-$m2-$d2 $h2:$M2:$s2"));

Variable "M2" is not in valid camel caps format
Open

            $vevent->setDtend(new DateTime("$y2-$m2-$d2 $h2:$M2:$s2"));

Variable "m2" contains numbers but this is discouraged
Open

            $vevent->setDtend(new DateTime("$y2-$m2-$d2 $h2:$M2:$s2"));

Variable "M2" is not in valid camel caps format
Open

                    $M2 = $M2 - 60;

Variable "y2" contains numbers but this is discouraged
Open

            $vevent->setDtend(new DateTime("$y2-$m2-$d2 $h2:$M2:$s2"));

Variable "M2" is not in valid camel caps format
Open

            $vevent->setDtend(new DateTime("$y2-$m2-$d2 $h2:$M2:$s2"));

Variable "M2" is not in valid camel caps format
Open

                $M2 = $M + 15;

Variable "d2" contains numbers but this is discouraged
Open

            $vevent->setDtend(new DateTime("$y2-$m2-$d2 $h2:$M2:$s2"));

Variable "M" is not in valid camel caps format
Open

            $ical->setConfig('filename', $y.$m.$d.$h.$M.$s.'-'.rand(1, 1000).'.ics');

Variable "M" is not in valid camel caps format
Open

            list($y, $m, $d, $h, $M, $s) = preg_split('/[\s:-]/', $event['start_date']);

Variable "M2" is not in valid camel caps format
Open

                    $M2 = $M2 - 60;

Variable "h2" contains numbers but this is discouraged
Open

            $vevent->setDtend(new DateTime("$y2-$m2-$d2 $h2:$M2:$s2"));

Variable "M" is not in valid camel caps format
Open

                $M2 = $M + 15;

Variable "M2" is not in valid camel caps format
Open

                    $M2 = $M2 - 60;

Variable "s2" contains numbers but this is discouraged
Open

            $vevent->setDtend(new DateTime("$y2-$m2-$d2 $h2:$M2:$s2"));

Variable "M2" is not in valid camel caps format
Open

                    $M2 = $M2 - 60;

Variable "M2" is not in valid camel caps format
Open

                $M2 = $M + 15;

Variable "course_info" is not in valid camel caps format
Open

            $vevent->setLocation($course_info['name']); // property name - case independent

Variable "M2" is not in valid camel caps format
Open

                if ($M2 > 60) {

There are no issues that match your filters.

Category
Status