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

(84 errors, 70 warnings)

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

local/staticpage/lib.php
(#26) Inline comments must start with a capital letter, digit or 3-dots sequence
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Expected MOODLE_INTERNAL check or config.php inclusion
(#42) INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.
(#45) Line exceeds 132 characters; contains 136 characters
local/staticpage/settings.php
(#28) 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
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Line exceeds 132 characters; contains 144 characters
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Line exceeds maximum limit of 180 characters; contains 229 characters
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Line exceeds 132 characters; contains 148 characters
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Line exceeds maximum limit of 180 characters; contains 237 characters
(#52) Line exceeds maximum limit of 180 characters; contains 243 characters
(#53) Line exceeds maximum limit of 180 characters; contains 240 characters
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Line exceeds 132 characters; contains 136 characters
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Line exceeds maximum limit of 180 characters; contains 189 characters
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Variable "local_staticpage_config" must not contain underscores.
(#67) Line exceeds 132 characters; contains 165 characters
(#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
(#70) Variable "local_staticpage_config" must not contain underscores.
(#70) Variable "local_staticpage_config" must not contain underscores.
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Variable "local_staticpage_config" must not contain underscores.
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) 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) Variable "local_staticpage_config" must not contain underscores.
(#82) Line exceeds maximum limit of 180 characters; contains 186 characters
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) 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
(#117) 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 maximum limit of 180 characters; contains 205 characters
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) Line exceeds 132 characters; contains 151 characters
(#131) Expected "} else {\n"; found "}\n else {\n"
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) Line indented incorrectly; expected 28 spaces, found 32
(#137) Expected "if (...) {\n"; found "if(...) {\n"
(#137) Variable "local_staticpage_config" must not contain underscores.
(#138) Variable "url_plugin" must not contain underscores.
(#139) Variable "url_plugin_available" must not contain underscores.
(#139) Variable "url_plugin" must not contain underscores.
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Line indented incorrectly; expected 32 spaces, found 36
(#142) Variable "url_plugin_available" must not contain underscores.
(#143) Variable "url_plugin" must not contain underscores.
(#143) Variable "url_plugin" must not contain underscores.
(#143) Line exceeds 132 characters; contains 179 characters
(#144) Line indented incorrectly; expected 32 spaces, found 36
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) Line indented incorrectly; expected 32 spaces, found 36
(#146) Expected "} else {\n"; found "}\n // Otherwise\n else {\n"
(#147) Variable "url_plugin" must not contain underscores.
(#147) Variable "url_plugin" must not contain underscores.
(#147) Line exceeds maximum limit of 180 characters; contains 197 characters
(#148) Line indented incorrectly; expected 32 spaces, found 36
(#149) Line indented incorrectly; expected 28 spaces, found 32
(#151) Variable "url_rewrite" must not contain underscores.
(#152) Variable "url_rewrite_available" must not contain underscores.
(#152) Variable "url_rewrite" must not contain underscores.
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Line indented incorrectly; expected 28 spaces, found 32
(#155) Variable "url_rewrite_available" must not contain underscores.
(#156) Variable "url_rewrite" must not contain underscores.
(#156) Variable "url_rewrite" must not contain underscores.
(#156) Line exceeds 132 characters; contains 175 characters
(#157) Line indented incorrectly; expected 28 spaces, found 32
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#159) Line indented incorrectly; expected 28 spaces, found 32
(#159) Expected "} else {\n"; found "}\n // Otherwise\n else {\n"
(#160) Variable "url_rewrite" must not contain underscores.
(#160) Variable "url_rewrite" must not contain underscores.
(#160) Line exceeds maximum limit of 180 characters; contains 193 characters
(#161) Line indented incorrectly; expected 28 spaces, found 32
(#170) Expected "} else {\n"; found "}\n else {\n"
(#171) Line exceeds maximum limit of 180 characters; contains 208 characters
(#174) Expected "} else {\n"; found "}\n else {\n"
(#175) Line exceeds maximum limit of 180 characters; contains 210 characters
(#178) Expected "} else {\n"; found "}\n else {\n"
(#179) Line exceeds maximum limit of 180 characters; contains 197 characters
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
local/staticpage/view.php
(#26) Inline comments must start with a capital letter, digit or 3-dots sequence
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#34) 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
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Variable "local_staticpage_config" must not contain underscores.
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Variable "local_staticpage_config" must not contain underscores.
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Variable "path_language" must not contain underscores.
(#59) Variable "local_staticpage_config" must not contain underscores.
(#60) Variable "path_language" must not contain underscores.
(#60) Variable "path_language" must not contain underscores.
(#60) Line exceeds 132 characters; contains 138 characters
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Variable "path_international" must not contain underscores.
(#61) Variable "local_staticpage_config" must not contain underscores.
(#62) Variable "path_international" must not contain underscores.
(#62) Variable "path_international" must not contain underscores.
(#62) Line exceeds 132 characters; contains 148 characters
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Variable "path_language" must not contain underscores.
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) Variable "path_language" must not contain underscores.
(#71) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#71) Variable "path_international" must not contain underscores.
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Variable "path_international" must not contain underscores.
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Expected "} else {\n"; found "}\nelse {\n"
(#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
(#89) Expected "} else {\n"; found "}\nelse {\n"
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) Expected "} else {\n"; found "}\nelse {\n"
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Variable "local_staticpage_config" must not contain underscores.
(#111) Expected "} else {\n"; found "}\nelse {\n"
(#115) 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
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Variable "local_staticpage_config" must not contain underscores.
(#127) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#127) Variable "local_staticpage_config" must not contain underscores.
(#130) Expected "} else {\n"; found "}\nelse {\n"
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) Variable "local_staticpage_config" must not contain underscores.
(#138) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#138) Variable "local_staticpage_config" must not contain underscores.
(#141) Expected "} else {\n"; found "}\nelse {\n"
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) Variable "local_staticpage_config" must not contain underscores.
(#149) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#149) Variable "local_staticpage_config" must not contain underscores.
(#152) Expected "} else {\n"; found "}\nelse {\n"
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) 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, 1 warnings)

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

local/staticpage/styles.css
(#2) Use of !important

PHPDocs style problems

(5 errors, 0 warnings)

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

local/staticpage/lang/en/local_staticpage.php
(#17) File-level phpdocs block is not found
local/staticpage/lib.php
(#20) Package local is not valid
local/staticpage/settings.php
(#20) Package local is not valid
local/staticpage/version.php
(#17) File-level phpdocs block is not found
local/staticpage/view.php
(#20) 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]


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]