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

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

blocks/admin_presets/forms/admin_presets_import_form.php
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/admin_presets/index.php
(#35) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#50) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#63) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
blocks/admin_presets/lib/admin_presets_base.class.php
(#165) Method name "_create_preset_data_table" should not be prefixed with an underscore to indicate visibility
(#218) Method name "_display_header" should not be prefixed with an underscore to indicate visibility
(#275) Method name "_get_site_settings" should not be prefixed with an underscore to indicate visibility
(#322) Method name "_get_settings" should not be prefixed with an underscore to indicate visibility
(#444) Method name "_get_setting" should not be prefixed with an underscore to indicate visibility
(#467) Method name "_get_settings_branches" should not be prefixed with an underscore to indicate visibility
(#501) Method name "_get_settings_elements" should not be prefixed with an underscore to indicate visibility
(#583) Method name "_get_settings_from_db" should not be prefixed with an underscore to indicate visibility
(#600) Method name "_output_applied_changes" should not be prefixed with an underscore to indicate visibility
(#628) Method name "_html_writer_preset_info_table" should not be prefixed with an underscore to indicate visibility
blocks/admin_presets/lib/admin_presets_delete.class.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
(#79) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#92) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#99) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#106) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
blocks/admin_presets/lib/admin_presets_export.class.php
(#71) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#111) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#163) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#224) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/admin_presets/lib/admin_presets_import.class.php
(#85) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#139) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
blocks/admin_presets/lib/admin_presets_load.class.php
(#47) This comment is 50% valid code; is this commented out code?
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#56) This comment is 50% valid code; is this commented out code?
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) This comment is 43% valid code; is this commented out code?
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#227) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#231) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#234) This comment is 54% valid code; is this commented out code?
(#257) This comment is 50% valid code; is this commented out code?
blocks/admin_presets/lib/admin_presets_rollback.class.php
(#52) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#97) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
blocks/admin_presets/lib/admin_presets_settings_types.php
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#312) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#368) This comment is 43% valid code; is this commented out code?
(#404) This comment is 43% valid code; is this commented out code?
(#667) Inline comments must start with a capital letter, digit or 3-dots sequence
blocks/admin_presets/version.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 13 warnings)

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

blocks/admin_presets/module.js
(#1) Identifier 'block_admin_presets' is not in camel case. (camelcase)
(#7) Missing JSDoc for parameter 'Y'. (valid-jsdoc)
(#10) Unexpected space before function parentheses. (space-before-function-paren)
(#12) Unexpected space before function parentheses. (space-before-function-paren)
(#23) Missing JSDoc for parameter 'Y'. (valid-jsdoc)
(#23) Missing JSDoc for parameter 'ids'. (valid-jsdoc)
(#23) Missing JSDoc for parameter 'nodeids'. (valid-jsdoc)
(#23) Missing JSDoc for parameter 'labels'. (valid-jsdoc)
(#23) Missing JSDoc for parameter 'descriptions'. (valid-jsdoc)
(#23) Missing JSDoc for parameter 'parents'. (valid-jsdoc)
(#26) Unexpected space before function parentheses. (space-before-function-paren)
(#49) Unexpected space before function parentheses. (space-before-function-paren)
(#77) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(221 errors, 3 warnings)

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

blocks/admin_presets/block_admin_presets.php
(#20) Package blocks/admin_presets is not valid
(#29) Class block_admin_presets is not documented
(#38) Function block_admin_presets::get_content is not documented
(#87) Function block_admin_presets::applicable_formats is not documented
(#91) Function block_admin_presets::has_config is not documented
(#31) There is no description in phpdocs for function init
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/classes/event/preset_deleted.php
(#20) Package blocks/admin_presets is not valid
(#31) Class preset_deleted is not documented
(#33) Function preset_deleted::get_name is not documented
(#37) Function preset_deleted::get_description is not documented
(#41) Function preset_deleted::get_legacy_logdata is not documented
(#46) Function preset_deleted::init is not documented
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/classes/event/preset_downloaded.php
(#21) Package is not specified for class preset_downloaded. It is also not specified in file-level phpdocs
(#21) Class preset_downloaded is not documented
(#23) Function preset_downloaded::get_name is not documented
(#27) Function preset_downloaded::get_description is not documented
(#31) Function preset_downloaded::get_url is not documented
(#36) Function preset_downloaded::init is not documented
blocks/admin_presets/classes/event/preset_exported.php
(#20) Package blocks/admin_presets is not valid
(#31) Class preset_exported is not documented
(#33) Function preset_exported::get_name is not documented
(#37) Function preset_exported::get_description is not documented
(#41) Function preset_exported::get_url is not documented
(#46) Function preset_exported::get_legacy_logdata is not documented
(#51) Function preset_exported::init is not documented
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/classes/event/preset_imported.php
(#20) Package blocks/admin_presets is not valid
(#31) Class preset_imported is not documented
(#33) Function preset_imported::get_name is not documented
(#37) Function preset_imported::get_description is not documented
(#41) Function preset_imported::get_url is not documented
(#46) Function preset_imported::get_legacy_logdata is not documented
(#51) Function preset_imported::init is not documented
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/classes/event/preset_loaded.php
(#20) Package blocks/admin_presets is not valid
(#31) Class preset_loaded is not documented
(#33) Function preset_loaded::get_name is not documented
(#37) Function preset_loaded::get_description is not documented
(#41) Function preset_loaded::get_url is not documented
(#46) Function preset_loaded::get_legacy_logdata is not documented
(#51) Function preset_loaded::init is not documented
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/classes/event/preset_previewed.php
(#20) Package blocks/admin_presets is not valid
(#31) Class preset_previewed is not documented
(#33) Function preset_previewed::get_name is not documented
(#37) Function preset_previewed::get_description is not documented
(#41) Function preset_previewed::get_url is not documented
(#46) Function preset_previewed::init is not documented
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/classes/event/preset_reverted.php
(#20) Package blocks/admin_presets is not valid
(#31) Class preset_reverted is not documented
(#33) Function preset_reverted::get_name is not documented
(#37) Function preset_reverted::get_description is not documented
(#41) Function preset_reverted::get_legacy_logdata is not documented
(#46) Function preset_reverted::init is not documented
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/classes/event/presets_listed.php
(#20) Package blocks/admin_presets is not valid
(#31) Class presets_listed is not documented
(#33) Function presets_listed::get_name is not documented
(#37) Function presets_listed::get_description is not documented
(#41) Function presets_listed::get_url is not documented
(#45) Function presets_listed::get_legacy_logdata is not documented
(#50) Function presets_listed::init is not documented
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/classes/privacy/provider.php
(#23) Package is not specified for class provider. It is also not specified in file-level phpdocs
(#23) Class provider is not documented
blocks/admin_presets/db/access.php
(#20) Package blocks/admin_presets is not valid
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/db/upgrade.php
(#20) Package blocks/admin_presets is not valid
(#29) There is no description in phpdocs for function xmldb_block_admin_presets_upgrade
(#23) Invalid phpdocs tag @orignalauthor used
(#40) Not recommended phpdocs tag @global used
blocks/admin_presets/forms/admin_presets_export_form.php
(#20) Package blocks/admin_presets is not valid
(#31) Class admin_presets_export_form is not documented
(#33) Function admin_presets_export_form::definition is not documented
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/forms/admin_presets_import_form.php
(#20) Package blocks/admin_presets is not valid
(#31) Class admin_presets_import_form is not documented
(#33) Function admin_presets_import_form::definition is not documented
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/forms/admin_presets_load_form.php
(#20) Package blocks/admin_presets is not valid
(#31) Class admin_presets_load_form is not documented
(#35) Function admin_presets_load_form::__construct is not documented
(#40) Function admin_presets_load_form::definition is not documented
(#33) Variable admin_presets_load_form::$preview is not documented
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/index.php
(#20) Package blocks/admin_presets is not valid
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/lang/en/block_admin_presets.php
(#20) Package blocks/admin_presets is not valid
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/lib/admin_presets_base.class.php
(#20) Package blocks/admin_presets is not valid
(#32) Class admin_presets_base is not documented
(#243) Function admin_presets_base::log is not documented
(#600) Function admin_presets_base::_output_applied_changes is not documented
(#34) Variable admin_presets_base::$eventsactionsmap is not documented
(#44) Variable admin_presets_base::$action is not documented
(#45) Variable admin_presets_base::$mode is not documented
(#46) Variable admin_presets_base::$adminroot is not documented
(#47) Variable admin_presets_base::$outputs is not documented
(#48) Variable admin_presets_base::$moodleform is not documented
(#49) Variable admin_presets_base::$rel is not documented
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/lib/admin_presets_delete.class.php
(#20) Package blocks/admin_presets is not valid
(#31) Class admin_presets_delete is not documented
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/lib/admin_presets_export.class.php
(#20) Package blocks/admin_presets is not valid
(#34) Class admin_presets_export is not documented
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/lib/admin_presets_import.class.php
(#20) Package blocks/admin_presets is not valid
(#31) Class admin_presets_import is not documented
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/lib/admin_presets_load.class.php
(#20) Package blocks/admin_presets is not valid
(#31) Class admin_presets_load is not documented
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/lib/admin_presets_rollback.class.php
(#20) Package blocks/admin_presets is not valid
(#31) Class admin_presets_rollback is not documented
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/lib/admin_presets_settings_types.php
(#20) Package blocks/admin_presets is not valid
(#29) Class admin_preset_setting is not documented
(#445) Class admin_preset_admin_setting_configiplist is not documented
(#531) Class admin_preset_admin_setting_configselect is not documented
(#569) Class admin_preset_admin_setting_bloglevel is not documented
(#626) Class admin_preset_mod_quiz_admin_setting_browsersecurity is not documented
(#633) Class admin_preset_mod_quiz_admin_setting_grademethod is not documented
(#640) Class admin_preset_mod_quiz_admin_setting_overduehandling is not documented
(#647) Class admin_preset_mod_quiz_admin_setting_user_image is not documented
(#780) Class admin_preset_admin_setting_configtime is not documented
(#841) Class admin_preset_admin_setting_configcheckbox_with_advanced is not documented
(#860) Class admin_preset_admin_setting_configcheckbox_with_lock is not documented
(#1051) Class admin_preset_admin_setting_configtextarea is not documented
(#1054) Class admin_preset_admin_setting_configfile is not documented
(#1057) Class admin_preset_admin_setting_configexecutable is not documented
(#1060) Class admin_preset_admin_setting_configdirectory is not documented
(#1063) Class admin_preset_admin_setting_special_backup_auto_destination is not documented
(#1066) Class admin_preset_admin_setting_configpasswordunmask is not documented
(#1069) Class admin_preset_admin_setting_langlist is not documented
(#1072) Class admin_preset_admin_setting_configcolourpicker is not documented
(#1075) Class admin_preset_admin_setting_emoticons is not documented
(#1078) Class admin_preset_admin_setting_confightmleditor is not documented
(#1081) Class admin_preset_admin_setting_configtext_trim_lower is not documented
(#1084) Class admin_preset_admin_setting_special_gradepointmax is not documented
(#1087) Class admin_preset_admin_setting_special_gradepointdefault is not documented
(#1090) Class admin_preset_admin_setting_configempty is not documented
(#1093) Class admin_preset_admin_setting_configtext_with_maxlength is not documented
(#1096) Class admin_preset_editor_tinymce_json_setting_textarea is not documented
(#1105) Class admin_preset_enrol_flatfile_role_setting is not documented
(#1116) Class admin_preset_admin_setting_special_frontpagedesc is not documented
(#1119) Class admin_preset_admin_setting_special_selectsetup is not documented
(#1122) Class admin_preset_admin_setting_sitesetselect is not documented
(#1125) Class admin_preset_admin_setting_special_grademinmaxtouse is not documented
(#1128) Class admin_preset_admin_setting_my_grades_report is not documented
(#1131) Class admin_preset_admin_setting_servertimezone is not documented
(#1134) Class admin_preset_admin_setting_forcetimezone is not documented
(#1137) Class admin_preset_enrol_database_admin_setting_category is not documented
(#1140) Class admin_preset_enrol_ldap_admin_setting_category is not documented
(#1143) Class admin_preset_format_singleactivity_admin_setting_activitytype is not documented
(#1146) Class admin_preset_admin_setting_courselist_frontpage is not documented
(#1149) Class admin_preset_admin_setting_configmultiselect_modules is not documented
(#1152) Class admin_preset_admin_settings_country_select is not documented
(#1155) Class admin_preset_admin_setting_special_registerauth is not documented
(#1158) Class admin_preset_admin_setting_special_debug is not documented
(#1161) Class admin_preset_admin_settings_coursecat_select is not documented
(#1164) Class admin_preset_admin_setting_grade_profilereport is not documented
(#1167) Class admin_preset_admin_settings_num_course_sections is not documented
(#1170) Class admin_preset_admin_setting_question_behaviour is not documented
(#1173) Class admin_preset_admin_setting_sitesetcheckbox is not documented
(#1176) Class admin_preset_admin_setting_special_adminseesall is not documented
(#1179) Class admin_preset_admin_setting_regradingcheckbox is not documented
(#1182) Class admin_preset_admin_setting_special_gradelimiting is not documented
(#1185) Class admin_preset_admin_setting_enablemobileservice is not documented
(#1188) Class admin_preset_admin_setting_pickroles is not documented
(#1191) Class admin_preset_admin_setting_special_coursemanager is not documented
(#1194) Class admin_preset_admin_setting_special_coursecontact is not documented
(#1197) Class admin_preset_admin_setting_special_gradebookroles is not documented
(#1200) Class admin_preset_admin_setting_special_gradeexport is not documented
(#130) Function admin_preset_setting::get_value is not documented
(#146) Function admin_preset_setting::get_visiblevalue is not documented
(#159) Function admin_preset_setting::get_description is not documented
(#178) Function admin_preset_setting::get_text is not documented
(#197) Function admin_preset_setting::get_attributes is not documented
(#201) Function admin_preset_setting::get_attributes_values is not documented
(#205) Function admin_preset_setting::get_settingdata is not documented
(#209) Function admin_preset_setting::set_attribute_value is not documented
(#344) Function admin_presets_delegation::extra_loadchoices is not documented
(#428) Function admin_preset_admin_setting_configtext_with_advanced::__construct is not documented
(#447) Function admin_preset_admin_setting_configiplist::set_value is not documented
(#468) Function admin_preset_admin_setting_devicedetectregex::set_visiblevalue is not documented
(#557) Function admin_preset_admin_setting_configselect::set_visiblevalue is not documented
(#600) Function admin_preset_admin_setting_configselect_with_advanced::__construct is not documented
(#628) Function admin_preset_mod_quiz_admin_setting_browsersecurity::set_behaviors is not documented
(#635) Function admin_preset_mod_quiz_admin_setting_grademethod::set_behaviors is not documented
(#642) Function admin_preset_mod_quiz_admin_setting_overduehandling::set_behaviors is not documented
(#649) Function admin_preset_mod_quiz_admin_setting_user_image::set_behaviors is not documented
(#729) Function admin_preset_admin_setting_configmultiselect::set_visiblevalue is not documented
(#755) Function admin_preset_admin_setting_users_with_capability::set_behaviors is not documented
(#759) Function admin_preset_admin_setting_users_with_capability::set_value is not documented
(#775) Function admin_preset_admin_setting_configmultiselect_with_loader::set_behaviors is not documented
(#801) Function admin_preset_admin_setting_configtime::set_value is not documented
(#816) Function admin_preset_admin_setting_configtime::set_visiblevalue is not documented
(#824) Function admin_preset_admin_setting_configcheckbox::set_value is not documented
(#829) Function admin_preset_admin_setting_configcheckbox::set_visiblevalue is not documented
(#843) Function admin_preset_admin_setting_configcheckbox_with_advanced::__construct is not documented
(#862) Function admin_preset_admin_setting_configcheckbox_with_lock::__construct is not documented
(#888) Function admin_preset_admin_setting_configmulticheckbox::set_behaviors is not documented
(#898) Function admin_preset_admin_setting_special_backupdays::set_value is not documented
(#902) Function admin_preset_admin_setting_special_backupdays::set_visiblevalue is not documented
(#926) Function admin_preset_admin_setting_special_calendar_weekend::set_visiblevalue is not documented
(#598) Variable admin_preset_admin_setting_configselect_with_advanced::$advancedkey is not documented
(#950) Variable admin_preset_admin_setting_quiz_reviewoptions::$times is not documented
(#955) Variable admin_preset_admin_setting_quiz_reviewoptions::$things is not documented
(#533) Phpdocs for function admin_preset_admin_setting_configselect::set_value has incomplete parameters list
(#571) Phpdocs for function admin_preset_admin_setting_bloglevel::save_value has incomplete parameters list
(#705) Phpdocs for function admin_preset_admin_setting_configmultiselect::set_value has incomplete parameters list
(#23) Invalid phpdocs tag @orignalauthor used
(#771) Not recommended phpdocs tag @abstract used
(#884) Not recommended phpdocs tag @abstract used
blocks/admin_presets/settings.php
(#20) Package blocks/admin_presets is not valid
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/tabs.php
(#20) Package blocks/admin_presets is not valid
(#23) Invalid phpdocs tag @orignalauthor used
blocks/admin_presets/version.php
(#20) Package blocks/admin_presets is not valid
(#23) Invalid phpdocs tag @orignalauthor used

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

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