chamilo/chamilo-lms

View on GitHub
public/main/upload/index.php

Summary

Maintainability
A
0 mins
Test Coverage

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

    Session::write('my_tool', $my_tool);
Severity: Minor
Found in public/main/upload/index.php by phpcodesniffer

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

    foreach ($specific_fields as $specific_field) {
Severity: Minor
Found in public/main/upload/index.php by phpcodesniffer

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

    $my_tool = $_REQUEST['tool'];
Severity: Minor
Found in public/main/upload/index.php by phpcodesniffer

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

        $form->addElement('text', $specific_field['code'], $specific_field['name'].' : ');
Severity: Minor
Found in public/main/upload/index.php by phpcodesniffer

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

        $form->addElement('text', $specific_field['code'], $specific_field['name'].' : ');
Severity: Minor
Found in public/main/upload/index.php by phpcodesniffer

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

    Display::tag('strong', get_lang('SCORM Authoring tools supported')).': '.implode(', ', $content_origins),
Severity: Minor
Found in public/main/upload/index.php by phpcodesniffer

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

    foreach ($specific_fields as $specific_field) {
Severity: Minor
Found in public/main/upload/index.php by phpcodesniffer

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

$form->addElement('hidden', 'tool', $my_tool);
Severity: Minor
Found in public/main/upload/index.php by phpcodesniffer

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

$content_origins = [
Severity: Minor
Found in public/main/upload/index.php by phpcodesniffer

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

$_course = api_get_course_info();
Severity: Minor
Found in public/main/upload/index.php by phpcodesniffer

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

$is_allowed_to_edit = api_is_allowed_to_edit(null, true);
Severity: Minor
Found in public/main/upload/index.php by phpcodesniffer

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

    $my_tool = $toolFromSession;
Severity: Minor
Found in public/main/upload/index.php by phpcodesniffer

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

    $specific_fields = get_specific_field_list();
Severity: Minor
Found in public/main/upload/index.php by phpcodesniffer

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

if (!$is_allowed_to_edit) {
Severity: Minor
Found in public/main/upload/index.php by phpcodesniffer

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

    $my_tool = 'document';
Severity: Minor
Found in public/main/upload/index.php by phpcodesniffer

There are no issues that match your filters.

Category
Status