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

(24 errors, 101 warnings)

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

mod/journal/backup/moodle1/lib.php
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
mod/journal/backup/moodle2/backup_journal_activity_task.class.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/journal/backup/moodle2/backup_journal_stepslib.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
mod/journal/backup/moodle2/restore_journal_stepslib.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion
mod/journal/db/access.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/journal/db/upgrade.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
mod/journal/edit.php
(#20) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
mod/journal/edit_form.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#22) Line exceeds 132 characters; contains 137 characters
mod/journal/index.php
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) Inline comments must start with a capital letter, digit or 3-dots sequence
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) This comment is 56% valid code; is this commented out code?
mod/journal/lang/de/journal.php
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
mod/journal/lang/pt_br/journal.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
mod/journal/lib.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#19) Expected MOODLE_INTERNAL check or config.php inclusion
(#20) Line indented incorrectly; expected at least 4 spaces, found 0
(#21) Line indented incorrectly; expected at least 4 spaces, found 0
(#22) Line indented incorrectly; expected at least 4 spaces, found 0
(#23) Line indented incorrectly; expected at least 4 spaces, found 0
(#37) Line indented incorrectly; expected at least 4 spaces, found 0
(#38) Line indented incorrectly; expected at least 4 spaces, found 0
(#39) Line indented incorrectly; expected at least 4 spaces, found 0
(#57) Line indented incorrectly; expected at least 4 spaces, found 0
(#58) Line indented incorrectly; expected at least 4 spaces, found 0
(#59) Line indented incorrectly; expected at least 4 spaces, found 0
(#162) Line indented incorrectly; expected at least 4 spaces, found 0
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) Line indented incorrectly; expected at least 4 spaces, found 0
(#173) Line exceeds 132 characters; contains 146 characters
(#229) Inline comments must end in full-stops, exclamation marks, or question marks
(#244) Inline comments must end in full-stops, exclamation marks, or question marks
(#253) Line indented incorrectly; expected at least 16 spaces, found 14
(#278) Inline comments must start with a capital letter, digit or 3-dots sequence
(#278) Inline comments must end in full-stops, exclamation marks, or question marks
(#290) Inline comments must end in full-stops, exclamation marks, or question marks
(#318) Line indented incorrectly; expected at least 4 spaces, found 0
(#319) Inline comments must end in full-stops, exclamation marks, or question marks
(#319) Line indented incorrectly; expected at least 4 spaces, found 0
(#323) Inline comments must end in full-stops, exclamation marks, or question marks
(#329) Inline comments must end in full-stops, exclamation marks, or question marks
(#336) Inline comments must end in full-stops, exclamation marks, or question marks
(#342) Inline comments must end in full-stops, exclamation marks, or question marks
(#347) Inline comments must end in full-stops, exclamation marks, or question marks
(#347) Line indented incorrectly; expected at least 4 spaces, found 0
(#528) Inline comments must start with a capital letter, digit or 3-dots sequence
(#528) Inline comments must end in full-stops, exclamation marks, or question marks
(#571) Inline comments must start with a capital letter, digit or 3-dots sequence
(#571) Inline comments must end in full-stops, exclamation marks, or question marks
(#620) Inline comments must end in full-stops, exclamation marks, or question marks
(#628) Inline comments must end in full-stops, exclamation marks, or question marks
(#641) Inline comments must start with a capital letter, digit or 3-dots sequence
(#641) Inline comments must end in full-stops, exclamation marks, or question marks
(#658) Inline comments must end in full-stops, exclamation marks, or question marks
(#658) Line indented incorrectly; expected at least 4 spaces, found 0
(#673) Inline comments must end in full-stops, exclamation marks, or question marks
(#688) Inline comments must start with a capital letter, digit or 3-dots sequence
(#688) Inline comments must end in full-stops, exclamation marks, or question marks
(#735) Inline comments must end in full-stops, exclamation marks, or question marks
(#786) Line exceeds 132 characters; contains 144 characters
(#798) Inline comments must end in full-stops, exclamation marks, or question marks
(#800) Line exceeds 132 characters; contains 133 characters
(#811) Inline comments must end in full-stops, exclamation marks, or question marks
(#812) Line exceeds 132 characters; contains 136 characters
(#854) Inline comments must end in full-stops, exclamation marks, or question marks
(#864) Inline comments must end in full-stops, exclamation marks, or question marks
(#896) Inline comments must start with a capital letter, digit or 3-dots sequence
mod/journal/mod_form.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/journal/report.php
(#21) Inline comments must start with a capital letter, digit or 3-dots sequence
(#21) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
mod/journal/settings.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/journal/version.php
(#20) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#22) Inline comments must end in full-stops, exclamation marks, or question marks
mod/journal/view.php
(#21) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) Inline comments must end in full-stops, exclamation marks, or question marks

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 csslint [More info]


PHPDocs style problems

(111 errors, 0 warnings)

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

mod/journal/backup/moodle1/lib.php
(#17) File-level phpdocs block is not found
(#48) Function moodle1_mod_journal_handler::process_journal is not documented
(#77) Phpdocs for function moodle1_mod_journal_handler::process_entry has incomplete parameters list
(#19) Class moodle1_mod_journal_handler does not have @copyright tag
(#19) Class moodle1_mod_journal_handler does not have @license tag
(#19) Package is not specified for class moodle1_mod_journal_handler. It is also not specified in file-level phpdocs
mod/journal/backup/moodle2/backup_journal_activity_task.class.php
(#17) File-level phpdocs block is not found
(#19) Class backup_journal_activity_task is not documented
(#21) Function backup_journal_activity_task::define_my_settings is not documented
(#24) Function backup_journal_activity_task::define_my_steps is not documented
(#28) Function backup_journal_activity_task::encode_content_links is not documented
(#19) Package is not specified for class backup_journal_activity_task. It is also not specified in file-level phpdocs
mod/journal/backup/moodle2/backup_journal_stepslib.php
(#17) File-level phpdocs block is not found
(#17) Class backup_journal_activity_structure_step is not documented
(#19) Function backup_journal_activity_structure_step::define_structure is not documented
(#17) Package is not specified for class backup_journal_activity_structure_step. It is also not specified in file-level phpdocs
mod/journal/backup/moodle2/restore_journal_activity_task.class.php
(#17) File-level phpdocs block is not found
(#21) Class restore_journal_activity_task is not documented
(#23) Function restore_journal_activity_task::define_my_settings is not documented
(#26) Function restore_journal_activity_task::define_my_steps is not documented
(#30) Function restore_journal_activity_task::define_decode_contents is not documented
(#39) Function restore_journal_activity_task::define_decode_rules is not documented
(#51) Function restore_journal_activity_task::define_restore_log_rules is not documented
(#63) Function restore_journal_activity_task::define_restore_log_rules_for_course is not documented
(#21) Package is not specified for class restore_journal_activity_task. It is also not specified in file-level phpdocs
mod/journal/backup/moodle2/restore_journal_stepslib.php
(#17) File-level phpdocs block is not found
(#17) Class restore_journal_activity_structure_step is not documented
(#19) Function restore_journal_activity_structure_step::define_structure is not documented
(#31) Function restore_journal_activity_structure_step::process_journal is not documented
(#47) Function restore_journal_activity_structure_step::process_journal_entry is not documented
(#66) Function restore_journal_activity_structure_step::after_execute is not documented
(#17) Package is not specified for class restore_journal_activity_structure_step. It is also not specified in file-level phpdocs
mod/journal/db/access.php
(#17) File-level phpdocs block is not found
mod/journal/db/log.php
(#17) File-level phpdocs block is not found
mod/journal/db/upgrade.php
(#17) File-level phpdocs block is not found
(#19) Function xmldb_journal_upgrade is not documented
(#19) Package is not specified for function xmldb_journal_upgrade. It is also not specified in file-level phpdocs
mod/journal/edit.php
(#17) File-level phpdocs block is not found
mod/journal/edit_form.php
(#17) File-level phpdocs block is not found
(#19) Class mod_journal_entry_form is not documented
(#21) Function mod_journal_entry_form::definition is not documented
(#19) Package is not specified for class mod_journal_entry_form. It is also not specified in file-level phpdocs
mod/journal/lang/ca/journal.php
(#17) File-level phpdocs block is not found
mod/journal/lang/de/journal.php
(#17) File-level phpdocs block is not found
mod/journal/lang/en/journal.php
(#17) File-level phpdocs block is not found
mod/journal/lang/pt_br/journal.php
(#20) File-level phpdocs block is not found
mod/journal/lang/sv/journal.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package mod is not valid
mod/journal/lib.php
(#19) File-level phpdocs block is not found
(#19) Function journal_add_instance is not documented
(#36) Function journal_update_instance is not documented
(#56) Function journal_delete_instance is not documented
(#81) Function journal_supports is not documented
(#107) Function journal_get_view_actions is not documented
(#112) Function journal_get_post_actions is not documented
(#117) Function journal_user_outline is not documented
(#134) Function journal_user_complete is not documented
(#161) Function journal_cron is not documented
(#268) Function journal_print_recent_activity is not documented
(#317) Function journal_get_participants is not documented
(#346) Function journal_scale_used is not documented
(#425) Function journal_print_overview is not documented
(#481) Function journal_get_user_grades is not documented
(#622) Function journal_get_users_done is not documented
(#657) Function journal_count_entries is not documented
(#699) Function journal_get_unmailed_graded is not documented
(#708) Function journal_log_info is not documented
(#737) Function journal_print_user_entry is not documented
(#826) Function journal_print_feedback is not documented
(#924) Function journal_format_entry_text is not documented
(#364) Phpdocs for function journal_scale_used_anywhere has incomplete parameters list
(#565) Phpdocs for function journal_grade_item_update has incomplete parameters list
(#722) Phpdocs for function journal_get_coursemodule has incomplete parameters list
(#19) Package is not specified for function journal_add_instance. It is also not specified in file-level phpdocs
(#36) Package is not specified for function journal_update_instance. It is also not specified in file-level phpdocs
(#56) Package is not specified for function journal_delete_instance. It is also not specified in file-level phpdocs
(#81) Package is not specified for function journal_supports. It is also not specified in file-level phpdocs
(#107) Package is not specified for function journal_get_view_actions. It is also not specified in file-level phpdocs
(#112) Package is not specified for function journal_get_post_actions. It is also not specified in file-level phpdocs
(#117) Package is not specified for function journal_user_outline. It is also not specified in file-level phpdocs
(#134) Package is not specified for function journal_user_complete. It is also not specified in file-level phpdocs
(#161) Package is not specified for function journal_cron. It is also not specified in file-level phpdocs
(#268) Package is not specified for function journal_print_recent_activity. It is also not specified in file-level phpdocs
(#317) Package is not specified for function journal_get_participants. It is also not specified in file-level phpdocs
(#346) Package is not specified for function journal_scale_used. It is also not specified in file-level phpdocs
(#360) Package is not specified for function journal_scale_used_anywhere. It is also not specified in file-level phpdocs
(#377) Package is not specified for function journal_reset_course_form_definition. It is also not specified in file-level phpdocs
(#388) Package is not specified for function journal_reset_course_form_defaults. It is also not specified in file-level phpdocs
(#398) Package is not specified for function journal_reset_userdata. It is also not specified in file-level phpdocs
(#425) Package is not specified for function journal_print_overview. It is also not specified in file-level phpdocs
(#481) Package is not specified for function journal_get_user_grades. It is also not specified in file-level phpdocs
(#517) Package is not specified for function journal_update_grades. It is also not specified in file-level phpdocs
(#562) Package is not specified for function journal_grade_item_update. It is also not specified in file-level phpdocs
(#605) Package is not specified for function journal_grade_item_delete. It is also not specified in file-level phpdocs
(#622) Package is not specified for function journal_get_users_done. It is also not specified in file-level phpdocs
(#657) Package is not specified for function journal_count_entries. It is also not specified in file-level phpdocs
(#699) Package is not specified for function journal_get_unmailed_graded. It is also not specified in file-level phpdocs
(#708) Package is not specified for function journal_log_info. It is also not specified in file-level phpdocs
(#719) Package is not specified for function journal_get_coursemodule. It is also not specified in file-level phpdocs
(#737) Package is not specified for function journal_print_user_entry. It is also not specified in file-level phpdocs
(#826) Package is not specified for function journal_print_feedback. It is also not specified in file-level phpdocs
(#924) Package is not specified for function journal_format_entry_text. It is also not specified in file-level phpdocs
mod/journal/mod_form.php
(#17) File-level phpdocs block is not found
(#19) Class mod_journal_mod_form is not documented
(#21) Function mod_journal_mod_form::definition is not documented
(#19) Package is not specified for class mod_journal_mod_form. It is also not specified in file-level phpdocs
mod/journal/report.php
(#17) File-level phpdocs block is not found
mod/journal/settings.php
(#17) File-level phpdocs block is not found
mod/journal/tests/generator/lib.php
(#54) Function mod_journal_generator::create_instance is not documented
mod/journal/version.php
(#20) File-level phpdocs block is not found
mod/journal/view.php
(#17) File-level phpdocs block is not found

Update savepoints problems

(0 errors, 1 warnings)

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

mod/journal/db/upgrade.php
Detected less 'if' blocks (1) than 'savepoint' calls (3). Repeated savepoints?

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]