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

(0 errors, 2 warnings)

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

mod/unilabel/type/carousel/classes/content_type.php
(#64) Line exceeds 132 characters; contains 133 characters
mod/unilabel/type/courseteaser/classes/content_type.php
(#42) Line exceeds 132 characters; contains 135 characters

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

(217 errors, 4 warnings)

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

mod/unilabel/backup/moodle2/backup_unilabel_activity_task.class.php
(#30) Class backup_unilabel_activity_task does not have @copyright tag
(#30) Class backup_unilabel_activity_task does not have @license tag
mod/unilabel/backup/moodle2/backup_unilabel_stepslib.php
(#37) Function backup_unilabel_activity_structure_step::define_structure is not documented
(#32) Class backup_unilabel_activity_structure_step does not have @copyright tag
(#32) Class backup_unilabel_activity_structure_step does not have @license tag
mod/unilabel/backup/moodle2/restore_unilabel_activity_task.class.php
(#105) Function restore_unilabel_activity_task::after_restore is not documented
(#30) No one-line description found in phpdocs for class restore_unilabel_activity_task
(#30) Class restore_unilabel_activity_task does not have @copyright tag
(#30) Class restore_unilabel_activity_task does not have @license tag
mod/unilabel/backup/moodle2/restore_unilabel_stepslib.php
(#37) Function restore_unilabel_activity_structure_step::define_structure is not documented
(#49) Function restore_unilabel_activity_structure_step::process_unilabel is not documented
(#65) Function restore_unilabel_activity_structure_step::after_execute is not documented
(#32) Class restore_unilabel_activity_structure_step does not have @copyright tag
(#32) Class restore_unilabel_activity_structure_step does not have @license tag
mod/unilabel/classes/admin_settingspage_tabs.php
(#29) Class admin_settingspage_tabs is not documented
(#48) Function admin_settingspage_tabs::add is not documented
(#52) Function admin_settingspage_tabs::set_description is not documented
(#33) Variable admin_settingspage_tabs::$description is not documented
mod/unilabel/classes/content_type.php
(#30) Class content_type is not documented
(#31) Function content_type::get_namespace is not documented
(#33) Function content_type::get_content is not documented
(#34) Function content_type::delete_content is not documented
(#35) Function content_type::add_form_fragment is not documented
(#36) Function content_type::get_form_default is not documented
(#37) Function content_type::save_content is not documented
(#39) Function content_type::format_intro is not documented
(#43) Function content_type::get_name is not documented
(#47) Function content_type::get_plugintype is not documented
(#51) Function content_type::form_validation is not documented
mod/unilabel/classes/edit_content_form.php
(#32) Class edit_content_form is not documented
(#35) Function edit_content_form::editor_options is not documented
(#43) Function edit_content_form::definition is not documented
(#67) Function edit_content_form::validation is not documented
(#73) Function edit_content_form::add_intro_editor is not documented
(#84) Function edit_content_form::set_data is not documented
(#108) Function edit_content_form::add_plugin_form_elements is not documented
(#112) Function edit_content_form::get_plugin_defaultvalues is not documented
(#119) Function edit_content_form::get_mform is not documented
(#123) Function edit_content_form::get_course is not documented
(#33) Variable edit_content_form::$_course is not documented
mod/unilabel/classes/factory.php
(#30) Class factory is not documented
(#32) Function factory::get_plugin_list is not documented
(#42) Function factory::get_plugins is not documented
(#52) Function factory::get_plugin is not documented
(#60) Function factory::delete_plugin_content is not documented
(#67) Function factory::save_plugin_content is not documented
mod/unilabel/classes/output/renderer.php
(#30) Class renderer is not documented
mod/unilabel/classes/plugininfo/unilabeltype.php
(#31) Class unilabeltype is not documented
(#32) Function unilabeltype::is_uninstall_allowed is not documented
mod/unilabel/classes/privacy/provider.php
(#30) Class provider is not documented
mod/unilabel/classes/search/activity.php
(#30) Class activity does not have @copyright tag
(#30) Class activity does not have @license tag
mod/unilabel/classes/unknown_type.php
(#30) Class unknown_type is not documented
(#31) Function unknown_type::add_form_fragment is not documented
(#35) Function unknown_type::get_form_default is not documented
(#39) Function unknown_type::get_namespace is not documented
(#43) Function unknown_type::get_name is not documented
(#47) Function unknown_type::get_plugintype is not documented
(#51) Function unknown_type::get_content is not documented
(#55) Function unknown_type::delete_content is not documented
(#59) Function unknown_type::save_content is not documented
mod/unilabel/db/upgrade.php
(#28) Function xmldb_unilabel_upgrade is not documented
mod/unilabel/lib.php
(#140) Function unilabel_cm_info_view is not documented
(#28) There is no description in phpdocs for function unilabel_get_name
(#184) There is no description in phpdocs for function unilabel_supports
(#29) Phpdocs for function unilabel_get_name has incomplete parameters list
(#41) Not recommended phpdocs tag @global used
(#66) Not recommended phpdocs tag @global used
(#88) Not recommended phpdocs tag @global used
(#120) Not recommended phpdocs tag @global used
mod/unilabel/mod_form.php
(#30) Class mod_unilabel_mod_form is not documented
(#32) Function mod_unilabel_mod_form::definition is not documented
mod/unilabel/type/carousel/backup/moodle2/backup_unilabeltype_carousel_subplugin.class.php
(#28) Class backup_unilabeltype_carousel_subplugin is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/carousel/backup/moodle2/restore_unilabeltype_carousel_subplugin.class.php
(#28) Class restore_unilabeltype_carousel_subplugin is not documented
(#48) Phpdocs for function restore_unilabeltype_carousel_subplugin::process_unilabeltype_carousel has incomplete parameters list
(#63) Phpdocs for function restore_unilabeltype_carousel_subplugin::process_unilabeltype_carousel_slide has incomplete parameters list
(#20) Package mod_unilabel is not valid
mod/unilabel/type/carousel/classes/content_type.php
(#30) Class content_type is not documented
(#139) Function content_type::get_form_default is not documented
(#200) Function content_type::get_namespace is not documented
(#204) Function content_type::get_content is not documented
(#231) Function content_type::delete_content is not documented
(#244) Function content_type::save_content is not documented
(#320) Function content_type::load_unilabeltype_record is not documented
(#344) Function content_type::get_image_for_slide is not documented
(#361) Function content_type::get_image_mobile_for_slide is not documented
(#383) Function content_type::add_colourpicker is not documented
(#399) Function content_type::html_has_content is not documented
(#31) Variable content_type::$unilabeltyperecord is not documented
(#32) Variable content_type::$slides is not documented
(#33) Variable content_type::$cm is not documented
(#34) Variable content_type::$context is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/carousel/classes/privacy/provider.php
(#30) Class provider is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/carousel/lang/en/unilabeltype_carousel.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/carousel/lib.php
(#28) Function unilabeltype_carousel_pluginfile is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/carousel/settings.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/carousel/version.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/collapsedtext/backup/moodle2/backup_unilabeltype_collapsedtext_subplugin.class.php
(#28) Class backup_unilabeltype_collapsedtext_subplugin is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/collapsedtext/backup/moodle2/restore_unilabeltype_collapsedtext_subplugin.class.php
(#28) Class restore_unilabeltype_collapsedtext_subplugin is not documented
(#44) Phpdocs for function restore_unilabeltype_collapsedtext_subplugin::process_unilabeltype_collapsedtext has incomplete parameters list
(#20) Package mod_unilabel is not valid
mod/unilabel/type/collapsedtext/classes/content_type.php
(#30) Class content_type is not documented
(#33) Function content_type::add_form_fragment is not documented
(#54) Function content_type::get_form_default is not documented
(#71) Function content_type::get_namespace is not documented
(#75) Function content_type::get_content is not documented
(#112) Function content_type::delete_content is not documented
(#118) Function content_type::save_content is not documented
(#140) Function content_type::get_title is not documented
(#149) Function content_type::get_useanimation is not documented
(#159) Function content_type::load_unilabeltype_record is not documented
(#31) Variable content_type::$unilabeltyperecord is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/collapsedtext/classes/privacy/provider.php
(#30) Class provider is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/collapsedtext/lang/en/unilabeltype_collapsedtext.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/collapsedtext/lib.php
(#28) Function unilabeltype_collapsedtext_pluginfile is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/collapsedtext/settings.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/collapsedtext/version.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/courseteaser/backup/moodle2/backup_unilabeltype_courseteaser_subplugin.class.php
(#28) Class backup_unilabeltype_courseteaser_subplugin is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/courseteaser/backup/moodle2/restore_unilabeltype_courseteaser_subplugin.class.php
(#28) Class restore_unilabeltype_courseteaser_subplugin is not documented
(#44) Phpdocs for function restore_unilabeltype_courseteaser_subplugin::process_unilabeltype_courseteaser has incomplete parameters list
(#20) Package mod_unilabel is not valid
mod/unilabel/type/courseteaser/classes/content_type.php
(#30) Class content_type is not documented
(#33) Function content_type::add_form_fragment is not documented
(#53) Function content_type::get_form_default is not documented
(#70) Function content_type::get_namespace is not documented
(#74) Function content_type::get_content is not documented
(#111) Function content_type::delete_content is not documented
(#117) Function content_type::save_content is not documented
(#139) Function content_type::load_unilabeltype_record is not documented
(#148) Function content_type::get_course_infos is not documented
(#31) Variable content_type::$unilabeltyperecord is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/courseteaser/classes/privacy/provider.php
(#30) Class provider is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/courseteaser/lang/en/unilabeltype_courseteaser.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/courseteaser/lib.php
(#28) Function unilabeltype_courseteaser_pluginfile is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/courseteaser/settings.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/courseteaser/version.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/grid/backup/moodle2/backup_unilabeltype_grid_subplugin.class.php
(#28) Class backup_unilabeltype_grid_subplugin is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/grid/backup/moodle2/restore_unilabeltype_grid_subplugin.class.php
(#28) Class restore_unilabeltype_grid_subplugin is not documented
(#48) Phpdocs for function restore_unilabeltype_grid_subplugin::process_unilabeltype_grid has incomplete parameters list
(#63) Phpdocs for function restore_unilabeltype_grid_subplugin::process_unilabeltype_grid_tile has incomplete parameters list
(#20) Package mod_unilabel is not valid
mod/unilabel/type/grid/classes/content_type.php
(#30) Class content_type is not documented
(#145) Function content_type::get_form_default is not documented
(#221) Function content_type::get_namespace is not documented
(#225) Function content_type::get_content is not documented
(#254) Function content_type::delete_content is not documented
(#267) Function content_type::save_content is not documented
(#358) Function content_type::load_unilabeltype_record is not documented
(#385) Function content_type::get_image_for_tile is not documented
(#403) Function content_type::get_image_mobile_for_tile is not documented
(#428) Function content_type::html_has_content is not documented
(#441) Function content_type::get_bootstrap_cols is not documented
(#470) Function content_type::editor_options is not documented
(#479) Function content_type::format_options is not documented
(#486) Function content_type::format_content is not documented
(#31) Variable content_type::$unilabeltyperecord is not documented
(#32) Variable content_type::$tiles is not documented
(#33) Variable content_type::$cm is not documented
(#34) Variable content_type::$context is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/grid/classes/privacy/provider.php
(#30) Class provider is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/grid/lang/en/unilabeltype_grid.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/grid/lib.php
(#28) Function unilabeltype_grid_pluginfile is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/grid/settings.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/grid/version.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/simpletext/bak-settings.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/simpletext/classes/content_type.php
(#30) Class content_type is not documented
(#31) Function content_type::add_form_fragment is not documented
(#35) Function content_type::get_form_default is not documented
(#39) Function content_type::get_namespace is not documented
(#43) Function content_type::get_content is not documented
(#47) Function content_type::delete_content is not documented
(#51) Function content_type::save_content is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/simpletext/classes/privacy/provider.php
(#30) Class provider is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/simpletext/lang/en/unilabeltype_simpletext.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/simpletext/lib.php
(#28) Function unilabeltype_simpletext_pluginfile is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/simpletext/version.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/topicteaser/backup/moodle2/backup_unilabeltype_topicteaser_subplugin.class.php
(#28) Class backup_unilabeltype_topicteaser_subplugin is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/topicteaser/backup/moodle2/restore_unilabeltype_topicteaser_subplugin.class.php
(#28) Class restore_unilabeltype_topicteaser_subplugin is not documented
(#44) Phpdocs for function restore_unilabeltype_topicteaser_subplugin::process_unilabeltype_topicteaser has incomplete parameters list
(#20) Package mod_unilabel is not valid
mod/unilabel/type/topicteaser/classes/content_type.php
(#30) Class content_type is not documented
(#33) Function content_type::add_form_fragment is not documented
(#59) Function content_type::get_form_default is not documented
(#80) Function content_type::get_namespace is not documented
(#84) Function content_type::get_content is not documented
(#135) Function content_type::delete_content is not documented
(#141) Function content_type::save_content is not documented
(#169) Function content_type::load_unilabeltype_record is not documented
(#181) Function content_type::get_sections_from_course is not documented
(#201) Function content_type::get_sections_html is not documented
(#31) Variable content_type::$unilabeltyperecord is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/topicteaser/classes/privacy/provider.php
(#30) Class provider is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/topicteaser/db/upgrade.php
(#28) Function xmldb_unilabeltype_topicteaser_upgrade is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/topicteaser/lang/en/unilabeltype_topicteaser.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/topicteaser/lib.php
(#28) Function unilabeltype_topicteaser_pluginfile is not documented
(#20) Package mod_unilabel is not valid
mod/unilabel/type/topicteaser/settings.php
(#20) Package mod_unilabel is not valid
mod/unilabel/type/topicteaser/version.php
(#20) Package mod_unilabel is not valid

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, 13 warnings)

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

mod/unilabel/type/carousel/templates/carousel.mustache
(#1) HTML Validation error, line 17: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img class="img-fluid" src="" style="height:100%;object-fit:contain;"/> )
(#1) HTML Validation error, line 17: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img class="img-fluid" src="" style="height:100%;object-fit:contain;"/> )
(#1) HTML Validation error, line 29: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img class="img-fluid" src="" style="height:100%;object-fit:contain;"/> )
(#1) HTML Validation error, line 29: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img class="img-fluid" src="" style="height:100%;object-fit:contain;"/> )
(#1) HTML Validation error, line 41: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img class="img-fluid" src="" style="height:100%;object-fit:contain;"/> )
(#1) HTML Validation error, line 41: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img class="img-fluid" src="" style="height:100%;object-fit:contain;"/> )
mod/unilabel/type/carousel/templates/colourpicker.mustache
(#1) HTML Validation error, line 6: The “for” attribute of the “label” element must refer to a non-hidden form control. (> <label class="col-form-label d-inline " for="id_unilabeltype_carousel_background"> )
mod/unilabel/type/grid/templates/colourpicker.mustache
(#1) HTML Validation error, line 6: The “for” attribute of the “label” element must refer to a non-hidden form control. (> <label class="col-form-label d-inline " for="id_unilabeltype_carousel_background"> )
mod/unilabel/type/grid/templates/dialog.mustache
(#1) HTML Validation info, line 10: Empty heading. ( <h4 class="modal-title"></h4>)
mod/unilabel/type/grid/templates/grid.mustache
(#1) HTML Validation error, line 11: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img class="img-fluid" src="" style="height:100%;object-fit:contain;"/> )
(#1) HTML Validation error, line 11: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img class="img-fluid" src="" style="height:100%;object-fit:contain;"/> )
(#1) HTML Validation error, line 23: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img class="img-fluid" src="" style="height:100%;object-fit:contain;"/> )
(#1) HTML Validation error, line 23: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img class="img-fluid" src="" style="height:100%;object-fit:contain;"/> )