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

(42 errors, 66 warnings)

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

local/staticpage/db/upgrade.php
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#58) 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
(#65) 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
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
local/staticpage/lib.php
(#1) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
local/staticpage/settings.php
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Line exceeds maximum limit of 180 characters; contains 246 characters
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Line exceeds 132 characters; contains 148 characters
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Line exceeds maximum limit of 180 characters; contains 237 characters
(#51) Line exceeds maximum limit of 180 characters; contains 243 characters
(#52) Line exceeds maximum limit of 180 characters; contains 240 characters
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Line exceeds 132 characters; contains 136 characters
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Line exceeds maximum limit of 180 characters; contains 189 characters
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Line exceeds maximum limit of 180 characters; contains 241 characters
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Line exceeds 132 characters; contains 138 characters
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Line exceeds maximum limit of 180 characters; contains 262 characters
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Line exceeds maximum limit of 180 characters; contains 232 characters
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
local/staticpage/view.php
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Variable "local_staticpage_config" must not contain underscores.
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Variable "local_staticpage_config" must not contain underscores.
(#40) Variable "local_staticpage_config" must not contain underscores.
(#40) Line exceeds 132 characters; contains 166 characters
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Variable "local_staticpage_config" must not contain underscores.
(#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
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) 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) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Expected "} else {\n"; found "}\nelse {\n"
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) Expected "} else {\n"; found "}\nelse {\n"
(#95) 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
(#102) Variable "local_staticpage_config" must not contain underscores.
(#105) Expected "} else {\n"; found "}\nelse {\n"
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) 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) Variable "local_staticpage_config" must not contain underscores.
(#121) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#121) Variable "local_staticpage_config" must not contain underscores.
(#124) Expected "} else {\n"; found "}\nelse {\n"
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Variable "local_staticpage_config" must not contain underscores.
(#132) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#132) Variable "local_staticpage_config" must not contain underscores.
(#135) Expected "} else {\n"; found "}\nelse {\n"
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Variable "local_staticpage_config" must not contain underscores.
(#143) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#143) Variable "local_staticpage_config" must not contain underscores.
(#146) Expected "} else {\n"; found "}\nelse {\n"
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) 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) Variable "local_staticpage_config" must not contain underscores.
(#161) Variable "local_staticpage_config" must not contain underscores.
(#161) Line exceeds 132 characters; contains 147 characters
(#164) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#164) Variable "local_staticpage_config" must not contain underscores.
(#164) Variable "local_staticpage_config" must not contain underscores.
(#164) Line exceeds 132 characters; contains 151 characters
(#167) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#167) Variable "local_staticpage_config" must not contain underscores.
(#167) Variable "local_staticpage_config" must not contain underscores.
(#167) Line exceeds 132 characters; contains 151 characters
(#170) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#170) Variable "local_staticpage_config" must not contain underscores.
(#170) Variable "local_staticpage_config" must not contain underscores.
(#170) Line exceeds 132 characters; contains 150 characters
(#173) Inline comments must end in full-stops, exclamation marks, or question marks
(#174) Expected "} else {\n"; found "}\nelse {\n"

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

(1 errors, 0 warnings)

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

local/staticpage/db/upgrade.php
(#27) There is no description in phpdocs for function xmldb_local_staticpage_upgrade

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]