Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(315 errors, 0 warnings)

This section shows the coding style problems detected in the code by phpcs [More info]

local/uploadnotification/classes/attachment_optimizer.php
(#65) Variable "area_files" must not contain underscores.
(#72) Variable "resource_file" must not contain underscores.
(#72) Variable "area_files" must not contain underscores.
(#76) Variable "resource_file" must not contain underscores.
(#77) Variable "resource_file" must not contain underscores.
(#78) Variable "resource_file" must not contain underscores.
(#92) Variable "cm_id" must not contain underscores.
(#102) Variable "cm_id" must not contain underscores.
(#128) Member variable "file_name" must not contain underscores.
(#133) Member variable "file_path" must not contain underscores.
(#143) Member variable "requesting_users" must not contain underscores.
local/uploadnotification/classes/changelog.php
(#49) Variable "new_file" must not contain underscores.
(#50) Variable "new_data" must not contain underscores.
(#51) Variable "new_files" must not contain underscores.
(#51) Variable "new_file" must not contain underscores.
(#51) Variable "new_data" must not contain underscores.
(#54) Variable "further_candidates" must not contain underscores.
(#56) Variable "new_files" must not contain underscores.
(#56) Variable "further_candidates" must not contain underscores.
(#73) Variable "context_id_from" must not contain underscores.
(#74) Variable "component_from" must not contain underscores.
(#75) Variable "filearea_from" must not contain underscores.
(#76) Variable "itemid_from" must not contain underscores.
(#77) Variable "context_id_to" must not contain underscores.
(#78) Variable "scope_id" must not contain underscores.
(#82) Variable "context_id_from" must not contain underscores.
(#82) Variable "component_from" must not contain underscores.
(#82) Variable "filearea_from" must not contain underscores.
(#82) Variable "itemid_from" must not contain underscores.
(#83) Variable "context_id_to" must not contain underscores.
(#83) Variable "scope_id" must not contain underscores.
(#135) Variable "candidates_pending" must not contain underscores.
(#142) Variable "pending_files" must not contain underscores.
(#144) Variable "candidates_pending" must not contain underscores.
(#147) Variable "pending_files" must not contain underscores.
(#158) Variable "coursemodule_id" must not contain underscores.
(#160) Variable "coursemodule_id" must not contain underscores.
(#161) Variable "area_files" must not contain underscores.
(#168) Variable "area_files" must not contain underscores.
local/uploadnotification/classes/forms/course_form.php
(#61) Variable "admin_allow_mail" must not contain underscores.
(#62) Variable "admin_allow_attachment" must not contain underscores.
(#63) Variable "admin_allow_changelog" must not contain underscores.
(#64) Variable "admin_allow_diff" must not contain underscores.
(#67) Variable "course_context" must not contain underscores.
(#68) Variable "amount_of_users" must not contain underscores.
(#68) Variable "course_context" must not contain underscores.
(#69) Variable "amount_of_users" must not contain underscores.
(#70) Variable "admin_allow_mail" must not contain underscores.
(#74) Variable "admin_allow_mail" must not contain underscores.
(#83) Variable "admin_allow_mail" must not contain underscores.
(#83) Variable "admin_allow_attachment" must not contain underscores.
(#88) Variable "admin_allow_changelog" must not contain underscores.
(#93) Variable "admin_allow_changelog" must not contain underscores.
(#93) Variable "admin_allow_diff" must not contain underscores.
(#108) Variable "element_name" must not contain underscores.
(#111) Variable "element_name" must not contain underscores.
(#112) Variable "element_name" must not contain underscores.
(#114) Variable "element_name" must not contain underscores.
(#114) Variable "element_name" must not contain underscores.
(#115) Variable "element_name" must not contain underscores.
(#115) Variable "element_name" must not contain underscores.
local/uploadnotification/classes/forms/user_form.php
(#62) Variable "admin_allow_mail" must not contain underscores.
(#63) Variable "admin_allow_attachment" must not contain underscores.
(#66) Variable "admin_allow_mail" must not contain underscores.
(#75) Variable "admin_allow_mail" must not contain underscores.
(#83) Variable "admin_allow_mail" must not contain underscores.
(#83) Variable "admin_allow_attachment" must not contain underscores.
(#99) Variable "element_name" must not contain underscores.
(#102) Variable "element_name" must not contain underscores.
(#103) Variable "element_name" must not contain underscores.
(#105) Variable "element_name" must not contain underscores.
(#105) Variable "element_name" must not contain underscores.
(#106) Variable "element_name" must not contain underscores.
(#106) Variable "element_name" must not contain underscores.
(#128) Variable "admin_max_mail_filesize" must not contain underscores.
(#129) Variable "admin_max_mail_filesize" must not contain underscores.
(#131) Variable "admin_max_mail_filesize" must not contain underscores.
local/uploadnotification/classes/mail_wrapper.php
(#48) Member variable "affected_courses" must not contain underscores.
(#53) Member variable "message_text" must not contain underscores.
(#58) Member variable "message_html" must not contain underscores.
(#63) Member variable "attachment_name" must not contain underscores.
(#68) Member variable "attachment_path" must not contain underscores.
(#107) Variable "course_name" must not contain underscores.
(#108) Variable "course_name" must not contain underscores.
(#109) Variable "course_name" must not contain underscores.
(#119) Variable "message_text" must not contain underscores.
(#122) Variable "message_html" must not contain underscores.
(#126) Variable "subject_template" must not contain underscores.
(#127) Variable "subject_template" must not contain underscores.
(#132) Variable "message_text" must not contain underscores.
(#133) Variable "message_html" must not contain underscores.
local/uploadnotification/classes/mailer.php
(#53) Member variable "attachment_optimizer" must not contain underscores.
(#111) Variable "mail_wrappers" must not contain underscores.
(#117) Variable "mail_wrappers" must not contain underscores.
(#117) Variable "mail_wrapper" must not contain underscores.
(#118) Variable "mail_wrapper" must not contain underscores.
local/uploadnotification/classes/models/settings_model.php
(#211) Variable "db_entry_exist" must not contain underscores.
(#214) Variable "settings_array" must not contain underscores.
(#217) Variable "db_entry_exist" must not contain underscores.
(#219) Variable "settings_array" must not contain underscores.
(#223) Variable "settings_array" must not contain underscores.
(#227) Variable "settings_array" must not contain underscores.
(#229) Variable "settings_array" must not contain underscores.
(#234) Variable "settings_array" must not contain underscores.
(#244) Variable "settings_array" must not contain underscores.
(#247) Variable "settings_array" must not contain underscores.
(#255) Variable "settings_array" must not contain underscores.
(#258) Variable "settings_array" must not contain underscores.
local/uploadnotification/classes/recipient.php
(#153) Variable "attachment_optimizer" must not contain underscores.
(#157) Variable "user_settings" must not contain underscores.
(#158) Variable "user_settings" must not contain underscores.
(#167) Variable "required_suffix" must not contain underscores.
(#168) Variable "required_suffix" must not contain underscores.
(#175) Variable "attachment_mails" must not contain underscores.
(#176) Variable "text_mail" must not contain underscores.
(#187) Variable "course_settings" must not contain underscores.
(#190) Variable "course_settings" must not contain underscores.
(#195) Variable "user_settings" must not contain underscores.
(#195) Variable "course_settings" must not contain underscores.
(#213) Variable "user_settings" must not contain underscores.
(#213) Variable "course_settings" must not contain underscores.
(#213) Variable "attachment_optimizer" must not contain underscores.
(#215) Variable "text_mail" must not contain underscores.
(#216) Variable "text_mail" must not contain underscores.
(#218) Variable "text_mail" must not contain underscores.
(#219) Variable "text_mail" must not contain underscores.
(#226) Variable "attachment_mails" must not contain underscores.
(#235) Variable "text_mail" must not contain underscores.
(#236) Variable "attachment_mails" must not contain underscores.
(#236) Variable "text_mail" must not contain underscores.
(#238) Variable "attachment_mails" must not contain underscores.
(#250) Variable "user_settings" must not contain underscores.
(#250) Variable "course_settings" must not contain underscores.
(#250) Variable "attachment_optimizer" must not contain underscores.
(#253) Variable "max_filesize" must not contain underscores.
(#254) Variable "max_filesize" must not contain underscores.
(#259) Variable "user_settings" must not contain underscores.
(#264) Variable "course_settings" must not contain underscores.
(#269) Variable "attachment_optimizer" must not contain underscores.
(#277) Variable "max_filesize" must not contain underscores.
(#278) Variable "user_settings" must not contain underscores.
local/uploadnotification/classes/update_handler.php
(#56) Member variable "course_module" must not contain underscores.
(#62) Member variable "course_settings" must not contain underscores.
(#98) Variable "coursemodule_id" must not contain underscores.
(#99) Variable "coursemodule_id" must not contain underscores.
(#101) Variable "area_files" must not contain underscores.
(#108) Variable "area_files" must not contain underscores.
(#138) Variable "edit_dialog_used" must not contain underscores.
(#139) Variable "edit_dialog_used" must not contain underscores.
(#162) Variable "changelog_entry" must not contain underscores.
(#169) Variable "max_filesize_for_diff" must not contain underscores.
(#171) Variable "max_filesize_for_diff" must not contain underscores.
(#172) Variable "max_filesize_for_diff" must not contain underscores.
(#176) Variable "changelog_entry" must not contain underscores.
(#177) Variable "edit_dialog_used" must not contain underscores.
(#178) Variable "changelog_entry" must not contain underscores.
(#194) Variable "changelog_entry" must not contain underscores.
(#215) Variable "changelog_entry" must not contain underscores.
(#235) Variable "diff_output" must not contain underscores.
(#236) Variable "predecessor_txt_file" must not contain underscores.
(#237) Variable "original_txt_file" must not contain underscores.
(#240) Variable "predecessor_txt_file" must not contain underscores.
(#240) Variable "original_txt_file" must not contain underscores.
(#241) Variable "diff_detector" must not contain underscores.
(#241) Variable "predecessor_txt_file" must not contain underscores.
(#241) Variable "original_txt_file" must not contain underscores.
(#243) Variable "diff_detector" must not contain underscores.
(#244) Variable "diff_detector" must not contain underscores.
(#246) Variable "changed_pages" must not contain underscores.
(#247) Variable "diff_output" must not contain underscores.
(#247) Variable "changed_pages" must not contain underscores.
(#249) Variable "diff_output" must not contain underscores.
(#255) Variable "diff_output" must not contain underscores.
(#260) Variable "predecessor_txt_file" must not contain underscores.
(#261) Variable "predecessor_txt_file" must not contain underscores.
(#263) Variable "original_txt_file" must not contain underscores.
(#264) Variable "original_txt_file" must not contain underscores.
(#267) Variable "diff_output" must not contain underscores.
(#309) Variable "course_context" must not contain underscores.
(#310) Variable "enrolled_users" must not contain underscores.
(#310) Variable "course_context" must not contain underscores.
(#314) Variable "amount_of_users" must not contain underscores.
(#314) Variable "enrolled_users" must not contain underscores.
(#315) Variable "amount_of_users" must not contain underscores.
(#319) Variable "enrolled_users" must not contain underscores.
(#319) Variable "enrolled_user" must not contain underscores.
(#324) Variable "enrolled_user" must not contain underscores.
(#330) Variable "enrolled_user" must not contain underscores.
(#331) Variable "enrolled_user" must not contain underscores.
(#346) Variable "user_id" must not contain underscores.
(#362) Variable "user_settings" must not contain underscores.
(#362) Variable "user_id" must not contain underscores.
(#363) Variable "user_settings" must not contain underscores.
(#364) Variable "begin_of_day" must not contain underscores.
(#367) Variable "digest_hour" must not contain underscores.
(#368) Variable "digest_minute" must not contain underscores.
(#369) Variable "digest_hour" must not contain underscores.
(#369) Variable "digest_minute" must not contain underscores.
(#370) Variable "digest_hour" must not contain underscores.
(#371) Variable "digest_minute" must not contain underscores.
(#375) Variable "digest_time" must not contain underscores.
(#375) Variable "begin_of_day" must not contain underscores.
(#375) Variable "digest_hour" must not contain underscores.
(#375) Variable "digest_minute" must not contain underscores.
(#376) Variable "digest_time" must not contain underscores.
(#377) Variable "digest_time" must not contain underscores.
(#377) Variable "digest_time" must not contain underscores.
(#379) Variable "digest_time" must not contain underscores.
local/uploadnotification/classes/util.php
(#105) Variable "course_id" must not contain underscores.
(#105) Variable "course_settings" must not contain underscores.
(#113) Variable "course_settings" must not contain underscores.
(#114) Variable "course_settings" must not contain underscores.
(#114) Variable "course_id" must not contain underscores.
(#118) Variable "course_settings" must not contain underscores.
local/uploadnotification/course.php
(#39) Variable "course_id" must not contain underscores.
(#41) Variable "course_id" must not contain underscores.
(#49) Variable "course_id" must not contain underscores.
(#55) Variable "course_id" must not contain underscores.
(#62) Variable "course_id" must not contain underscores.
(#70) Variable "course_id" must not contain underscores.
(#73) Variable "course_form" must not contain underscores.
(#74) Variable "course_id" must not contain underscores.
(#82) Variable "course_form" must not contain underscores.
(#92) Variable "course_form" must not contain underscores.
local/uploadnotification/index.php
(#66) Variable "development_form" must not contain underscores.
(#67) Variable "development_form" must not contain underscores.
(#71) Variable "development_form" must not contain underscores.
local/uploadnotification/lib.php
(#91) Variable "displayed_text" must not contain underscores.
(#94) Variable "displayed_text" must not contain underscores.
(#97) Variable "displayed_text" must not contain underscores.
(#99) Variable "displayed_text" must not contain underscores.
(#132) Variable "displayed_text" must not contain underscores.
(#135) Variable "displayed_text" must not contain underscores.
(#138) Variable "displayed_text" must not contain underscores.
(#140) Variable "displayed_text" must not contain underscores.
local/uploadnotification/settings.php
(#35) Variable "settings_name" must not contain underscores.
(#36) Variable "settings_name" must not contain underscores.
local/uploadnotification/tests/attachment_test.php
(#137) Variable "iteration_name" must not contain underscores.
(#138) Variable "attachment_included" must not contain underscores.
(#140) Variable "attachment_included" must not contain underscores.
(#140) Variable "iteration_name" must not contain underscores.
(#142) Variable "attachment_included" must not contain underscores.
(#142) Variable "iteration_name" must not contain underscores.
(#178) Variable "iteration_description" must not contain underscores.
(#180) Variable "attachment_included" must not contain underscores.
(#181) Variable "attachment_included" must not contain underscores.
(#181) Variable "iteration_description" must not contain underscores.
(#214) Variable "iteration_description" must not contain underscores.
(#215) Variable "iteration_description" must not contain underscores.
(#216) Variable "attachment_included" must not contain underscores.
(#217) Variable "attachment_included" must not contain underscores.
(#217) Variable "iteration_description" must not contain underscores.
(#259) Variable "user_id" must not contain underscores.
(#260) Variable "user_id" must not contain underscores.
(#261) Variable "user_id" must not contain underscores.
(#263) Variable "user_id" must not contain underscores.
(#296) Variable "file_content" must not contain underscores.
(#297) Variable "expected_content" must not contain underscores.
(#297) Variable "file_content" must not contain underscores.
(#298) Variable "attachment_found" must not contain underscores.
(#298) Variable "expected_content" must not contain underscores.
(#299) Variable "attachment_found" must not contain underscores.
local/uploadnotification/tests/changelog_test.php
(#73) Variable "file_v2" must not contain underscores.
(#74) Variable "file_v2" must not contain underscores.
(#89) Variable "file_v2" must not contain underscores.
(#90) Variable "file_v2" must not contain underscores.
(#105) Variable "file_v2" must not contain underscores.
(#106) Variable "file_v2" must not contain underscores.
(#121) Variable "file_v2" must not contain underscores.
(#122) Variable "file_v2" must not contain underscores.
(#137) Variable "file_v2" must not contain underscores.
(#138) Variable "file_v2" must not contain underscores.
(#153) Variable "file_v2" must not contain underscores.
(#154) Variable "file_v2" must not contain underscores.
(#175) Variable "file_v2" must not contain underscores.
(#177) Variable "file_v2" must not contain underscores.
(#206) Variable "file_v2" must not contain underscores.
(#208) Variable "file_v2" must not contain underscores.
(#258) Variable "predecessor_name" must not contain underscores.
(#264) Variable "predecessor_name" must not contain underscores.
local/uploadnotification/tests/diff_test.php
(#75) Variable "file_v2" must not contain underscores.
(#76) Variable "file_v2" must not contain underscores.
(#93) Variable "file_v2" must not contain underscores.
(#94) Variable "file_v2" must not contain underscores.
(#111) Variable "file_v2" must not contain underscores.
(#112) Variable "file_v2" must not contain underscores.
(#129) Variable "file_v2" must not contain underscores.
(#130) Variable "file_v2" must not contain underscores.
(#147) Variable "file_v2" must not contain underscores.
(#148) Variable "file_v2" must not contain underscores.
(#177) Variable "file_v2" must not contain underscores.
(#179) Variable "file_v2" must not contain underscores.
(#239) Variable "changed_pages" must not contain underscores.
(#245) Variable "changed_pages" must not contain underscores.
local/uploadnotification/tests/helper.php
(#59) Variable "file_info" must not contain underscores.
(#69) Variable "file_info" must not contain underscores.
(#69) Variable "file_info" must not contain underscores.
(#69) Variable "file_info" must not contain underscores.
(#71) Variable "file_info" must not contain underscores.
(#93) Variable "notification_id" must not contain underscores.
(#96) Variable "notification_id" must not contain underscores.
(#106) Variable "course_id" must not contain underscores.
(#107) Variable "course_id" must not contain underscores.
(#117) Variable "course_id" must not contain underscores.
(#118) Variable "course_id" must not contain underscores.
(#128) Variable "user_id" must not contain underscores.
(#129) Variable "user_id" must not contain underscores.
local/uploadnotification/tests/mail_test.php
(#83) Variable "planed_notification" must not contain underscores.
(#84) Variable "planed_notification" must not contain underscores.
(#85) Variable "planed_notification" must not contain underscores.
(#86) Variable "planed_notification" must not contain underscores.
(#98) Variable "planed_notification" must not contain underscores.
local/uploadnotification/user.php
(#57) Variable "user_form" must not contain underscores.
(#64) Variable "user_form" must not contain underscores.
(#79) Variable "user_form" must not contain underscores.

Javascript coding style problems

(0 errors, 0 warnings)

This section shows the coding style problems detected in the code by eslint [More info]


CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by stylelint [More info]


PHPDocs style problems

(0 errors, 0 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]


Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(0 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]