Prechecker results: error


Overview

(0 errors, 0 warnings)

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


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(2 errors, 41 warnings)

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

mod/labnbook/classes/privacy/provider.php
(#41) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider, \core_privacy\local\request\core_userlist_provider; Found: \core_privacy\local\request\core_userlist_provider, \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider
(#123) Long list syntax is not allowed
mod/labnbook/lang/en/labnbook.php
(#44) The string key "labnbookSettings" is not in the correct order, it should be before "view"
(#46) Unexpected comment found. Auto-fixing will not work after this comment
(#49) The string key "labnbook_api_key" is not in the correct order, it should be before "labnbook_api_url_descr"
(#58) Unexpected comment found. Auto-fixing will not work after this comment
(#59) The string key "instancename" is not in the correct order, it should be before "labnbook_send_user_student_num_descr"
(#62) The string key "addMission" is not in the correct order, it should be before "mission"
(#68) The string key "method" is not in the correct order, it should be before "teaming"
(#71) The string key "teamconfigmethod_random" is not in the correct order, it should be before "teamconfigmethod_students"
(#75) The string key "size_opt" is not in the correct order, it should be before "teams_max_help"
(#77) The string key "size_max" is not in the correct order, it should be before "size_opt_help"
(#79) The string key "group_for_activity" is not in the correct order, it should be before "size_min"
(#82) The string key "field_required_for_method" is not in the correct order, it should be before "group_is_required"
(#84) Unexpected comment found. Auto-fixing will not work after this comment
(#85) The string key "external_mission" is not in the correct order, it should be before "field_required_for_method"
(#87) The string key "external_reports" is not in the correct order, it should be before "external_teaming"
(#91) The string key "reports_started" is not in the correct order, it should be before "team_config_init"
(#95) The string key "lnb_management_links" is not in the correct order, it should be before "reports_submitted_plural"
(#97) The string key "external_classe" is not in the correct order, it should be before "lnb_management_main_links"
(#98) Unexpected comment found. Auto-fixing will not work after this comment
(#99) The string key "enrolled_users_lnb" is not in the correct order, it should be before "external_classe"
(#102) The string key "enrolled_users_moodle" is not in the correct order, it should be before "enrolled_users_on"
(#105) Unexpected comment found. Auto-fixing will not work after this comment
(#107) The string key "error_duplicate_teaming" is not in the correct order, it should be before "gotoreport"
(#111) Unexpected comment found. Auto-fixing will not work after this comment
(#112) The string key "connectaccount" is not in the correct order, it should be before "not_part_of_group"
(#115) The string key "bindaccount" is not in the correct order, it should be before "informationtransmitted"
(#117) The string key "login" is not in the correct order, it should be before "studentnumber"
(#118) The string key "firstnameandlastname" is not in the correct order, it should be before "login"
(#120) The string key "emailifdefined" is not in the correct order, it should be before "onclickbind"
(#122) Unexpected comment found. Auto-fixing will not work after this comment
(#123) The string key "deleteActivityTitle" is not in the correct order, it should be before "emailifdefined"
(#125) The string key "cannotDeleteActivityTitle" is not in the correct order, it should be before "deleteActivityWithReport"
(#128) Unexpected comment found. Auto-fixing will not work after this comment
(#131) The string key "privacy:metadata:labnbook:firstname" is not in the correct order, it should be before "privacy:metadata:labnbook:username"
(#133) The string key "privacy:metadata:labnbook:idnumber" is not in the correct order, it should be before "privacy:metadata:labnbook:lastname"
(#134) The string key "privacy:metadata:labnbook:email" is not in the correct order, it should be before "privacy:metadata:labnbook:idnumber"
(#136) The string key "privacy:labdocs" is not in the correct order, it should be before "privacy:reports"
(#137) The string key "privacy:comments" is not in the correct order, it should be before "privacy:labdocs"
(#141) Unexpected comment found. Auto-fixing will not work after this comment
(#142) The string key "error_invalid_response" is not in the correct order, it should be before "privacy:messages"
(#144) The string key "error_connection_to_labnbook" is not in the correct order, it should be before "error_invalid_token"

Javascript coding style problems

(0 errors, 1 warnings)

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

mod/labnbook/amd/src/form.js
(#74) Unexpected alert. (no-alert)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 0 warnings)

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


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]

mod/labnbook/templates/view_error.mustache
(#1) HTML Validation info, line 3: Empty heading. (ron"> <h2></h2>)
(#1) HTML Validation info, line 5: Empty heading. (/h2> <h3 class="alert alert-danger"> )
mod/labnbook/templates/view_student.mustache
(#1) HTML Validation info, line 2: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections, or else use a “div” element instead for any cases where no heading is needed. (ad><body><section class="jumbotron"> <)
mod/labnbook/templates/view_teacher.mustache
(#1) HTML Validation info, line 3: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (tion> <br/><p><st)
(#1) HTML Validation info, line 10: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (</ul> <br/><p><st)
(#1) HTML Validation info, line 2: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections, or else use a “div” element instead for any cases where no heading is needed. (ad><body><section> <)

Gherkin .feature problems

(0 errors, 0 warnings)

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