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

(49 errors, 2 warnings)

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

local/welcome/db/events.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/welcome/event_handlers.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
(#45) Variable "message_user_enabled" must not contain underscores.
(#46) Variable "message_user" must not contain underscores.
(#47) Variable "message_user_subject" must not contain underscores.
(#49) Variable "message_moderator_enabled" must not contain underscores.
(#50) Variable "message_moderator" must not contain underscores.
(#51) Variable "message_moderator_subject" must not contain underscores.
(#52) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#61) Line exceeds 132 characters; contains 135 characters
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Tab found within whitespace
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Tab found within whitespace
(#86) Variable "message_user" must not contain underscores.
(#86) Variable "message_user" must not contain underscores.
(#87) Variable "message_user_subject" must not contain underscores.
(#87) Variable "message_user_subject" must not contain underscores.
(#88) Variable "message_moderator" must not contain underscores.
(#88) Variable "message_moderator" must not contain underscores.
(#89) Variable "message_moderator_subject" must not contain underscores.
(#89) Variable "message_moderator_subject" must not contain underscores.
(#91) Variable "message_user" must not contain underscores.
(#91) Variable "message_user_enabled" must not contain underscores.
(#92) Variable "message_user_subject" must not contain underscores.
(#92) Variable "message_user" must not contain underscores.
(#92) Variable "message_user" must not contain underscores.
(#95) Variable "message_moderator" must not contain underscores.
(#95) Variable "message_moderator_enabled" must not contain underscores.
(#96) Variable "message_moderator_subject" must not contain underscores.
(#96) Variable "message_moderator" must not contain underscores.
(#96) Variable "message_moderator" must not contain underscores.
local/welcome/version.php
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#30) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(11 errors, 0 warnings)

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

local/welcome/db/events.php
(#17) No one-line description found in phpdocs for file
(#23) Package local is not valid
local/welcome/event_handlers.php
(#29) Function send_welcome is not documented
(#17) No one-line description found in phpdocs for file
(#23) Package local is not valid
local/welcome/lang/en/local_welcome.php
(#17) No one-line description found in phpdocs for file
(#23) Package local is not valid
local/welcome/settings.php
(#17) No one-line description found in phpdocs for file
(#23) Package local is not valid
local/welcome/version.php
(#18) No one-line description found in phpdocs for file
(#24) Package local is not valid

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]


Mustache template problems

(0 errors, 0 warnings)

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