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

(5 errors, 47 warnings)

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

blocks/microsoft/block_microsoft.php
(#272) Short array syntax must be used to define arrays
(#293) Short array syntax must be used to define arrays
blocks/microsoft/db/access.php
(#32) There should be a comma after the last array item in a multi-line array.
(#34) There should be a comma after the last array item in a multi-line array.
(#42) There should be a comma after the last array item in a multi-line array.
(#44) There should be a comma after the last array item in a multi-line array.
blocks/microsoft/db/caches.php
(#28) There should be a comma after the last array item in a multi-line array.
blocks/microsoft/lang/en/block_microsoft.php
(#28) The string key "contactadmin" is not in the correct order, it should be before "pluginname"
(#33) The string key "linkmsstream" is not in the correct order, it should be before "linksways"
(#36) The string key "linkemail" is not in the correct order, it should be before "linkmsteams"
(#39) The string key "linkoutlook" is not in the correct order, it should be before "linksharepoint"
(#41) The string key "linkconnection" is not in the correct order, it should be before "linkprefs"
(#48) The string key "o365matched_title" is not in the correct order, it should be before "workonthis"
(#49) The string key "o365matched_desc" is not in the correct order, it should be before "o365matched_title"
(#50) The string key "o365matched_complete_userpass" is not in the correct order, it should be before "o365matched_desc"
(#51) The string key "o365matched_complete_authreq" is not in the correct order, it should be before "o365matched_complete_userpass"
(#52) The string key "o365connected" is not in the correct order, it should be before "o365matched_complete_authreq"
(#53) The string key "notconnected" is not in the correct order, it should be before "o365connected"
(#54) The string key "course_connected_to_team" is not in the correct order, it should be before "notconnected"
(#56) The string key "course_connected_to_group_pending" is not in the correct order, it should be before "course_connected_to_team_pending"
(#58) The string key "cachedef_onenotenotebook" is not in the correct order, it should be before "course_not_connected"
(#60) The string key "logintoo365" is not in the correct order, it should be before "msalogin"
(#61) The string key "connecttoo365" is not in the correct order, it should be before "logintoo365"
(#64) Unexpected comment found. Auto-fixing will not work after this comment
(#71) The string key "settings_showmyforms_default" is not in the correct order, it should be before "settings_showmyforms_desc"
(#74) The string key "settings_showdocsdotcom" is not in the correct order, it should be before "settings_showo365download_desc"
(#78) The string key "settings_showmsstream" is not in the correct order, it should be before "settings_showsways_desc"
(#92) The string key "settings_showo365connect" is not in the correct order, it should be before "settings_showpreferences_desc"
(#94) The string key "settings_showmanageo365conection" is not in the correct order, it should be before "settings_showo365connect_desc"
(#96) The string key "settings_showcoursespsite" is not in the correct order, it should be before "settings_showmanageo365conection_desc"
(#98) The string key "defaultprofile" is not in the correct order, it should be before "settings_showcoursespsite_desc"
(#101) The string key "settings_geto365link_default" is not in the correct order, it should be before "settings_geto365link_desc"
(#103) The string key "linkmydelve" is not in the correct order, it should be before "settings_geto365link_default"
(#107) Unexpected comment found. Auto-fixing will not work after this comment
(#108) The string key "course_feature_team" is not in the correct order, it should be before "privacy:metadata"
(#109) The string key "course_feature_conversations" is not in the correct order, it should be before "course_feature_team"
(#111) The string key "course_feature_calendar" is not in the correct order, it should be before "course_feature_onedrive"
(#114) Unexpected comment found. Auto-fixing will not work after this comment
(#115) The string key "configure_sync" is not in the correct order, it should be before "course_feature_notebook"
(#118) The string key "configure_course_sync" is not in the correct order, it should be before "sync_page_heading"
(#124) Unexpected comment found. Auto-fixing will not work after this comment
(#125) The string key "course_reset_disconnect_and_create_new" is not in the correct order, it should be before "sync_setting_saved"
(#127) The string key "course_reset_disconnect_only" is not in the correct order, it should be before "course_reset_do_nothing"
(#128) The string key "configure_reset" is not in the correct order, it should be before "course_reset_disconnect_only"
(#130) Unexpected comment found. Auto-fixing will not work after this comment
(#132) The string key "configure_course_reset" is not in the correct order, it should be before "reset_page_heading"
(#135) The string key "reset_option_disconnect_and_create_new" is not in the correct order, it should be before "reset_option_do_nothing"
(#138) The string key "error_site_course_sync_disabled" is not in the correct order, it should be before "reset_setting_saved"
(#139) The string key "error_reset_setting_not_managed_per_course" is not in the correct order, it should be before "error_site_course_sync_disabled"
(#140) The string key "error_connected_team_missing" is not in the correct order, it should be before "error_reset_setting_not_managed_per_course"
(#143) Unexpected comment found. Auto-fixing will not work after this comment
(#143) 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

(36 errors, 2 warnings)

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

blocks/microsoft/styles.css
(#83) Expected newline before "}" (block-closing-brace-newline-before)
(#20) Unexpected !important (declaration-no-important)
(#83) Unexpected !important (declaration-no-important)
(#11) Unexpected unit (length-zero-no-unit)
(#19) Expected newline after "," (selector-list-comma-newline-after)
(#19) Expected newline after "," (selector-list-comma-newline-after)
(#2) Expected indentation of 4 spaces (indentation)
(#3) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#7) Expected indentation of 4 spaces (indentation)
(#8) Expected indentation of 4 spaces (indentation)
(#20) Expected indentation of 4 spaces (indentation)
(#23) Expected indentation of 4 spaces (indentation)
(#26) Expected indentation of 4 spaces (indentation)
(#29) Expected indentation of 4 spaces (indentation)
(#32) Expected indentation of 4 spaces (indentation)
(#35) Expected indentation of 4 spaces (indentation)
(#38) Expected indentation of 4 spaces (indentation)
(#41) Expected indentation of 4 spaces (indentation)
(#44) Expected indentation of 4 spaces (indentation)
(#47) Expected indentation of 4 spaces (indentation)
(#50) Expected indentation of 4 spaces (indentation)
(#53) Expected indentation of 4 spaces (indentation)
(#56) Expected indentation of 4 spaces (indentation)
(#59) Expected indentation of 4 spaces (indentation)
(#62) Expected indentation of 4 spaces (indentation)
(#65) Expected indentation of 4 spaces (indentation)
(#68) Expected indentation of 4 spaces (indentation)
(#71) Expected indentation of 4 spaces (indentation)
(#74) Expected indentation of 4 spaces (indentation)
(#77) Expected indentation of 4 spaces (indentation)
(#80) Expected indentation of 4 spaces (indentation)
(#83) Expected indentation of 4 spaces (indentation)
blocks/microsoft/sass/styles.scss
(#19) Unexpected !important (declaration-no-important)
(#86) Unexpected !important (declaration-no-important)
(#11) Unexpected unit (length-zero-no-unit)
(#18) Expected newline after "," (selector-list-comma-newline-after)
(#18) Expected newline after "," (selector-list-comma-newline-after)

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

(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

(0 errors, 0 warnings)

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