Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(0 errors, 2 warnings)

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

mod/organizer/backup/moodle2/restore_organizer_activity_task.class.php
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
mod/organizer/view_lib.php
(#66) Line exceeds 132 characters; contains 133 characters

Javascript coding style problems

(0 errors, 129 warnings)

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

mod/organizer/amd/src/adddayslot.js
(#70) 'i' declared on line 61 column 26 is used outside of binding context. (block-scoped-var)
(#105) Unnecessary escape character: \[. (no-useless-escape)
(#105) Unnecessary escape character: \]. (no-useless-escape)
(#105) Unnecessary escape character: \[. (no-useless-escape)
(#105) Unnecessary escape character: \]. (no-useless-escape)
(#106) Unnecessary escape character: \[. (no-useless-escape)
(#106) Unnecessary escape character: \]. (no-useless-escape)
(#106) Unnecessary escape character: \[. (no-useless-escape)
(#106) Unnecessary escape character: \]. (no-useless-escape)
(#107) Unnecessary escape character: \[. (no-useless-escape)
(#107) Unnecessary escape character: \]. (no-useless-escape)
(#107) Unnecessary escape character: \[. (no-useless-escape)
(#107) Unnecessary escape character: \]. (no-useless-escape)
(#108) Unnecessary escape character: \[. (no-useless-escape)
(#108) Unnecessary escape character: \]. (no-useless-escape)
(#108) Unnecessary escape character: \[. (no-useless-escape)
(#108) Unnecessary escape character: \]. (no-useless-escape)
(#121) 'jsdaydate' declared on line 114 column 29 is used outside of binding context. (block-scoped-var)
(#125) Unnecessary escape character: \[. (no-useless-escape)
(#125) Unnecessary escape character: \]. (no-useless-escape)
(#125) Unnecessary escape character: \[. (no-useless-escape)
(#125) Unnecessary escape character: \]. (no-useless-escape)
(#131) Unnecessary escape character: \[. (no-useless-escape)
(#131) Unnecessary escape character: \]. (no-useless-escape)
(#131) Unnecessary escape character: \[. (no-useless-escape)
(#131) Unnecessary escape character: \]. (no-useless-escape)
(#132) Unnecessary escape character: \[. (no-useless-escape)
(#132) Unnecessary escape character: \]. (no-useless-escape)
(#132) Unnecessary escape character: \[. (no-useless-escape)
(#132) Unnecessary escape character: \]. (no-useless-escape)
(#201) Unnecessary escape character: \[. (no-useless-escape)
(#201) Unnecessary escape character: \]. (no-useless-escape)
(#201) Unnecessary escape character: \[. (no-useless-escape)
(#201) Unnecessary escape character: \]. (no-useless-escape)
(#206) Unnecessary escape character: \[. (no-useless-escape)
(#206) Unnecessary escape character: \]. (no-useless-escape)
(#206) Unnecessary escape character: \[. (no-useless-escape)
(#206) Unnecessary escape character: \]. (no-useless-escape)
(#213) Unnecessary escape character: \[. (no-useless-escape)
(#213) Unnecessary escape character: \]. (no-useless-escape)
(#213) Unnecessary escape character: \[. (no-useless-escape)
(#213) Unnecessary escape character: \]. (no-useless-escape)
(#214) Unnecessary escape character: \[. (no-useless-escape)
(#214) Unnecessary escape character: \]. (no-useless-escape)
(#214) Unnecessary escape character: \[. (no-useless-escape)
(#214) Unnecessary escape character: \]. (no-useless-escape)
(#215) Unnecessary escape character: \[. (no-useless-escape)
(#215) Unnecessary escape character: \]. (no-useless-escape)
(#215) Unnecessary escape character: \[. (no-useless-escape)
(#215) Unnecessary escape character: \]. (no-useless-escape)
(#216) Unnecessary escape character: \[. (no-useless-escape)
(#216) Unnecessary escape character: \]. (no-useless-escape)
(#216) Unnecessary escape character: \[. (no-useless-escape)
(#216) Unnecessary escape character: \]. (no-useless-escape)
(#297) Unnecessary escape character: \[. (no-useless-escape)
(#297) Unnecessary escape character: \]. (no-useless-escape)
(#298) Unnecessary escape character: \[. (no-useless-escape)
(#298) Unnecessary escape character: \]. (no-useless-escape)
(#299) Unnecessary escape character: \[. (no-useless-escape)
(#299) Unnecessary escape character: \]. (no-useless-escape)
(#309) Unnecessary escape character: \[. (no-useless-escape)
(#309) Unnecessary escape character: \]. (no-useless-escape)
(#310) Unnecessary escape character: \[. (no-useless-escape)
(#310) Unnecessary escape character: \]. (no-useless-escape)
(#311) Unnecessary escape character: \[. (no-useless-escape)
(#311) Unnecessary escape character: \]. (no-useless-escape)
(#321) Unnecessary escape character: \[. (no-useless-escape)
(#321) Unnecessary escape character: \]. (no-useless-escape)
(#322) Unnecessary escape character: \[. (no-useless-escape)
(#322) Unnecessary escape character: \]. (no-useless-escape)
(#336) Unnecessary escape character: \[. (no-useless-escape)
(#336) Unnecessary escape character: \]. (no-useless-escape)
(#337) Unnecessary escape character: \[. (no-useless-escape)
(#337) Unnecessary escape character: \]. (no-useless-escape)
mod/organizer/amd/src/editform.js
(#51) Identifier 'detect_change' is not in camel case. (camelcase)
(#64) Identifier 'set_icon_changed' is not in camel case. (camelcase)
(#77) Identifier 'reset_edit_form' is not in camel case. (camelcase)
mod/organizer/amd/src/evalform.js
(#33) Expected JSDoc block to be aligned. (jsdoc/check-alignment)
(#36) Unexpected empty function. (no-empty-function)
(#46) Identifier 'toggle_all' is not in camel case. (camelcase)
(#49) Identifier 'sender_class' is not in camel case. (camelcase)
(#50) Identifier 'sender_class' is not in camel case. (camelcase)
(#57) Missing space before opening brace. (space-before-blocks)
mod/organizer/amd/src/initcheckboxes.js
(#32) Expected JSDoc block to be aligned. (jsdoc/check-alignment)
(#35) Unexpected empty function. (no-empty-function)
(#45) Identifier 'organizer_check_all' is not in camel case. (camelcase)
(#69) Expected to return a value at the end of function. (consistent-return)
mod/organizer/amd/src/initinfobox.js
(#31) Expected JSDoc block to be aligned. (jsdoc/check-alignment)
(#52) Function 'toggle_all_slots' has a complexity of 26. Maximum allowed is 20. (complexity)
(#52) Identifier 'toggle_all_slots' is not in camel case. (camelcase)
(#131) Blocks are nested too deeply (5). Maximum allowed is 4. (max-depth)
(#132) Blocks are nested too deeply (6). Maximum allowed is 4. (max-depth)
(#155) Identifier 'toggle_info' is not in camel case. (camelcase)
(#228) Identifier 'participantslist_toggle' is not in camel case. (camelcase)
(#245) Identifier 'participantslists_all_toggle' is not in camel case. (camelcase)
(#274) Statement inside of curly braces should be on next line. (brace-style)
(#274) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#275) Statement inside of curly braces should be on next line. (brace-style)
(#275) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#276) Statement inside of curly braces should be on next line. (brace-style)
(#276) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#277) Statement inside of curly braces should be on next line. (brace-style)
(#277) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#278) Statement inside of curly braces should be on next line. (brace-style)
(#278) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#279) Statement inside of curly braces should be on next line. (brace-style)
(#279) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#280) Statement inside of curly braces should be on next line. (brace-style)
(#280) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#281) Statement inside of curly braces should be on next line. (brace-style)
(#281) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#284) Expected to return a value at the end of function. (consistent-return)
(#284) Missing space before opening brace. (space-before-blocks)
(#286) Expected space(s) after "if". (keyword-spacing)
(#286) Missing space before opening brace. (space-before-blocks)
mod/organizer/amd/src/modform.js
(#32) Expected JSDoc block to be aligned. (jsdoc/check-alignment)
(#51) Identifier 'check_group_members_only' is not in camel case. (camelcase)
(#78) Identifier 'check_group_mode' is not in camel case. (camelcase)
(#96) Identifier 'init_gradechange' is not in camel case. (camelcase)
(#98) Unexpected alert. (no-alert)
mod/organizer/amd/src/printform.js
(#32) Expected JSDoc block to be aligned. (jsdoc/check-alignment)
(#47) Identifier 'init_header' is not in camel case. (camelcase)
(#58) Statement inside of curly braces should be on next line. (brace-style)
(#58) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#59) Statement inside of curly braces should be on next line. (brace-style)
(#59) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#66) Identifier 'init_noprints' is not in camel case. (camelcase)
(#78) Identifier 'set_user_preference' is not in camel case. (camelcase)
(#110) Identifier 'toggle_column' is not in camel case. (camelcase)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(50 errors, 0 warnings)

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

mod/organizer/backup/moodle2/backup_organizer_activity_task.class.php
(#54) Phpdocs for function backup_organizer_activity_task::encode_content_links has incomplete parameters list
mod/organizer/backup/moodle2/restore_organizer_activity_task.class.php
(#79) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#81) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#104) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#106) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/organizer/backup/moodle2/restore_organizer_stepslib.php
(#84) Phpdocs for function restore_organizer_activity_structure_step::process_slot has incomplete parameters list
(#107) Phpdocs for function restore_organizer_activity_structure_step::process_appointment has incomplete parameters list
mod/organizer/classes/privacy/provider.php
(#230) Phpdocs for function provider::export_appointments has incomplete parameters list
mod/organizer/custom_table_renderer.php
(#31) Phpdocs for function organizer_render_table_with_footer has incomplete parameters list
(#349) Phpdocs for function organizer_printtablepreview_icons has incomplete parameters list
mod/organizer/db/migrate.php
(#152) Phpdocs for function migrate_slots has incomplete parameters list
(#260) Phpdocs for function add_course_module_x has incomplete parameters list
mod/organizer/infobox.php
(#37) Phpdocs for function organizer_make_infobox has incomplete parameters list
(#97) Phpdocs for function organizer_make_section has incomplete parameters list
(#122) Phpdocs for function organizer_make_messages_section has incomplete parameters list
(#156) Phpdocs for function organizer_make_sendreminder_section has incomplete parameters list
(#184) Phpdocs for function organizer_make_description_section has incomplete parameters list
(#252) Phpdocs for function organizer_make_myapp_section has incomplete parameters list
(#316) Phpdocs for function organizer_make_registrationstatistic_section has incomplete parameters list
(#401) Phpdocs for function organizer_make_filtersection has incomplete parameters list
(#465) Phpdocs for function organizer_make_filtersection_reg has incomplete parameters list
(#504) Phpdocs for function organizer_make_slotoptions_section has incomplete parameters list
(#547) Phpdocs for function organizer_make_addslotbutton_section has incomplete parameters list
(#569) Phpdocs for function organizer_make_appointmentsstatus_section has incomplete parameters list
mod/organizer/lib.php
(#214) Phpdocs for function organizer_user_outline has incomplete parameters list
(#231) Phpdocs for function organizer_user_complete has incomplete parameters list
(#242) Phpdocs for function organizer_print_recent_activity has incomplete parameters list
(#970) Phpdocs for function organizer_scale_used has incomplete parameters list
(#989) Phpdocs for function organizer_scale_used_anywhere has incomplete parameters list
(#1123) Phpdocs for function mod_organizer_core_calendar_is_event_visible has incomplete parameters list
mod/organizer/locallib.php
(#135) Phpdocs for function organizer_check_collision has incomplete parameters list
(#874) Phpdocs for function organizer_delete_appointment has incomplete parameters list
(#907) Phpdocs for function organizer_delete_appointment_group has incomplete parameters list
(#2095) Phpdocs for function organizer_groupsynchronization has incomplete parameters list
(#2657) Phpdocs for function organizer_get_registrationview_entries has incomplete parameters list
(#3095) Phpdocs for function organizer_get_reminder_recipients has incomplete parameters list
mod/organizer/messaging.php
(#41) Phpdocs for function organizer_send_message has incomplete parameters list
(#522) Phpdocs for function organizer_check_messagerights has incomplete parameters list
mod/organizer/mod_form.php
(#367) Phpdocs for function mod_organizer_mod_form::validation has incomplete parameters list
mod/organizer/slotlib.php
(#582) Phpdocs for function organizer_slot::get_id has incomplete parameters list
(#663) Phpdocs for function organizer_get_last_user_appointment has incomplete parameters list
mod/organizer/slots_export.php
(#33) Phpdocs for function export_ics_file has incomplete parameters list
mod/organizer/view_action_form_add.php
(#305) Phpdocs for function organizer_add_slots_form::validation has incomplete parameters list
mod/organizer/view_action_form_print.php
(#69) Phpdocs for function organizer_print_slots_form::definition has incomplete parameters list
mod/organizer/view_lib.php
(#944) Phpdocs for function organizer_get_span_cell has incomplete parameters list
(#1098) Phpdocs for function organizer_get_reg_status_table_entries has incomplete parameters list
(#1211) Phpdocs for function organizer_generate_registration_table_content has incomplete parameters list
(#2362) Phpdocs for function organizer_get_icon_msg has incomplete parameters list
(#2480) Phpdocs for function organizer_get_icon has incomplete parameters list
(#3282) Phpdocs for function organizer_appointmentsstatus_bar has incomplete parameters list

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]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]