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

(253 errors, 156 warnings)

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

auth/saml2sso/auth.php
(#1) No one-line description found in phpdocs for docblock of file auth.php
(#17) Missing @copyright tag
(#45) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#68) Missing member variable doc comment
(#75) Variable "componentName" must be all lower-case
(#76) Variable "componentName" must be all lower-case
(#90) Whitespace found at end of line
(#104) Variable "button_path" must not contain underscores.
(#106) Variable "button_path" must not contain underscores.
(#109) Variable "button_name" must not contain underscores.
(#111) Variable "button_name" must not contain underscores.
(#115) Variable "button_name" must not contain underscores.
(#120) Variable "button_name" must not contain underscores.
(#121) There should be a comma after the last array item in a multi-line array.
(#121) Variable "button_path" must not contain underscores.
(#125) Missing docblock for function get_attribute_mapping
(#125) Variable "username_attribute" must not contain underscores.
(#128) Short array syntax must be used to define arrays
(#136) Variable "username_attribute" must not contain underscores.
(#137) Variable "username_attribute" must not contain underscores.
(#147) Whitespace found at end of line
(#148) Docblock tag "@global" is not recommended.
(#187) Short array syntax must be used to define arrays
(#212) Docblock tag "@global" is not recommended.
(#215) No one-line description found in phpdocs for docblock of function loginpage_hook
(#218) Expected "if (...) {\n"; found "if(...) {\n"
(#273) Variable "returnTo" must be all lower-case
(#277) Variable "returnTo" must be all lower-case
(#279) Variable "returnTo" must be all lower-case
(#280) Variable "returnTo" must be all lower-case
(#283) Expected "} else {\n"; found "}\n else {\n"
(#284) Variable "returnTo" must be all lower-case
(#286) Whitespace found at end of line
(#287) Variable "returnTo" must be all lower-case
(#294) Docblock tag "@global" is not recommended.
(#295) Docblock tag "@global" is not recommended.
(#296) Docblock tag "@global" is not recommended.
(#308) Variable "apply_session_control" must not contain underscores.
(#311) Variable "apply_session_control" must not contain underscores.
(#318) Inline comments must end in full-stops, exclamation marks, or question marks
(#320) Whitespace found at end of line
(#326) Variable "apply_session_control" must not contain underscores.
(#330) Whitespace found at end of line
(#335) Expected "} else {\n"; found "}\n else {\n"
(#341) Whitespace found at end of line
(#346) Whitespace found at end of line
(#347) Variable "saml_attributes" must not contain underscores.
(#351) Variable "saml_attributes" must not contain underscores.
(#356) Variable "saml_attributes" must not contain underscores.
(#369) There should be a comma after the last array item in a multi-line array.
(#372) Whitespace found at end of line
(#376) Expected "} else {\n"; found "}\n else {\n"
(#381) There should be a comma after the last array item in a multi-line array.
(#410) Inline comments must start with a capital letter, digit or 3-dots sequence
(#413) Inline comments must start with a capital letter, digit or 3-dots sequence
(#413) Inline comments must end in full-stops, exclamation marks, or question marks
(#419) Docblock tag "@global" is not recommended.
(#420) Docblock tag "@global" is not recommended.
(#425) Whitespace found at end of line
(#431) Variable "apply_session_control" must not contain underscores.
(#434) Variable "apply_session_control" must not contain underscores.
(#435) Inline comments must start with a capital letter, digit or 3-dots sequence
(#436) Inline comments must end in full-stops, exclamation marks, or question marks
(#439) Inline comments must end in full-stops, exclamation marks, or question marks
(#534) No one-line description found in phpdocs for docblock of function can_edit_profile
(#544) Docblock tag "@global" is not recommended.
(#545) Docblock tag "@global" is not recommended.
(#546) Docblock tag "@global" is not recommended.
(#565) Short array syntax must be used to define arrays
(#594) Line exceeds 132 characters; contains 140 characters
(#598) Line exceeds 132 characters; contains 148 characters
(#606) Line exceeds 132 characters; contains 148 characters
(#609) Usage of ELSEIF not allowed; use ELSE IF instead
(#611) Line exceeds 132 characters; contains 133 characters
(#614) Expected "} else {\n"; found "}\n else {\n"
(#615) Line exceeds 132 characters; contains 135 characters
(#620) Line exceeds 132 characters; contains 166 characters
(#633) Expected "} else {\n"; found "}\n else {\n"
(#640) Whitespace found at end of line
(#642) Expected "try {\n...} catch (...) {\n"; found "try {\n...}\n catch (...) {\n"
(#646) Line exceeds 132 characters; contains 174 characters
(#656) Expected "} else {\n"; found "}\n else {\n"
(#675) Short array syntax must be used to define arrays
(#675) Expected 1 space before "=>"; 0 found
(#675) Expected 1 space after "=>"; 0 found
(#675) Line exceeds 132 characters; contains 135 characters
(#676) Line exceeds 132 characters; contains 133 characters
(#680) Expected "} else {\n"; found "}\n else {\n"
(#681) Line exceeds 132 characters; contains 133 characters
(#695) Line exceeds 132 characters; contains 143 characters
(#697) Expected "} else {\n"; found "}\n else {\n"
auth/saml2sso/classes/event/duplicate_user.php
(#1) Moodle boilerplate not found
(#12) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#32) There should be a comma after the last array item in a multi-line array.
(#38) Missing docblock for function init
(#44) Missing docblock for function get_name
(#48) Missing docblock for function get_description
(#52) File must end with a newline character
auth/saml2sso/classes/event/not_searchable.php
(#1) Moodle boilerplate not found
(#12) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#19) Missing docblock for function init
(#25) Missing docblock for function get_name
(#29) Missing docblock for function get_description
auth/saml2sso/classes/event/user_kicked_off.php
(#1) Moodle boilerplate not found
(#12) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#19) Missing docblock for function init
(#25) Missing docblock for function get_name
(#29) Missing docblock for function get_description
(#33) File must end with a newline character
auth/saml2sso/classes/event/user_migrated.php
(#1) Moodle boilerplate not found
(#12) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#19) Missing docblock for function init
(#25) Missing docblock for function get_name
(#29) Missing docblock for function get_description
(#33) File must end with a newline character
auth/saml2sso/classes/privacy/provider.php
(#1) Moodle boilerplate not found
(#11) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#26) There must not be a space before the colon in a return type declaration
(#30) File must end with a newline character
auth/saml2sso/classes/task/sync_users.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <https://www.gnu.org/licenses/>.".
(#30) Missing docblock for class sync_users
(#55) Expected "} else {\n"; found "}\n else {\n"
(#76) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#79) Expected "} else {\n"; found "}\n else {\n"
auth/saml2sso/db/install.php
(#25) Missing docblock for function xmldb_auth_saml2sso_install
(#27) Whitespace found at end of line
auth/saml2sso/db/tasks.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
(#37) There should be a comma after the last array item in a multi-line array.
auth/saml2sso/db/upgrade.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Variable "show_tackeover_page" must not contain underscores.
(#52) Variable "show_tackeover_page" must not contain underscores.
(#66) Whitespace found at end of line
auth/saml2sso/lang/en/auth_saml2sso.php
(#29) Unexpected comment found. Auto-fixing will not work after this comment
(#30) The string key "label_button_url" is not in the correct order, it should be before "settings_saml2sso"
(#31) The string key "label_button_name" is not in the correct order, it should be before "label_button_url"
(#34) The string key "label_dual_login" is not in the correct order, it should be before "label_sp_path"
(#36) The string key "label_idpattr" is not in the correct order, it should be before "label_single_signoff"
(#38) The string key "label_autocreate" is not in the correct order, it should be before "label_moodle_mapping"
(#39) The string key "label_authsource" is not in the correct order, it should be before "label_autocreate"
(#41) The string key "label_logout" is not in the correct order, it should be before "label_logout_url_redir"
(#42) The string key "label_edit_profile" is not in the correct order, it should be before "label_logout"
(#45) Unexpected comment found. Auto-fixing will not work after this comment
(#46) The string key "help_button_url" is not in the correct order, it should be before "label_instructions_title"
(#48) The string key "help_button_name" is not in the correct order, it should be before "help_show_button_name"
(#50) The string key "help_dual_login" is not in the correct order, it should be before "help_sp_path"
(#52) The string key "help_idpattr" is not in the correct order, it should be before "help_single_signoff"
(#55) The string key "help_autocreate" is not in the correct order, it should be before "help_moodle_mapping"
(#56) The string key "help_authsource" is not in the correct order, it should be before "help_autocreate"
(#59) The string key "duplicateuser" is not in the correct order, it should be before "nouser"
(#64) The string key "help_force_authn" is not in the correct order, it should be before "label_force_authn"
(#66) Unexpected comment found. Auto-fixing will not work after this comment
(#67) The string key "error_create_user" is not in the correct order, it should be before "help_force_authn"
(#69) The string key "error_idpattr" is not in the correct order, it should be before "error_sp_path"
(#70) The string key "error_authsource" is not in the correct order, it should be before "error_idpattr"
(#72) The string key "error_nokey" is not in the correct order, it should be before "error_you_are_still_connected"
(#76) The string key "label_profile_settings" is not in the correct order, it should be before "success_config"
(#78) The string key "label_dual_login_settings" is not in the correct order, it should be before "label_profile_settings"
(#79) The string key "label_dual_login_help" is not in the correct order, it should be before "label_dual_login_settings"
(#90) The string key "help_user_directory" is not in the correct order, it should be before "label_user_directory"
(#92) The string key "help_do_update" is not in the correct order, it should be before "label_do_update"
(#96) The string key "help_verbose_sync" is not in the correct order, it should be before "label_verbose_sync"
(#100) The string key "label_hide_takeover_page" is not in the correct order, it should be before "synctask"
(#101) The string key "help_hide_takeover_page" is not in the correct order, it should be before "label_hide_takeover_page"
(#106) The string key "pluginname" is duplicated
(#107) The string key "label_takeover_link" is not in the correct order, it should be before "takeover"
(#110) The string key "label_takeover" is not in the correct order, it should be before "label_takeover_link"
(#111) The string key "help_takeover" is not in the correct order, it should be before "label_takeover"
(#113) The string key "pluginname" is duplicated
(#119) The string key "takeover_completed" is not in the correct order, it should be before "takeover_nouser"
(#120) The string key "pluginname" is duplicated
(#121) The string key "takeover_count_migrated" is not in the correct order, it should be before "takeover_submit"
(#122) The string key "event_user_migrate" is not in the correct order, it should be before "takeover_count_migrated"
(#123) The string key "pluginname" is duplicated
(#124) The string key "event_not_searchable" is not in the correct order, it should be before "event_user_migrate_desc"
(#128) The string key "event_duplicate_user" is not in the correct order, it should be before "event_user_kicked_off_desc"
(#129) The string key "pluginname" is duplicated
auth/saml2sso/lang/it/auth_saml2sso.php
(#29) Unexpected comment found. Auto-fixing will not work after this comment
(#30) The string key "label_button_url" is not in the correct order, it should be before "settings_saml2sso"
(#31) The string key "label_button_name" is not in the correct order, it should be before "label_button_url"
(#34) The string key "label_dual_login" is not in the correct order, it should be before "label_sp_path"
(#36) The string key "label_idpattr" is not in the correct order, it should be before "label_single_signoff"
(#38) The string key "label_autocreate" is not in the correct order, it should be before "label_moodle_mapping"
(#39) The string key "label_authsource" is not in the correct order, it should be before "label_autocreate"
(#41) The string key "label_logout" is not in the correct order, it should be before "label_logout_url_redir"
(#42) The string key "label_edit_profile" is not in the correct order, it should be before "label_logout"
(#45) Unexpected comment found. Auto-fixing will not work after this comment
(#46) The string key "help_button_url" is not in the correct order, it should be before "label_instructions_title"
(#48) The string key "help_button_name" is not in the correct order, it should be before "help_show_button_name"
(#50) The string key "help_dual_login" is not in the correct order, it should be before "help_sp_path"
(#52) The string key "help_idpattr" is not in the correct order, it should be before "help_single_signoff"
(#55) The string key "help_autocreate" is not in the correct order, it should be before "help_moodle_mapping"
(#56) The string key "help_authsource" is not in the correct order, it should be before "help_autocreate"
(#59) The string key "duplicateuser" is not in the correct order, it should be before "nouser"
(#64) The string key "help_force_authn" is not in the correct order, it should be before "label_force_authn"
(#66) Unexpected comment found. Auto-fixing will not work after this comment
(#67) The string key "error_create_user" is not in the correct order, it should be before "help_force_authn"
(#69) The string key "error_idpattr" is not in the correct order, it should be before "error_sp_path"
(#70) The string key "error_authsource" is not in the correct order, it should be before "error_idpattr"
(#72) The string key "error_nokey" is not in the correct order, it should be before "error_you_are_still_connected"
(#76) The string key "label_profile_settings" is not in the correct order, it should be before "success_config"
(#78) The string key "label_dual_login_settings" is not in the correct order, it should be before "label_profile_settings"
(#79) The string key "label_dual_login_help" is not in the correct order, it should be before "label_dual_login_settings"
(#90) The string key "help_user_directory" is not in the correct order, it should be before "label_user_directory"
(#92) The string key "help_do_update" is not in the correct order, it should be before "label_do_update"
(#97) The string key "help_verbose_sync" is not in the correct order, it should be before "label_verbose_sync"
(#101) The string key "label_hide_takeover_page" is not in the correct order, it should be before "synctask"
(#102) The string key "help_hide_takeover_page" is not in the correct order, it should be before "label_hide_takeover_page"
(#108) The string key "pluginname" is duplicated
(#109) The string key "label_takeover_link" is not in the correct order, it should be before "takeover"
(#112) The string key "label_takeover" is not in the correct order, it should be before "label_takeover_link"
(#113) The string key "help_takeover" is not in the correct order, it should be before "label_takeover"
(#115) The string key "pluginname" is duplicated
(#121) The string key "takeover_completed" is not in the correct order, it should be before "takeover_nouser"
(#122) The string key "pluginname" is duplicated
(#123) The string key "takeover_count_migrated" is not in the correct order, it should be before "takeover_submit"
(#124) The string key "event_user_migrate" is not in the correct order, it should be before "takeover_count_migrated"
(#125) The string key "pluginname" is duplicated
(#126) The string key "event_not_searchable" is not in the correct order, it should be before "event_user_migrate_desc"
(#130) The string key "event_duplicate_user" is not in the correct order, it should be before "event_user_kicked_off_desc"
(#131) The string key "pluginname" is duplicated
auth/saml2sso/lang/pt_br/auth_saml2sso.php
(#29) Unexpected comment found. Auto-fixing will not work after this comment
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) No space found before comment text; expected "// label config strings" but found "//label config strings"
(#30) The string key "label_sp_path" is not in the correct order, it should be before "settings_saml2sso"
(#31) The string key "label_dual_login" is not in the correct order, it should be before "label_sp_path"
(#33) The string key "label_idpattr" is not in the correct order, it should be before "label_single_signoff"
(#35) The string key "label_autocreate" is not in the correct order, it should be before "label_moodle_mapping"
(#36) The string key "label_authsource" is not in the correct order, it should be before "label_autocreate"
(#38) The string key "label_logout" is not in the correct order, it should be before "label_logout_url_redir"
(#39) The string key "label_edit_profile" is not in the correct order, it should be before "label_logout"
(#42) Unexpected comment found. Auto-fixing will not work after this comment
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) No space found before comment text; expected "// _help config strings" but found "//_help config strings"
(#43) The string key "help_sp_path" is not in the correct order, it should be before "label_instructions_title"
(#44) The string key "help_dual_login" is not in the correct order, it should be before "help_sp_path"
(#46) The string key "help_idpattr" is not in the correct order, it should be before "help_single_signoff"
(#48) The string key "help_autocreate" is not in the correct order, it should be before "help_moodle_mapping"
(#49) The string key "help_authsource" is not in the correct order, it should be before "help_autocreate"
(#52) The string key "help_edit_profile" is not in the correct order, it should be before "nouser"
(#54) Unexpected comment found. Auto-fixing will not work after this comment
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) No space found before comment text; expected "// error config strings" but found "//error config strings"
(#55) The string key "error_create_user" is not in the correct order, it should be before "help_edit_profile"
(#57) The string key "error_idpattr" is not in the correct order, it should be before "error_sp_path"
(#58) The string key "error_authsource" is not in the correct order, it should be before "error_idpattr"
(#60) Unexpected string end, it should be a line feed after a semicolon
(#60) File must end with a newline character
auth/saml2sso/locallib.php
(#1) Moodle boilerplate not found
(#14) Missing docblock for constant AUTH_NAME
(#15) Missing docblock for constant COMPONENT_NAME
(#18) Whitespace found at end of line
(#19) Inline comments must end in full-stops, exclamation marks, or question marks
(#20) Missing docblock for constant LOCAL_AUTH_PLUGINS
(#36) Missing docblock for function load_ssp_lib
(#43) Whitespace found at end of line
(#49) "require_once" must be immediately followed by an open parenthesis
(#67) Missing docblock for function get_known_plugin
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) Whitespace found at end of line
(#108) Variable "known_plugins" must not contain underscores.
(#109) Variable "known_plugins" must not contain underscores.
(#115) Short array syntax must be used to define arrays
(#115) Expected 1 space before "=>"; 0 found
(#115) Expected 1 space after "=>"; 0 found
(#115) Expected 1 space before "=>"; 0 found
(#115) Expected 1 space after "=>"; 0 found
(#129) Short array syntax must be used to define arrays
(#130) There should be a comma after the last array item in a multi-line array.
(#138) File must end with a newline character
auth/saml2sso/settings.php
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) This comment is 50% valid code; is this commented out code?
(#40) Variable "saml2_authplugin" must not contain underscores.
(#59) Variable "field_setting" must not contain underscores.
(#60) Variable "field_setting" must not contain underscores.
(#61) Variable "field_setting" must not contain underscores.
(#62) Variable "field_setting" must not contain underscores.
(#65) Whitespace found at end of line
(#66) Variable "field_setting" must not contain underscores.
(#69) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#78) Variable "field_setting" must not contain underscores.
(#79) Variable "field_setting" must not contain underscores.
(#80) Variable "field_setting" must not contain underscores.
(#86) Expected "} else {\n"; found "}\n else {\n"
(#88) Variable "field_setting" must not contain underscores.
(#89) Variable "field_setting" must not contain underscores.
(#90) Variable "field_setting" must not contain underscores.
(#99) Variable "field_setting" must not contain underscores.
(#101) Variable "field_setting" must not contain underscores.
(#101) Whitespace found at end of line
(#102) Variable "field_setting" must not contain underscores.
(#102) Whitespace found at end of line
(#103) Variable "field_setting" must not contain underscores.
(#103) Whitespace found at end of line
(#104) Whitespace found at end of line
(#108) Whitespace found at end of line
(#109) Variable "field_setting" must not contain underscores.
(#111) Variable "field_setting" must not contain underscores.
(#112) Variable "field_setting" must not contain underscores.
(#113) Variable "field_setting" must not contain underscores.
(#121) Variable "field_setting" must not contain underscores.
(#123) Variable "field_setting" must not contain underscores.
(#124) Variable "field_setting" must not contain underscores.
(#124) Whitespace found at end of line
(#125) Variable "field_setting" must not contain underscores.
(#132) Whitespace found at end of line
(#133) Variable "field_setting" must not contain underscores.
(#140) Variable "field_setting" must not contain underscores.
(#140) Whitespace found at end of line
(#141) Variable "field_setting" must not contain underscores.
(#141) Whitespace found at end of line
(#142) Variable "field_setting" must not contain underscores.
(#142) Whitespace found at end of line
(#143) Whitespace found at end of line
(#146) Whitespace found at end of line
(#147) Whitespace found at end of line
(#148) Variable "field_setting" must not contain underscores.
(#150) Variable "field_setting" must not contain underscores.
(#150) Whitespace found at end of line
(#151) Variable "field_setting" must not contain underscores.
(#151) Whitespace found at end of line
(#152) Variable "field_setting" must not contain underscores.
(#152) Whitespace found at end of line
(#153) Whitespace found at end of line
(#157) Whitespace found at end of line
(#158) Variable "field_setting" must not contain underscores.
(#160) Variable "field_setting" must not contain underscores.
(#160) Whitespace found at end of line
(#161) Variable "field_setting" must not contain underscores.
(#161) Whitespace found at end of line
(#162) Variable "field_setting" must not contain underscores.
(#162) Whitespace found at end of line
(#163) Whitespace found at end of line
(#167) Whitespace found at end of line
(#168) Variable "field_setting" must not contain underscores.
(#170) Variable "field_setting" must not contain underscores.
(#170) Whitespace found at end of line
(#171) Whitespace found at end of line
(#172) Variable "field_setting" must not contain underscores.
(#172) Whitespace found at end of line
(#173) Whitespace found at end of line
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#183) Variable "field_setting" must not contain underscores.
(#185) Variable "field_setting" must not contain underscores.
(#186) Variable "field_setting" must not contain underscores.
(#187) Variable "field_setting" must not contain underscores.
(#193) Variable "field_setting" must not contain underscores.
(#195) Variable "field_setting" must not contain underscores.
(#196) Variable "field_setting" must not contain underscores.
(#197) Variable "field_setting" must not contain underscores.
(#205) Variable "field_setting" must not contain underscores.
(#207) Variable "field_setting" must not contain underscores.
(#208) Variable "field_setting" must not contain underscores.
(#209) Variable "field_setting" must not contain underscores.
(#217) Variable "field_setting" must not contain underscores.
(#219) Variable "field_setting" must not contain underscores.
(#220) Variable "field_setting" must not contain underscores.
(#221) Variable "field_setting" must not contain underscores.
(#225) Inline comments must end in full-stops, exclamation marks, or question marks
(#238) Short array syntax must be used to define arrays
(#245) Whitespace found at end of line
(#246) Variable "field_setting" must not contain underscores.
(#248) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#253) Variable "field_setting" must not contain underscores.
(#254) Variable "field_setting" must not contain underscores.
(#255) Variable "field_setting" must not contain underscores.
(#261) Variable "field_setting" must not contain underscores.
(#263) Variable "field_setting" must not contain underscores.
(#264) Variable "field_setting" must not contain underscores.
(#265) Variable "field_setting" must not contain underscores.
(#271) Variable "field_setting" must not contain underscores.
(#273) Variable "field_setting" must not contain underscores.
(#274) Variable "field_setting" must not contain underscores.
(#275) Variable "field_setting" must not contain underscores.
(#281) Variable "field_setting" must not contain underscores.
(#283) Variable "field_setting" must not contain underscores.
(#284) Variable "field_setting" must not contain underscores.
(#285) Variable "field_setting" must not contain underscores.
(#290) Whitespace found at end of line
(#294) Variable "field_setting" must not contain underscores.
(#296) Variable "field_setting" must not contain underscores.
(#296) Whitespace found at end of line
(#297) Variable "field_setting" must not contain underscores.
(#297) Whitespace found at end of line
(#298) Variable "field_setting" must not contain underscores.
(#298) Whitespace found at end of line
(#299) Whitespace found at end of line
(#303) Whitespace found at end of line
(#306) Variable "saml2_authplugin" must not contain underscores.
(#306) Variable "saml2_authplugin" must not contain underscores.
(#307) Whitespace found at end of line
(#308) Variable "saml2_authplugin" must not contain underscores.
auth/saml2sso/takeover.php
(#39) Missing docblock for class takeover_users
(#58) Expected "} else {\n"; found "}\n else {\n"
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) This comment is 67% valid code; is this commented out code?
(#66) Line indented incorrectly; expected at least 8 spaces, found 0
(#66) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#75) No one-line description found in phpdocs for docblock of function validation
auth/saml2sso/version.php
(#17) Missing @copyright tag
(#27) 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
(#29) 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

(3 errors, 0 warnings)

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

auth/saml2sso/styles.css
(#2) Expected indentation of 4 spaces (indentation)
(#3) Expected indentation of 4 spaces (indentation)
(#4) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(8 errors, 0 warnings)

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

auth/saml2sso/auth.php
(#149) Phpdocs for function auth_plugin_saml2sso::normalize_username has incomplete parameters list
(#211) Phpdocs for function auth_plugin_saml2sso::loginpage_hook has incomplete parameters list
(#421) Phpdocs for function auth_plugin_saml2sso::do_login has incomplete parameters list
(#531) Phpdocs for function auth_plugin_saml2sso::can_edit_profile has incomplete parameters list
(#547) Phpdocs for function auth_plugin_saml2sso::error_page has incomplete parameters list
auth/saml2sso/classes/event/duplicate_user.php
(#22) Phpdocs for function duplicate_user::event_duplicate_user has incomplete parameters list
auth/saml2sso/locallib.php
(#54) Phpdocs for function can_sync_user has incomplete parameters list
(#102) Phpdocs for function takeover has incomplete parameters list

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]