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

(66 errors, 6 warnings)

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

auth/emailadmin/auth.php
(#228) Variable "user_fields" must not contain underscores.
(#293) Variable "admin_found" must not contain underscores.
(#296) Variable "send_list" must not contain underscores.
(#298) The use of function error_log() is forbidden
(#298) The use of function print_r() is forbidden
(#300) Variable "admin_found" must not contain underscores.
(#302) Variable "admin_found" must not contain underscores.
(#303) Variable "send_list" must not contain underscores.
(#311) Variable "send_list" must not contain underscores.
(#312) Variable "use_lang" must not contain underscores.
(#317) Variable "use_lang" must not contain underscores.
(#319) Variable "use_lang" must not contain underscores.
(#330) Variable "admin_found" must not contain underscores.
(#342) The use of function error_log() is forbidden
(#345) Variable "use_lang" must not contain underscores.
(#350) Variable "use_lang" must not contain underscores.
(#352) Variable "use_lang" must not contain underscores.
(#352) Line exceeds 132 characters; contains 136 characters
auth/emailadmin/classes/message.class.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 100% valid code; is this commented out code?
(#28) No space found before comment text; expected "// require('../../config.php');" but found "//require('../../config.php');"
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Variable "lang_hack" must not contain underscores.
(#36) Variable "lang_hack" must not contain underscores.
(#37) Variable "lang_hack" must not contain underscores.
(#38) Variable "hack_backup" must not contain underscores.
(#39) Variable "hack_backup" must not contain underscores.
(#39) Variable "hack_backup_key" must not contain underscores.
(#39) Variable "hack_backup_value" must not contain underscores.
(#40) Variable "hack_backup" must not contain underscores.
(#40) Variable "hack_backup_key" must not contain underscores.
(#40) Variable "GLOBALS" must be all lower-case
(#40) Variable "hack_backup_key" must not contain underscores.
(#41) Variable "GLOBALS" must be all lower-case
(#41) Variable "hack_backup_key" must not contain underscores.
(#41) Variable "lang_hack" must not contain underscores.
(#43) Variable "use_lang" must not contain underscores.
(#44) Variable "hack_backup" must not contain underscores.
(#44) Variable "hack_backup_key" must not contain underscores.
(#44) Variable "hack_backup_value" must not contain underscores.
(#45) Variable "GLOBALS" must be all lower-case
(#45) Variable "hack_backup_key" must not contain underscores.
(#45) Variable "hack_backup_value" must not contain underscores.
(#51) Variable "use_lang" must not contain underscores.
(#56) Whitespace found at end of line
(#59) Whitespace found at end of line
(#64) Whitespace found at end of line
(#65) Variable "use_lang" must not contain underscores.
(#65) Must use "self::" for local static member reference
(#66) Variable "use_lang" must not contain underscores.
(#66) Line exceeds 132 characters; contains 152 characters
(#67) Whitespace found at end of line
(#72) Variable "use_lang" must not contain underscores.
(#74) Whitespace found at end of line
(#76) Whitespace found at end of line
(#78) Whitespace found at end of line
auth/emailadmin/db/upgrade.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#2) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#2) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
auth/emailadmin/settings.php
(#41) Whitespace found at end of line

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

(20 errors, 0 warnings)

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

auth/emailadmin/auth.php
(#22) Package moodle multiauth is not valid
(#50) Function auth_plugin_emailadmin::auth_plugin_email is not documented
(#86) Function auth_plugin_emailadmin::can_signup is not documented
(#178) Function auth_plugin_emailadmin::prevent_local_passwords is not documented
(#226) Phpdocs for function auth_plugin_emailadmin::config_form has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#240) Inline phpdocs tag {@link $USER} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#363) Inline phpdocs tag {@link $USER} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
auth/emailadmin/classes/message.class.php
(#20) Package moodle multiauth is not valid
(#31) Class message is not documented
(#32) Function message::get_user_language is not documented
(#54) Function message::send_confirmation_email_user is not documented
auth/emailadmin/confirm.php
(#21) Package core is not valid
(#17) No one-line description found in phpdocs for file
auth/emailadmin/db/upgrade.php
(#3) Package is not specified for function xmldb_auth_emailadmin_upgrade. It is also not specified in file-level phpdocs
(#2) File-level phpdocs block is not found
(#3) There is no description in phpdocs for function xmldb_auth_emailadmin_upgrade
auth/emailadmin/lang/en/auth_emailadmin.php
(#17) No one-line description found in phpdocs for file
auth/emailadmin/version.php
(#21) Package auth is not valid
(#17) No one-line description found in phpdocs for file

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]