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
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Variable "local_sandbox_config" must not contain underscores.
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Variable "local_sandbox_config" must not contain underscores.
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Variable "local_sandbox_config" must not contain underscores.
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Variable "local_sandbox_config" must not contain underscores.
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) Expected "} else {\n"; found "}\n else {\n"
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) Line exceeds 132 characters; contains 143 characters
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Line exceeds 132 characters; contains 149 characters
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) Variable "local_sandbox_config" must not contain underscores.
(#113) Line exceeds 132 characters; contains 168 characters
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) Line exceeds 132 characters; contains 146 characters
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#129) Line exceeds 132 characters; contains 147 characters
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Line exceeds maximum limit of 180 characters; contains 189 characters
(#144) Expected "} else {\n"; found "}\n else {\n"
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) Line exceeds 132 characters; contains 148 characters
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Variable "local_sandbox_config" must not contain underscores.
(#157) 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
(#161) Line exceeds 132 characters; contains 160 characters
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#168) Line exceeds 132 characters; contains 152 characters
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#173) Line exceeds 132 characters; contains 141 characters
(#175) Inline comments must end in full-stops, exclamation marks, or question marks
(#182) Inline comments must end in full-stops, exclamation marks, or question marks
(#183) Expected 1 space before "=>"; 0 found
(#183) Expected 1 space after "=>"; 0 found
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#195) Expected "} else {\n"; found "}\n else {\n"
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#200) Line exceeds 132 characters; contains 149 characters
(#208) 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
(#216) Expected "} else {\n"; found "}\n else {\n"
(#217) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) Variable "local_sandbox_config" must not contain underscores.
(#218) Line exceeds 132 characters; contains 141 characters
(#220) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) Variable "local_sandbox_config" must not contain underscores.
(#221) Line exceeds 132 characters; contains 173 characters
(#226) Expected "} else {\n"; found "}\n else {\n"
(#227) Inline comments must end in full-stops, exclamation marks, or question marks
(#228) Variable "local_sandbox_config" must not contain underscores.
(#228) Line exceeds 132 characters; contains 134 characters
(#230) Inline comments must end in full-stops, exclamation marks, or question marks
(#231) Variable "local_sandbox_config" must not contain underscores.
(#231) Line exceeds 132 characters; contains 166 characters
(#236) Expected "} else {\n"; found "}\n else {\n"
(#237) Inline comments must end in full-stops, exclamation marks, or question marks
(#240) Inline comments must end in full-stops, exclamation marks, or question marks
local/sandbox/db/upgrade.php
(#33) Line exceeds 132 characters; contains 133 characters
local/sandbox/lib.php
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#62) Expected "} else {\n"; found "}\n else {\n"
(#65) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
local/sandbox/settings.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Line exceeds 132 characters; contains 133 characters
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Line exceeds 132 characters; contains 137 characters
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Line exceeds maximum limit of 180 characters; contains 232 characters
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Line exceeds maximum limit of 180 characters; contains 204 characters
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Line exceeds maximum limit of 180 characters; contains 218 characters
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Line exceeds maximum limit of 180 characters; contains 199 characters
(#68) 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

(0 errors, 0 warnings)

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


PHPDocs style problems

(2 errors, 0 warnings)

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

local/sandbox/db/upgrade.php
(#27) There is no description in phpdocs for function xmldb_local_sandbox_upgrade
local/sandbox/lib.php
(#35) Phpdocs for function local_sandbox_inform_admin 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

(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]