chamilo/chamilo-lms

View on GitHub
public/main/survey/survey_invitation.php

Summary

Maintainability
A
0 mins
Test Coverage

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

        ('answered' === $view && in_array($user, $answered_data) && $answeredCount > 1) ||

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

$answered_data = SurveyManager::get_people_who_filled_survey($surveyId);

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

$tool_name = get_lang('Survey invitations');

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

Display::display_header($tool_name);

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

$sentInvitations = SurveyUtil::getSentInvitations($survey->getIid(), $course_id, $sessionId);

Multi-line function call not indented correctly; expected 20 spaces but found 24
Open

                        'javascript:void()',

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

    $answered_data = [];

Multi-line function call not indented correctly; expected 16 spaces but found 20
Open

                    );

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                Display::getMdiIcon('content-copy').get_lang('Copy text'),

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

        if (in_array($user, $answered_data)) {

Multi-line function call not indented correctly; expected 8 spaces but found 12
Open

            );

Multi-line function call not indented correctly; expected 20 spaces but found 24
Open

                        Display::getMdiIcon('content-copy').get_lang('Copy text'),

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                'javascript:void()',

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                ['onclick' => "copyTextToClipBoard('copy_".$id."')", 'class' => 'btn btn--primary btn-sm']

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

$unAnsweredCount = count($sentInvitations) - count($answered_data);

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

$answeredCount = count($answered_data);

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

        ('unanswered' === $view && !in_array($user, $answered_data) && $answeredCount > 1)

Multi-line function call not indented correctly; expected 20 spaces but found 24
Open

                        ['onclick' => "copyTextToClipBoard('copy_".$id."')", 'class' => 'btn btn--primary btn-sm']

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

$course_id = api_get_course_int_id();

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                'javascript:void()',

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                Display::getMdiIcon('content-copy').get_lang('Copy text'),

Multi-line function call not indented correctly; expected 8 spaces but found 12
Open

            );

Multi-line function call not indented correctly; expected 20 spaces but found 24
Open

                        Display::getMdiIcon('content-copy').get_lang('Copy text'),

Multi-line function call not indented correctly; expected 20 spaces but found 24
Open

                        'javascript:void()',

Multi-line function call not indented correctly; expected 16 spaces but found 20
Open

                    );

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                ['onclick' => "copyTextToClipBoard('copy_".$id."')", 'class' => 'btn btn--primary btn-sm']

Multi-line function call not indented correctly; expected 20 spaces but found 24
Open

                        ['onclick' => "copyTextToClipBoard('copy_".$id."')", 'class' => 'btn btn--primary btn-sm']

There are no issues that match your filters.

Category
Status