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

(50 errors, 82 warnings)

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

mod/organizer/backup/moodle2/backup_organizer_activity_task.class.php
(#59) The static declaration must come after the visibility declaration
mod/organizer/backup/moodle2/restore_organizer_activity_task.class.php
(#55) The static declaration must come after the visibility declaration
(#67) The static declaration must come after the visibility declaration
(#83) The static declaration must come after the visibility declaration
(#112) The static declaration must come after the visibility declaration
mod/organizer/classes/MTablePDF.php
(#173) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#308) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#362) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#382) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#502) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#652) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#998) File must end with a newline character
mod/organizer/classes/event/appointment_added.php
(#59) File must end with a newline character
mod/organizer/classes/event/appointment_assigned.php
(#59) File must end with a newline character
mod/organizer/classes/event/appointment_commented.php
(#59) File must end with a newline character
mod/organizer/classes/event/appointment_evaluated.php
(#59) File must end with a newline character
mod/organizer/classes/event/appointment_list_printed.php
(#59) File must end with a newline character
mod/organizer/classes/event/appointment_reminder_sent.php
(#59) File must end with a newline character
mod/organizer/classes/event/appointment_removed.php
(#59) File must end with a newline character
mod/organizer/classes/event/course_module_instance_list_viewed.php
(#32) File must end with a newline character
mod/organizer/classes/event/course_module_viewed.php
(#37) File must end with a newline character
mod/organizer/classes/event/queue_added.php
(#59) File must end with a newline character
mod/organizer/classes/event/queue_removed.php
(#59) File must end with a newline character
mod/organizer/classes/event/registrations_viewed.php
(#58) File must end with a newline character
mod/organizer/classes/event/slot_created.php
(#59) File must end with a newline character
mod/organizer/classes/event/slot_deleted.php
(#59) File must end with a newline character
mod/organizer/classes/event/slot_updated.php
(#59) File must end with a newline character
mod/organizer/classes/event/slot_viewed.php
(#58) File must end with a newline character
mod/organizer/classes/search/activity.php
(#37) File must end with a newline character
mod/organizer/classes/task/cron_task.php
(#44) File must end with a newline character
mod/organizer/comment_edit.php
(#76) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#78) File must end with a newline character
mod/organizer/custom_table_renderer.php
(#359) File must end with a newline character
mod/organizer/db/tasks.php
(#38) File must end with a newline character
mod/organizer/db/upgrade.php
(#698) File must end with a newline character
mod/organizer/infobox.php
(#69) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
mod/organizer/lang/en/organizer.php
(#1188) Inline comments must end in full-stops, exclamation marks, or question marks
(#1190) File must end with a newline character
mod/organizer/legend.php
(#159) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#252) File must end with a newline character
mod/organizer/lib.php
(#768) Line exceeds 132 characters; contains 135 characters
mod/organizer/locallib.php
(#189) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#193) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#888) Line exceeds 132 characters; contains 140 characters
(#1199) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#1227) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#1247) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#1266) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#1285) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#1991) File must end with a newline character
mod/organizer/messaging.php
(#424) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
mod/organizer/mod_form.php
(#189) Line exceeds 132 characters; contains 137 characters
(#313) Method name "_get_memberships" should not be prefixed with an underscore to indicate visibility
(#340) Method name "_get_visibilities" should not be prefixed with an underscore to indicate visibility
(#350) Method name "_get_groupmodes" should not be prefixed with an underscore to indicate visibility
(#361) File must end with a newline character
mod/organizer/send_reminder.php
(#119) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#165) File must end with a newline character
mod/organizer/settings.php
(#159) File must end with a newline character
mod/organizer/slot_assign.php
(#98) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
mod/organizer/slots_add.php
(#84) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#86) File must end with a newline character
mod/organizer/slots_delete.php
(#128) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#130) File must end with a newline character
mod/organizer/slots_edit.php
(#93) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#95) File must end with a newline character
mod/organizer/slots_eval.php
(#88) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#90) File must end with a newline character
mod/organizer/slots_print.php
(#386) File must end with a newline character
mod/organizer/slots_printdetail.php
(#389) File must end with a newline character
mod/organizer/util.php
(#72) File must end with a newline character
mod/organizer/view.php
(#84) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#100) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#115) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#122) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#126) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#191) File must end with a newline character
mod/organizer/view_action.php
(#116) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#127) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#174) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#228) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
mod/organizer/view_action_form_add.php
(#377) Method name "_validation_step1" should not be prefixed with an underscore to indicate visibility
(#447) Method name "_converts_to_int" should not be prefixed with an underscore to indicate visibility
(#466) Method name "_add_slot_fields" should not be prefixed with an underscore to indicate visibility
(#488) Method name "_create_day_slot_group" should not be prefixed with an underscore to indicate visibility
(#526) Method name "_get_visibilities" should not be prefixed with an underscore to indicate visibility
(#539) Method name "_get_trainer_list" should not be prefixed with an underscore to indicate visibility
(#562) Method name "_between" should not be prefixed with an underscore to indicate visibility
(#568) Method name "_init_arrays" should not be prefixed with an underscore to indicate visibility
(#593) Method name "_add_scroll_fix" should not be prefixed with an underscore to indicate visibility
(#612) Method name "_get_instance_visibility" should not be prefixed with an underscore to indicate visibility
mod/organizer/view_action_form_assign.php
(#54) Method name "_sethiddenfields" should not be prefixed with an underscore to indicate visibility
(#75) Method name "_addslotlist" should not be prefixed with an underscore to indicate visibility
(#141) Method name "_organizer_slot_is_free" should not be prefixed with an underscore to indicate visibility
(#160) Method name "_addbuttons" should not be prefixed with an underscore to indicate visibility
(#174) File must end with a newline character
mod/organizer/view_action_form_comment.php
(#76) File must end with a newline character
mod/organizer/view_action_form_delete.php
(#117) File must end with a newline character
mod/organizer/view_action_form_edit.php
(#64) Method name "_get_defaults" should not be prefixed with an underscore to indicate visibility
(#181) Method name "_addbuttons" should not be prefixed with an underscore to indicate visibility
(#195) Method name "_sethiddenfields" should not be prefixed with an underscore to indicate visibility
(#221) Method name "_addfields" should not be prefixed with an underscore to indicate visibility
(#410) Method name "_converts_to_int" should not be prefixed with an underscore to indicate visibility
(#449) Method name "_load_trainers" should not be prefixed with an underscore to indicate visibility
(#470) Method name "_warning_icon" should not be prefixed with an underscore to indicate visibility
(#484) Method name "_organizer_figure_out_unit" should not be prefixed with an underscore to indicate visibility
(#498) Method name "_get_visibilities" should not be prefixed with an underscore to indicate visibility
(#510) Method name "_get_instance_visibility" should not be prefixed with an underscore to indicate visibility
mod/organizer/view_action_form_eval.php
(#59) Method name "_sethiddenfields" should not be prefixed with an underscore to indicate visibility
(#73) Method name "_addevalfields" should not be prefixed with an underscore to indicate visibility
(#234) Method name "_organizer_get_name_link" should not be prefixed with an underscore to indicate visibility
(#249) Method name "_addbuttons" should not be prefixed with an underscore to indicate visibility
(#262) File must end with a newline character
mod/organizer/view_action_form_print.php
(#45) Method name "_add_slot_info" should not be prefixed with an underscore to indicate visibility
(#64) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#68) Method name "_add_column_select" should not be prefixed with an underscore to indicate visibility
(#160) Method name "_create_preview_table" should not be prefixed with an underscore to indicate visibility
(#414) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#424) File must end with a newline character
mod/organizer/view_action_form_printdetail.php
(#52) Method name "_add_slot_info" should not be prefixed with an underscore to indicate visibility
(#69) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#75) Method name "_add_column_select" should not be prefixed with an underscore to indicate visibility
(#157) Method name "_create_preview_table" should not be prefixed with an underscore to indicate visibility
(#400) File must end with a newline character
mod/organizer/view_action_form_remind_all.php
(#115) File must end with a newline character
mod/organizer/view_lib.php
(#602) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#633) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#1134) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#1462) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#1981) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#2237) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#2518) File must end with a newline character

Javascript coding style problems

(0 errors, 131 warnings)

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

mod/organizer/amd/src/adddayslot.js
(#70) 'i' used outside of binding context. (block-scoped-var)
(#113) Missing JSDoc comment. (require-jsdoc)
(#116) Unnecessary escape character: \[. (no-useless-escape)
(#116) Unnecessary escape character: \]. (no-useless-escape)
(#116) Unnecessary escape character: \[. (no-useless-escape)
(#116) Unnecessary escape character: \]. (no-useless-escape)
(#117) Unnecessary escape character: \[. (no-useless-escape)
(#117) Unnecessary escape character: \]. (no-useless-escape)
(#117) Unnecessary escape character: \[. (no-useless-escape)
(#117) Unnecessary escape character: \]. (no-useless-escape)
(#118) Unnecessary escape character: \[. (no-useless-escape)
(#118) Unnecessary escape character: \]. (no-useless-escape)
(#118) Unnecessary escape character: \[. (no-useless-escape)
(#118) Unnecessary escape character: \]. (no-useless-escape)
(#131) 'jsdaydate' used outside of binding context. (block-scoped-var)
(#135) Unnecessary escape character: \[. (no-useless-escape)
(#135) Unnecessary escape character: \]. (no-useless-escape)
(#135) Unnecessary escape character: \[. (no-useless-escape)
(#135) Unnecessary escape character: \]. (no-useless-escape)
(#140) Unnecessary escape character: \[. (no-useless-escape)
(#140) Unnecessary escape character: \]. (no-useless-escape)
(#140) Unnecessary escape character: \[. (no-useless-escape)
(#140) Unnecessary escape character: \]. (no-useless-escape)
(#142) Unnecessary escape character: \[. (no-useless-escape)
(#142) Unnecessary escape character: \]. (no-useless-escape)
(#142) Unnecessary escape character: \[. (no-useless-escape)
(#142) Unnecessary escape character: \]. (no-useless-escape)
(#143) Unnecessary escape character: \[. (no-useless-escape)
(#143) Unnecessary escape character: \]. (no-useless-escape)
(#143) Unnecessary escape character: \[. (no-useless-escape)
(#143) Unnecessary escape character: \]. (no-useless-escape)
(#153) Missing JSDoc comment. (require-jsdoc)
(#175) Missing JSDoc comment. (require-jsdoc)
(#185) Missing JSDoc comment. (require-jsdoc)
(#193) Missing JSDoc comment. (require-jsdoc)
(#195) Unnecessary escape character: \[. (no-useless-escape)
(#195) Unnecessary escape character: \]. (no-useless-escape)
(#195) Unnecessary escape character: \[. (no-useless-escape)
(#195) Unnecessary escape character: \]. (no-useless-escape)
(#200) Unnecessary escape character: \[. (no-useless-escape)
(#200) Unnecessary escape character: \]. (no-useless-escape)
(#200) Unnecessary escape character: \[. (no-useless-escape)
(#200) Unnecessary escape character: \]. (no-useless-escape)
(#207) Unnecessary escape character: \[. (no-useless-escape)
(#207) Unnecessary escape character: \]. (no-useless-escape)
(#207) Unnecessary escape character: \[. (no-useless-escape)
(#207) Unnecessary escape character: \]. (no-useless-escape)
(#208) Unnecessary escape character: \[. (no-useless-escape)
(#208) Unnecessary escape character: \]. (no-useless-escape)
(#208) Unnecessary escape character: \[. (no-useless-escape)
(#208) Unnecessary escape character: \]. (no-useless-escape)
(#248) Missing JSDoc comment. (require-jsdoc)
(#257) Missing JSDoc comment. (require-jsdoc)
(#276) Missing JSDoc comment. (require-jsdoc)
(#277) Unnecessary escape character: \[. (no-useless-escape)
(#277) Unnecessary escape character: \]. (no-useless-escape)
(#278) Unnecessary escape character: \[. (no-useless-escape)
(#278) Unnecessary escape character: \]. (no-useless-escape)
(#279) Unnecessary escape character: \[. (no-useless-escape)
(#279) Unnecessary escape character: \]. (no-useless-escape)
(#284) Missing JSDoc comment. (require-jsdoc)
(#285) Unnecessary escape character: \[. (no-useless-escape)
(#285) Unnecessary escape character: \]. (no-useless-escape)
(#286) Unnecessary escape character: \[. (no-useless-escape)
(#286) Unnecessary escape character: \]. (no-useless-escape)
(#287) Unnecessary escape character: \[. (no-useless-escape)
(#287) Unnecessary escape character: \]. (no-useless-escape)
(#292) Missing JSDoc comment. (require-jsdoc)
(#293) Unnecessary escape character: \[. (no-useless-escape)
(#293) Unnecessary escape character: \]. (no-useless-escape)
(#294) Unnecessary escape character: \[. (no-useless-escape)
(#294) Unnecessary escape character: \]. (no-useless-escape)
(#303) Missing JSDoc comment. (require-jsdoc)
(#304) Unnecessary escape character: \[. (no-useless-escape)
(#304) Unnecessary escape character: \]. (no-useless-escape)
(#305) Unnecessary escape character: \[. (no-useless-escape)
(#305) Unnecessary escape character: \]. (no-useless-escape)
(#314) Missing JSDoc comment. (require-jsdoc)
mod/organizer/amd/src/editform.js
(#47) Missing JSDoc comment. (require-jsdoc)
(#47) Identifier 'detect_change' is not in camel case. (camelcase)
(#56) Missing JSDoc comment. (require-jsdoc)
(#56) Identifier 'set_icon_changed' is not in camel case. (camelcase)
(#66) Missing JSDoc comment. (require-jsdoc)
(#66) Identifier 'reset_edit_form' is not in camel case. (camelcase)
(#72) Missing JSDoc comment. (require-jsdoc)
(#72) Identifier 'reset_modfields' is not in camel case. (camelcase)
(#76) Missing JSDoc comment. (require-jsdoc)
(#76) Identifier 'reset_icons_warning' is not in camel case. (camelcase)
mod/organizer/amd/src/evalform.js
(#36) Unexpected empty function. (no-empty-function)
(#41) Missing JSDoc comment. (require-jsdoc)
(#41) Identifier 'toggle_all' is not in camel case. (camelcase)
(#44) Identifier 'sender_class' is not in camel case. (camelcase)
(#46) Identifier 'sender_class' is not in camel case. (camelcase)
mod/organizer/amd/src/initcheckboxes.js
(#35) Unexpected empty function. (no-empty-function)
(#41) Missing JSDoc comment. (require-jsdoc)
(#41) Identifier 'organizer_check_all' is not in camel case. (camelcase)
mod/organizer/amd/src/initinfobox.js
(#45) Missing JSDoc comment. (require-jsdoc)
(#45) Identifier 'toggle_all_slots' is not in camel case. (camelcase)
(#90) Blocks are nested too deeply (5). Maximum allowed is 4. (max-depth)
(#92) Blocks are nested too deeply (6). Maximum allowed is 4. (max-depth)
(#93) Blocks are nested too deeply (7). Maximum allowed is 4. (max-depth)
(#112) Missing JSDoc comment. (require-jsdoc)
(#112) Identifier 'toggle_info' is not in camel case. (camelcase)
(#144) Missing JSDoc comment. (require-jsdoc)
(#159) Statement inside of curly braces should be on next line. (brace-style)
(#159) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#160) Statement inside of curly braces should be on next line. (brace-style)
(#160) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#161) Statement inside of curly braces should be on next line. (brace-style)
(#161) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#162) Statement inside of curly braces should be on next line. (brace-style)
(#162) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#163) Statement inside of curly braces should be on next line. (brace-style)
(#163) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#164) Statement inside of curly braces should be on next line. (brace-style)
(#164) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
mod/organizer/amd/src/modform.js
(#50) Missing JSDoc comment. (require-jsdoc)
(#50) Identifier 'check_group_members_only' is not in camel case. (camelcase)
(#75) Missing JSDoc comment. (require-jsdoc)
(#75) Identifier 'check_group_mode' is not in camel case. (camelcase)
(#94) Identifier 'init_gradechange' is not in camel case. (camelcase)
(#96) Unexpected alert. (no-alert)
mod/organizer/amd/src/printform.js
(#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)
(#108) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#110) Identifier 'toggle_column' is not in camel case. (camelcase)

CSS problems

(32 errors, 7 warnings)

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

mod/organizer/styles.css
(#53) Expected single space before "{" (block-opening-brace-space-before)
(#138) Expected single space before "{" (block-opening-brace-space-before)
(#149) Expected single space before "{" (block-opening-brace-space-before)
(#154) Expected single space before "{" (block-opening-brace-space-before)
(#164) Expected single space before "{" (block-opening-brace-space-before)
(#30) Expected "#F0F0F0" to be "#f0f0f0" (color-hex-case)
(#46) Expected "#BBB" to be "#bbb" (color-hex-case)
(#104) Expected "#F0F0F0" to be "#f0f0f0" (color-hex-case)
(#116) Expected "#BBB" to be "#bbb" (color-hex-case)
(#143) Expected "#ffffff" to be "#fff" (color-hex-length)
(#130) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#135) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#54) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#55) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#62) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#63) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#64) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#125) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#130) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#135) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#139) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#146) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#150) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#155) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#160) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#30) Unexpected !important (declaration-no-important)
(#34) Unexpected !important (declaration-no-important)
(#38) Unexpected !important (declaration-no-important)
(#42) Unexpected !important (declaration-no-important)
(#46) Unexpected !important (declaration-no-important)
(#80) Unexpected !important (declaration-no-important)
(#84) Unexpected !important (declaration-no-important)
(#112) Unexpected !important (declaration-no-important)
(#116) Unexpected !important (declaration-no-important)
(#182) Unexpected !important (declaration-no-important)
(#100) Expected single space after "," in a single-line function (function-comma-space-after)
(#100) Expected single space after "," in a single-line function (function-comma-space-after)
(#177) Unexpected unit (length-zero-no-unit)
(#178) Unexpected unit (length-zero-no-unit)

PHPDocs style problems

(337 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
(#33) No one-line description found in phpdocs for class backup_organizer_activity_task
(#55) Phpdocs for function backup_organizer_activity_task::encode_content_links has incomplete parameters list
mod/organizer/backup/moodle2/backup_organizer_stepslib.php
(#41) Function backup_organizer_activity_structure_step::define_structure is not documented
mod/organizer/backup/moodle2/restore_organizer_activity_task.class.php
(#21) No one-line description found in phpdocs for class restore_organizer_activity_task
(#79) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#81) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#104) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#106) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/organizer/backup/moodle2/restore_organizer_stepslib.php
(#18) No one-line description found in phpdocs for class restore_organizer_activity_structure_step
(#75) Phpdocs for function restore_organizer_activity_structure_step::process_slot has incomplete parameters list
mod/organizer/classes/MTablePDF.php
(#20) Package mtablepdf is not valid
mod/organizer/classes/event/appointment_added.php
(#35) Function appointment_added::init is not documented
(#41) Function appointment_added::get_name is not documented
(#45) Function appointment_added::get_description is not documented
(#50) Function appointment_added::get_url is not documented
(#54) Function appointment_added::get_legacy_logdata is not documented
mod/organizer/classes/event/appointment_assigned.php
(#35) Function appointment_assigned::init is not documented
(#41) Function appointment_assigned::get_name is not documented
(#45) Function appointment_assigned::get_description is not documented
(#50) Function appointment_assigned::get_url is not documented
(#54) Function appointment_assigned::get_legacy_logdata is not documented
mod/organizer/classes/event/appointment_commented.php
(#35) Function appointment_commented::init is not documented
(#41) Function appointment_commented::get_name is not documented
(#45) Function appointment_commented::get_description is not documented
(#50) Function appointment_commented::get_url is not documented
(#54) Function appointment_commented::get_legacy_logdata is not documented
mod/organizer/classes/event/appointment_evaluated.php
(#35) Function appointment_evaluated::init is not documented
(#41) Function appointment_evaluated::get_name is not documented
(#45) Function appointment_evaluated::get_description is not documented
(#50) Function appointment_evaluated::get_url is not documented
(#54) Function appointment_evaluated::get_legacy_logdata is not documented
mod/organizer/classes/event/appointment_list_printed.php
(#35) Function appointment_list_printed::init is not documented
(#41) Function appointment_list_printed::get_name is not documented
(#45) Function appointment_list_printed::get_description is not documented
(#50) Function appointment_list_printed::get_url is not documented
(#54) Function appointment_list_printed::get_legacy_logdata is not documented
mod/organizer/classes/event/appointment_reminder_sent.php
(#35) Function appointment_reminder_sent::init is not documented
(#41) Function appointment_reminder_sent::get_name is not documented
(#45) Function appointment_reminder_sent::get_description is not documented
(#50) Function appointment_reminder_sent::get_url is not documented
(#54) Function appointment_reminder_sent::get_legacy_logdata is not documented
mod/organizer/classes/event/appointment_removed.php
(#35) Function appointment_removed::init is not documented
(#41) Function appointment_removed::get_name is not documented
(#45) Function appointment_removed::get_description is not documented
(#50) Function appointment_removed::get_url is not documented
(#54) Function appointment_removed::get_legacy_logdata is not documented
mod/organizer/classes/event/course_module_instance_list_viewed.php
(#30) Class course_module_instance_list_viewed is not documented
mod/organizer/classes/event/course_module_viewed.php
(#30) Class course_module_viewed is not documented
(#32) Function course_module_viewed::init is not documented
mod/organizer/classes/event/queue_added.php
(#35) Function queue_added::init is not documented
(#41) Function queue_added::get_name is not documented
(#45) Function queue_added::get_description is not documented
(#50) Function queue_added::get_url is not documented
(#54) Function queue_added::get_legacy_logdata is not documented
mod/organizer/classes/event/queue_removed.php
(#35) Function queue_removed::init is not documented
(#41) Function queue_removed::get_name is not documented
(#45) Function queue_removed::get_description is not documented
(#50) Function queue_removed::get_url is not documented
(#54) Function queue_removed::get_legacy_logdata is not documented
mod/organizer/classes/event/registrations_viewed.php
(#35) Function registrations_viewed::init is not documented
(#41) Function registrations_viewed::get_name is not documented
(#45) Function registrations_viewed::get_description is not documented
(#49) Function registrations_viewed::get_url is not documented
(#53) Function registrations_viewed::get_legacy_logdata is not documented
mod/organizer/classes/event/slot_created.php
(#35) Function slot_created::init is not documented
(#41) Function slot_created::get_name is not documented
(#45) Function slot_created::get_description is not documented
(#50) Function slot_created::get_url is not documented
(#54) Function slot_created::get_legacy_logdata is not documented
mod/organizer/classes/event/slot_deleted.php
(#35) Function slot_deleted::init is not documented
(#41) Function slot_deleted::get_name is not documented
(#45) Function slot_deleted::get_description is not documented
(#50) Function slot_deleted::get_url is not documented
(#54) Function slot_deleted::get_legacy_logdata is not documented
mod/organizer/classes/event/slot_updated.php
(#35) Function slot_updated::init is not documented
(#41) Function slot_updated::get_name is not documented
(#45) Function slot_updated::get_description is not documented
(#50) Function slot_updated::get_url is not documented
(#54) Function slot_updated::get_legacy_logdata is not documented
mod/organizer/classes/event/slot_viewed.php
(#35) Function slot_viewed::init is not documented
(#41) Function slot_viewed::get_name is not documented
(#45) Function slot_viewed::get_description is not documented
(#49) Function slot_viewed::get_url is not documented
(#53) Function slot_viewed::get_legacy_logdata is not documented
mod/organizer/classes/privacy/provider.php
(#227) Phpdocs for function provider::export_appointments has incomplete parameters list
mod/organizer/classes/task/cron_task.php
(#30) Class cron_task is not documented
(#33) Function cron_task::get_name is not documented
(#38) Function cron_task::execute is not documented
mod/organizer/custom_table_renderer.php
(#31) Function organizer_render_table_with_footer is not documented
(#344) Phpdocs for function organizer_printtablepreview_icons has incomplete parameters list
mod/organizer/db/migrate.php
(#150) Function migrate_slots is not documented
(#250) Function add_course_module_x is not documented
mod/organizer/infobox.php
(#37) Function organizer_make_infobox is not documented
(#82) Function organizer_make_section is not documented
(#99) Function organizer_add_message_icon is not documented
(#110) Function organizer_make_messages_section is not documented
(#127) Function organizer_make_sendreminder_section is not documented
(#139) Function organizer_make_description_section is not documented
(#170) Function organizer_make_myapp_section is not documented
(#207) Function organizer_make_slotoptions_section is not documented
(#240) Function organizer_make_filtersection is not documented
(#255) Function organizer_make_addslotbutton_section is not documented
mod/organizer/legend.php
(#32) Function organizer_make_legend is not documented
(#164) Function organizer_make_cell is not documented
(#171) Function organizer_get_icon_plus_string is not documented
(#176) There is no description in phpdocs for function organizer_legend_regstatusline
(#205) There is no description in phpdocs for function organizer_legend_anonline
(#233) There is no description in phpdocs for function organizer_legend_tableheader
(#177) Phpdocs for function organizer_legend_regstatusline has incomplete parameters list
(#206) Phpdocs for function organizer_legend_anonline has incomplete parameters list
(#234) Phpdocs for function organizer_legend_tableheader has incomplete parameters list
mod/organizer/lib.php
(#230) Function organizer_reset_course_form_definition is not documented
(#236) Function organizer_reset_userdata is not documented
(#299) Function organizer_reset_gradebook is not documented
(#319) Function organizer_get_user_grade is not documented
(#347) Function organizer_update_grades is not documented
(#367) Function organizer_grade_item_update is not documented
(#400) Function organizer_display_grade is not documented
(#445) Function organizer_display_finalgrade is not documented
(#455) Function organizer_get_finalgrade_overwritten is not documented
(#481) Function organizer_make_grades_menu_organizer is not documented
(#501) Function organizer_clean_num is not documented
(#510) Function organizer_get_last_group_appointment is not documented
(#543) Function organizer_get_counters is not documented
(#599) Function organizer_get_eventaction_instance_trainer is not documented
(#616) Function organizer_get_eventaction_instance_student is not documented
(#658) Function organizer_fetch_group is not documented
(#850) Function organizer_create_digest is not documented
(#943) Function organizer_supports is not documented
(#999) Function organizer_remove_waitingqueueentries is not documented
(#1094) Function organizer_change_event_instance is not documented
(#1117) Function organizer_create_calendarevent is not documented
(#1181) Function organizer_change_calendarevent is not documented
(#1239) Function organizer_change_eventnames is not documented
(#188) Phpdocs for function organizer_user_outline has incomplete parameters list
(#206) Phpdocs for function organizer_user_complete has incomplete parameters list
(#218) Phpdocs for function organizer_print_recent_activity has incomplete parameters list
(#901) Phpdocs for function organizer_scale_used has incomplete parameters list
(#920) Phpdocs for function organizer_scale_used_anywhere has incomplete parameters list
(#1031) Phpdocs for function mod_organizer_core_calendar_is_event_visible has incomplete parameters list
mod/organizer/locallib.php
(#342) Function organizer_add_day_to_date is not documented
(#346) Function organizer_add_event_slot is not documented
(#432) Function organizer_add_event_appointment is not documented
(#516) Function organizer_add_event_appointment_trainer is not documented
(#542) Function organizer_update_comments is not documented
(#555) Function organizer_update_slot is not documented
(#717) Function organizer_delete_appointment_slot is not documented
(#751) Function organizer_delete_from_queue is not documented
(#772) Function organizer_delete_user_from_any_queue is not documented
(#799) Function organizer_add_to_queue is not documented
(#829) Function organizer_register_appointment is not documented
(#887) Function organizer_register_single_appointment is not documented
(#942) Function organizer_queue_single_appointment is not documented
(#961) Function organizer_reregister_appointment is not documented
(#1045) Function organizer_get_active_appointment is not documented
(#1059) Function organizer_unregister_appointment is not documented
(#1119) Function organizer_unregister_single_appointment is not documented
(#1149) Function organizer_evaluate_slots is not documented
(#1184) Function organizer_get_course_module_data is not documented
(#1207) Function organizer_get_course_module_data_new is not documented
(#1235) Function organizer_get_organizer is not documented
(#1253) Function organizer_get_cm is not documented
(#1272) Function organizer_get_context is not documented
(#1294) Function organizer_is_group_mode is not documented
(#1302) Function organizer_is_queueable is not documented
(#1310) Function organizer_fetch_my_group is not documented
(#1331) Function organizer_fetch_user_group is not documented
(#1346) Function organizer_fetch_hidecalendar is not documented
(#1355) Function organizer_fetch_table_entries is not documented
(#1421) Function organizer_with_grading is not documented
(#1433) Function organizer_get_teacherapplicant_output is not documented
(#1458) Function organizer_fetch_groupname is not documented
(#1466) Function organizer_fetch_groupusers is not documented
(#1485) Function organizer_count_slotappointments is not documented
(#1496) Function organizer_sortout_hiddenslots is not documented
(#1510) Function organizer_get_user_identity is not documented
(#1537) Function organizer_groupsynchronization is not documented
(#1562) Function organizer_create_coursegroup is not documented
(#1587) Function organizer_create_coursegroupname is not documented
(#1616) Function organizer_delete_coursegroup is not documented
(#1634) Function organizer_fetch_allslots is not documented
(#1642) Function organizer_fetch_slotparticipants is not documented
(#1697) Function organizer_get_allowed_printslotuserfields is not documented
(#1725) Function organizer_fetch_printdetail_entries is not documented
(#1764) Function organizer_filter_text is not documented
(#1775) Function organizer_get_users_of_slot is not documented
(#34) There is no description in phpdocs for function organizer_load_eventsandslots
(#80) There is no description in phpdocs for function organizer_get_name_link
(#122) There is no description in phpdocs for function between
(#132) There is no description in phpdocs for function organizer_add_new_slots
(#261) There is no description in phpdocs for function organizer_get_slotstarttime
(#277) There is no description in phpdocs for function organizer_get_dayto
(#103) Phpdocs for function organizer_check_collision has incomplete parameters list
(#1959) Phpdocs for function organizer_get_registrationview_entries has incomplete parameters list
mod/organizer/messaging.php
(#170) Function organizer_send_message_reminder is not documented
(#202) Function organizer_send_message_from_trainer is not documented
(#215) Function organizer_make_html is not documented
(#236) Function organizer_prepare_and_send_message is not documented
(#39) Phpdocs for function organizer_send_message has incomplete parameters list
(#432) Phpdocs for function organizer_check_messagerights has incomplete parameters list
(#472) Phpdocs for function organizer_build_message has incomplete parameters list
mod/organizer/mod_form.php
(#34) Class mod_organizer_mod_form is not documented
(#37) Function mod_organizer_mod_form::definition_after_data is not documented
(#74) Function mod_organizer_mod_form::definition is not documented
(#259) Function mod_organizer_mod_form::validation is not documented
(#313) Function mod_organizer_mod_form::_get_memberships is not documented
(#340) Function mod_organizer_mod_form::_get_visibilities is not documented
(#350) Function mod_organizer_mod_form::_get_groupmodes is not documented
mod/organizer/send_reminder.php
(#123) Function organizer_remind_all is not documented
mod/organizer/slotlib.php
(#173) Class organizer_slot is not documented
(#32) Function organizer_get_last_user_appointment is not documented
(#82) Function organizer_get_all_user_appointments is not documented
(#133) Function organizer_get_next_user_appointment is not documented
(#182) Function organizer_slot::__construct is not documented
(#213) Function organizer_slot::get_organizer is not documented
(#218) Function organizer_slot::get_slot is not documented
(#222) Function organizer_slot::has_participants is not documented
(#227) Function organizer_slot::get_rel_deadline is not documented
(#232) Function organizer_slot::get_abs_deadline is not documented
(#237) Function organizer_slot::is_upcoming is not documented
(#241) Function organizer_slot::is_past_deadline is not documented
(#246) Function organizer_slot::is_past_due is not documented
(#250) Function organizer_slot::is_full is not documented
(#260) Function organizer_slot::is_available is not documented
(#264) Function organizer_slot::organizer_expired is not documented
(#269) Function organizer_slot::organizer_unavailable is not documented
(#274) Function organizer_slot::is_evaluated is not documented
(#285) Function organizer_slot::organizer_user_has_access is not documented
(#391) Function organizer_slot::get_next_in_queue_group is not documented
(#404) Function organizer_slot::load_organizer is not documented
(#411) Function organizer_slot::load_appointments is not documented
(#418) Function organizer_slot::load_queue is not documented
(#425) Function organizer_slot::load_queue_group is not documented
(#437) Function organizer_user_has_access is not documented
(#454) Function organizer_get_slot_trainers is not documented
(#176) Variable organizer_slot::$slot is not documented
(#177) Variable organizer_slot::$organizer is not documented
(#178) Variable organizer_slot::$apps is not documented
(#179) Variable organizer_slot::$queue is not documented
(#180) Variable organizer_slot::$queuegroup is not documented
mod/organizer/slots_print.php
(#103) Function organizer_display_printable_table is not documented
mod/organizer/slots_printdetail.php
(#113) Function organizer_display_printable_slotdetail_table is not documented
mod/organizer/status_view.php
(#32) Function organizer_generate_registration_table_content is not documented
(#106) Function organizer_get_status_table_entries_group is not documented
(#169) Function organizer_get_status_table_entries is not documented
mod/organizer/util.php
(#42) There is no description in phpdocs for function organizer_get_appointment_status
(#65) There is no description in phpdocs for function organizer_check_appointment_status
mod/organizer/view.php
(#137) Function organizer_create_url is not documented
(#154) Function organizer_load_params is not documented
mod/organizer/view_action.php
(#278) Phpdocs for function organizer_organizer_student_action_allowed has incomplete parameters list
mod/organizer/view_action_form_add.php
(#44) Variable organizer_add_slots_form::$pickeroptions is not documented
(#46) Variable organizer_add_slots_form::$weekdays is not documented
(#372) There is no description in phpdocs for function _validation_step1
(#442) There is no description in phpdocs for function _converts_to_int
(#461) There is no description in phpdocs for function _add_slot_fields
(#483) There is no description in phpdocs for function _create_day_slot_group
(#522) There is no description in phpdocs for function _get_visibilities
(#535) There is no description in phpdocs for function _get_trainer_list
(#555) There is no description in phpdocs for function _between
(#608) There is no description in phpdocs for function _get_instance_visibility
(#273) Phpdocs for function organizer_add_slots_form::validation has incomplete parameters list
mod/organizer/view_action_form_assign.php
(#33) Class organizer_assign_slot_form is not documented
mod/organizer/view_action_form_delete.php
(#36) Class organizer_delete_slots_form is not documented
(#39) Function organizer_delete_slots_form::definition is not documented
mod/organizer/view_action_form_edit.php
(#61) There is no description in phpdocs for function _get_defaults
(#218) There is no description in phpdocs for function _addfields
(#406) There is no description in phpdocs for function _converts_to_int
(#446) There is no description in phpdocs for function _load_trainers
(#465) There is no description in phpdocs for function _warning_icon
(#480) There is no description in phpdocs for function _organizer_figure_out_unit
(#495) There is no description in phpdocs for function _get_visibilities
(#507) There is no description in phpdocs for function _get_instance_visibility
(#418) Phpdocs for function organizer_edit_slots_form::validation has incomplete parameters list
mod/organizer/view_action_form_eval.php
(#23) No one-line description found in phpdocs for class organizer_evaluate_slots_form
(#230) There is no description in phpdocs for function _organizer_get_name_link
mod/organizer/view_action_form_print.php
(#35) Class organizer_print_slots_form is not documented
(#40) Function organizer_print_slots_form::definition is not documented
(#45) Function organizer_print_slots_form::_add_slot_info is not documented
(#68) Function organizer_print_slots_form::_add_column_select is not documented
(#126) Function organizer_print_slots_form::display is not documented
(#160) Function organizer_print_slots_form::_create_preview_table is not documented
(#38) Variable organizer_print_slots_form::$_selcols is not documented
mod/organizer/view_action_form_printdetail.php
(#152) There is no description in phpdocs for function _create_preview_table
mod/organizer/view_action_form_remind_all.php
(#37) Class organizer_remind_all_form is not documented
(#40) Function organizer_remind_all_form::definition is not documented
mod/organizer/view_lib.php
(#52) Function organizer_display_form is not documented
(#69) Function organizer_add_calendar is not documented
(#94) Function organizer_generate_appointments_view is not documented
(#122) Function organizer_generate_student_view is not documented
(#157) Function organizer_generate_registration_status_view is not documented
(#192) Function organizer_generate_assignment_view is not documented
(#219) Function organizer_begin_form is not documented
(#229) Function organizer_end_form is not documented
(#233) Function organizer_generate_tab_row is not documented
(#267) Function organizer_generate_actionlink_bar is not documented
(#299) Function organizer_generate_table_header is not documented
(#341) Function organizer_generate_reg_table_header is not documented
(#424) Function organizer_generate_table_content is not documented
(#658) Function organizer_get_span_cell is not documented
(#667) Function organizer_organizer_organizer_get_status_table_entries_group is not documented
(#1088) Function organizer_generate_assignment_table_content is not documented
(#1155) Function organizer_app_details is not documented
(#1190) Function organizer_registration_allowed is not documented
(#1206) Function organizer_date_time is not documented
(#1221) Function organizer_trainer_data is not documented
(#1292) Function organizer_reg_organizer_app_details is not documented
(#1320) Function organizer_reg_waitinglist_status is not documented
(#1368) Function organizer_teacher_action_new is not documented
(#1478) Function organizer_teacher_action_new_noentries is not documented
(#1516) Function organizer_organizer_get_participant_list_infobox is not documented
(#1656) Function organizer_get_participant_list is not documented
(#1855) Function organizer_get_attended_icon is not documented
(#1891) Function organizer_location_link is not documented
(#1911) Function organizer_get_img is not documented
(#1915) Function organizer_get_icon is not documented
(#1941) Function organizer_slot_status is not documented
(#1985) Function organizer_slot_commands is not documented
(#2039) Function organizer_slot_reg_status is not documented
(#2113) Function organizer_student_action is not documented
(#2170) Function organizer_is_my_slot is not documented
(#2180) Function organizer_get_reg_button is not documented
(#2193) Function organizer_get_assign_button is not documented
(#2204) Function organizer_get_status_icon_new is not documented
(#2241) Function organizer_figure_out_unit is not documented
(#2257) Function organizer_get_countdown is not documented
(#2266) Function organizer_get_user_idnumber is not documented
(#2271) Function organizer_popup_icon is not documented
(#2282) Function organizer_slot_is_free is not documented
(#2309) Function organizer_register_popup is not documented
(#2319) Function organizer_write_places_inqueue_position is not documented
(#2326) Function organizer_write_places_inqueue is not documented
(#2343) Function organizer_get_entries_queue is not documented
(#2368) Function organizer_get_entries_queue_group is not documented
(#2427) Function organizer_get_participants_tableheadercell is not documented
(#2466) Function organizer_get_studentrights is not documented
(#747) Phpdocs for function organizer_organizer_get_status_table_entries has incomplete parameters list
(#841) Phpdocs for function organizer_organizer_generate_registration_table_content 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

(1 errors, 1 warnings)

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

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

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

(2 errors, 0 warnings)

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

mod/organizer/tests/behat/organizer.feature
(#3) Trailing spaces are not allowed
(#17) Trailing spaces are not allowed