chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

if (!empty($course_info)) {

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

    $event_type = $id_list[0];

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

        'name' => get_lang('Group area').' '.$group_properties['name'],

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

                $ical_type = $_FILES['ical_import']['type'];

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

    $event_type = 'platform' === $event_type ? 'admin' : $event_type;

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

                $ical_name = $_FILES['ical_import']['name'];

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

    if (!empty($course_info)) {

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

if (!$allowToEdit && 'course' === $event_type) {

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

$course_info = api_get_course_info();

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

                $ext = substr($ical_name, (strrpos($ical_name, ".") + 1));

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

                    $content = $agenda->importEventFile($course_info, $_FILES['ical_import']);

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

    $agendaUrl = api_get_path(WEB_CODE_PATH).'calendar/agenda_js.php?&type='.$event_type;

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

    $event_type = $id_list[0];

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

                $ext = substr($ical_name, (strrpos($ical_name, ".") + 1));

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

$agenda = new Agenda($event_type);

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

    $event_type = 'platform' === $event_type ? 'admin' : $event_type;

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

$this_section = SECTION_COURSES;

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

$type = $event_type = $_GET['type'] ?? null;

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

if ('course' === $event_type) {

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

$group_id = api_get_group_id();

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

        $id_list = explode('_', $eventId);

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

$use_anonymous = true;

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

$course_info = api_get_course_info();

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

        $id_list = $eventId;

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

    $eventId = $id_list[1];

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

    $group_properties = GroupManager::get_group_properties($group_id);

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

$current_course_tool = TOOL_CALENDAR_EVENT;

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

    $group_properties = GroupManager::get_group_properties($group_id);

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

    $event_type = 'platform' === $event_type ? 'admin' : $event_type;

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

if (!empty($group_id)) {

There are no issues that match your filters.

Category
Status