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

(28 errors, 75 warnings)

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

local/sandbox/lib.php
(#32) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#77) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Expected "} else {\n"; found "}\n else {\n"
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) Line exceeds 132 characters; contains 149 characters
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#173) Inline comments must end in full-stops, exclamation marks, or question marks
(#174) Line exceeds maximum limit of 180 characters; contains 181 characters
(#179) Expected "} else {\n"; found "}\n else {\n"
(#180) Inline comments must end in full-stops, exclamation marks, or question marks
(#183) Inline comments must end in full-stops, exclamation marks, or question marks
(#189) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#195) Inline comments must end in full-stops, exclamation marks, or question marks
(#196) Line exceeds 132 characters; contains 142 characters
(#202) Inline comments must end in full-stops, exclamation marks, or question marks
(#203) Line exceeds 132 characters; contains 148 characters
(#204) Inline comments must end in full-stops, exclamation marks, or question marks
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#211) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#214) Inline comments must end in full-stops, exclamation marks, or question marks
(#215) Expected 1 space before "=>"; 0 found
(#215) Expected 1 space after "=>"; 0 found
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) Expected "} else {\n"; found "}\n else {\n"
(#222) Inline comments must end in full-stops, exclamation marks, or question marks
(#225) Inline comments must end in full-stops, exclamation marks, or question marks
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) Inline comments must end in full-stops, exclamation marks, or question marks
(#242) Expected "} else {\n"; found "}\n else {\n"
(#243) Inline comments must end in full-stops, exclamation marks, or question marks
(#246) Inline comments must end in full-stops, exclamation marks, or question marks
(#247) Line exceeds 132 characters; contains 141 characters
(#252) Expected "} else {\n"; found "}\n else {\n"
(#253) Inline comments must end in full-stops, exclamation marks, or question marks
(#256) Inline comments must end in full-stops, exclamation marks, or question marks
(#257) Line exceeds 132 characters; contains 134 characters
(#262) Expected "} else {\n"; found "}\n else {\n"
(#263) Inline comments must end in full-stops, exclamation marks, or question marks
(#266) Inline comments must end in full-stops, exclamation marks, or question marks
(#283) Inline comments must end in full-stops, exclamation marks, or question marks
(#290) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#292) Inline comments must end in full-stops, exclamation marks, or question marks
(#296) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#298) Inline comments must end in full-stops, exclamation marks, or question marks
(#302) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#305) Expected "} else {\n"; found "}\n else {\n"
(#308) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#310) Inline comments must end in full-stops, exclamation marks, or question marks
(#312) Inline comments must end in full-stops, exclamation marks, or question marks
local/sandbox/settings.php
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Line exceeds 132 characters; contains 133 characters
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Line exceeds maximum limit of 180 characters; contains 197 characters
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Line exceeds maximum limit of 180 characters; contains 216 characters
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Line exceeds 132 characters; contains 137 characters
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Line exceeds maximum limit of 180 characters; contains 232 characters
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Line exceeds maximum limit of 180 characters; contains 204 characters
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Line exceeds maximum limit of 180 characters; contains 218 characters
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Line exceeds maximum limit of 180 characters; contains 199 characters
(#72) 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 jshint [More info]


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(5 errors, 0 warnings)

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

local/sandbox/lang/en/local_sandbox.php
(#17) File-level phpdocs block is not found
local/sandbox/lib.php
(#278) Phpdocs for function inform_admin has incomplete parameters list
(#20) Package local is not valid
local/sandbox/settings.php
(#20) Package local is not valid
local/sandbox/version.php
(#17) File-level phpdocs block is not found

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]