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, 72 warnings)

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

local/sandbox/classes/task/restore_courses.php
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Variable "local_sandbox_config" must not contain underscores.
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Variable "local_sandbox_config" must not contain underscores.
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Variable "local_sandbox_config" must not contain underscores.
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) Variable "local_sandbox_config" must not contain underscores.
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) Expected "} else {\n"; found "}\n else {\n"
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Line exceeds 132 characters; contains 143 characters
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#107) Line exceeds 132 characters; contains 149 characters
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Variable "local_sandbox_config" must not contain underscores.
(#115) Line exceeds 132 characters; contains 168 characters
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) Line exceeds 132 characters; contains 146 characters
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#131) Line exceeds 132 characters; contains 147 characters
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) Line exceeds maximum limit of 180 characters; contains 189 characters
(#146) Expected "} else {\n"; found "}\n else {\n"
(#147) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Line exceeds 132 characters; contains 148 characters
(#156) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) Variable "local_sandbox_config" must not contain underscores.
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) Line exceeds 132 characters; contains 160 characters
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#170) Line exceeds 132 characters; contains 152 characters
(#171) Inline comments must end in full-stops, exclamation marks, or question marks
(#174) Inline comments must end in full-stops, exclamation marks, or question marks
(#175) Line exceeds 132 characters; contains 141 characters
(#177) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#185) Expected 1 space before "=>"; 0 found
(#185) Expected 1 space after "=>"; 0 found
(#194) Inline comments must end in full-stops, exclamation marks, or question marks
(#197) Expected "} else {\n"; found "}\n else {\n"
(#198) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) Inline comments must end in full-stops, exclamation marks, or question marks
(#202) Line exceeds 132 characters; contains 149 characters
(#210) Inline comments must end in full-stops, exclamation marks, or question marks
(#213) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) Expected "} else {\n"; found "}\n else {\n"
(#219) Inline comments must end in full-stops, exclamation marks, or question marks
(#220) Variable "local_sandbox_config" must not contain underscores.
(#220) Line exceeds 132 characters; contains 141 characters
(#222) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) Variable "local_sandbox_config" must not contain underscores.
(#223) Line exceeds 132 characters; contains 173 characters
(#228) Expected "} else {\n"; found "}\n else {\n"
(#229) Inline comments must end in full-stops, exclamation marks, or question marks
(#230) Variable "local_sandbox_config" must not contain underscores.
(#230) Line exceeds 132 characters; contains 134 characters
(#232) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) Variable "local_sandbox_config" must not contain underscores.
(#233) Line exceeds 132 characters; contains 166 characters
(#238) Expected "} else {\n"; found "}\n else {\n"
(#239) Inline comments must end in full-stops, exclamation marks, or question marks
(#242) Inline comments must end in full-stops, exclamation marks, or question marks
local/sandbox/db/upgrade.php
(#34) Line exceeds 132 characters; contains 133 characters
local/sandbox/lib.php
(#41) 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
(#54) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#63) Expected "} else {\n"; found "}\n else {\n"
(#66) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) 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
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Line exceeds 132 characters; contains 137 characters
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Line exceeds maximum limit of 180 characters; contains 232 characters
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Line exceeds maximum limit of 180 characters; contains 204 characters
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Line exceeds maximum limit of 180 characters; contains 218 characters
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Line exceeds maximum limit of 180 characters; contains 199 characters
(#69) 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

(12 errors, 0 warnings)

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

local/sandbox/classes/event/course_restored.php
(#20) Package local is not valid
(#33) Package local is not valid
local/sandbox/classes/task/restore_courses.php
(#20) Package local is not valid
(#35) Package local is not valid
local/sandbox/db/tasks.php
(#20) Package local is not valid
local/sandbox/db/upgrade.php
(#28) There is no description in phpdocs for function xmldb_local_sandbox_upgrade
(#20) Package local is not valid
local/sandbox/lang/en/local_sandbox.php
(#17) File-level phpdocs block is not found
local/sandbox/lib.php
(#36) Phpdocs for function local_sandbox_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]