public/main/survey/survey_invitation.php
Variable "answered_data" is not in valid camel caps format Open
Open
('answered' === $view && in_array($user, $answered_data) && $answeredCount > 1) ||
- Exclude checks
Variable "answered_data" is not in valid camel caps format Open
Open
$answered_data = SurveyManager::get_people_who_filled_survey($surveyId);
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$tool_name = get_lang('Survey invitations');
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
Display::display_header($tool_name);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$sentInvitations = SurveyUtil::getSentInvitations($survey->getIid(), $course_id, $sessionId);
- Exclude checks
Multi-line function call not indented correctly; expected 20 spaces but found 24 Open
Open
'javascript:void()',
- Exclude checks
Variable "answered_data" is not in valid camel caps format Open
Open
$answered_data = [];
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 20 Open
Open
);
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 16 Open
Open
Display::getMdiIcon('content-copy').get_lang('Copy text'),
- Exclude checks
Variable "answered_data" is not in valid camel caps format Open
Open
if (in_array($user, $answered_data)) {
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 12 Open
Open
);
- Exclude checks
Multi-line function call not indented correctly; expected 20 spaces but found 24 Open
Open
Display::getMdiIcon('content-copy').get_lang('Copy text'),
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 16 Open
Open
'javascript:void()',
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 16 Open
Open
['onclick' => "copyTextToClipBoard('copy_".$id."')", 'class' => 'btn btn--primary btn-sm']
- Exclude checks
Variable "answered_data" is not in valid camel caps format Open
Open
$unAnsweredCount = count($sentInvitations) - count($answered_data);
- Exclude checks
Variable "answered_data" is not in valid camel caps format Open
Open
$answeredCount = count($answered_data);
- Exclude checks
Variable "answered_data" is not in valid camel caps format Open
Open
('unanswered' === $view && !in_array($user, $answered_data) && $answeredCount > 1)
- Exclude checks
Multi-line function call not indented correctly; expected 20 spaces but found 24 Open
Open
['onclick' => "copyTextToClipBoard('copy_".$id."')", 'class' => 'btn btn--primary btn-sm']
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id = api_get_course_int_id();
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 16 Open
Open
'javascript:void()',
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 16 Open
Open
Display::getMdiIcon('content-copy').get_lang('Copy text'),
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 12 Open
Open
);
- Exclude checks
Multi-line function call not indented correctly; expected 20 spaces but found 24 Open
Open
Display::getMdiIcon('content-copy').get_lang('Copy text'),
- Exclude checks
Multi-line function call not indented correctly; expected 20 spaces but found 24 Open
Open
'javascript:void()',
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 20 Open
Open
);
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 16 Open
Open
['onclick' => "copyTextToClipBoard('copy_".$id."')", 'class' => 'btn btn--primary btn-sm']
- Exclude checks
Multi-line function call not indented correctly; expected 20 spaces but found 24 Open
Open
['onclick' => "copyTextToClipBoard('copy_".$id."')", 'class' => 'btn btn--primary btn-sm']
- Exclude checks