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

(22 errors, 51 warnings)

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

local/anonymousposting/changeuser.php
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) 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
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) 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
(#120) Inline comments must start with a capital letter, digit or 3-dots sequence
(#120) 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
(#123) 3 slashes comments are not allowed; use "// Comment." instead
(#135) Expected "} else {\n"; found "}\n else {\n"
(#148) Line exceeds 132 characters; contains 179 characters
local/anonymousposting/forum.php
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#35) Commas (,) must be followed by white space.
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Expected "if (...) {\n"; found "if(...) {\n"
(#74) Expected "if (...) {\n"; found "if(...) {\n"
(#80) Commas (,) must be followed by white space.
(#80) Line exceeds 132 characters; contains 148 characters
local/anonymousposting/index_form.php
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) 3 slashes comments are not allowed; use "// Comment." instead
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Whitespace found at end of line
(#41) Commas (,) must be followed by white space.
(#44) Line exceeds 132 characters; contains 135 characters
(#47) Line exceeds 132 characters; contains 139 characters
local/anonymousposting/layout.php
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) 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
(#64) Expected "} else {\n"; found "}\n else{\n"
(#72) Line exceeds 132 characters; contains 153 characters
(#74) Line exceeds 132 characters; contains 152 characters
(#80) Line exceeds 132 characters; contains 170 characters
(#137) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Line exceeds 132 characters; contains 161 characters
(#179) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) Inline comments must end in full-stops, exclamation marks, or question marks
local/anonymousposting/lib.php
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Expected "if (...) {\n"; found "if (...){\n"
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
local/anonymousposting/relogin.php
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) 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
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) 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 start with a capital letter, digit or 3-dots sequence
(#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
(#67) 3 slashes comments are not allowed; use "// Comment." instead
local/anonymousposting/settings.php
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
local/anonymousposting/version.php
(#29) 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

(19 errors, 2 warnings)

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

local/anonymousposting/changeuser.php
(#123) Found comment starting with three or more slashes
(#20) Package local is not valid
local/anonymousposting/db/install.php
(#20) Package local is not valid
local/anonymousposting/forum.php
(#20) Package local is not valid
local/anonymousposting/index.php
(#20) Package local is not valid
local/anonymousposting/index_form.php
(#32) Class local_anonymousposting_form is not documented
(#35) Function local_anonymousposting_form::definition is not documented
(#53) Function local_anonymousposting_form::validation is not documented
(#31) Found comment starting with three or more slashes
(#20) Package local is not valid
local/anonymousposting/lang/en/local_anonymousposting.php
(#20) Package local is not valid
local/anonymousposting/layout.php
(#20) Package local is not valid
local/anonymousposting/lib.php
(#17) No one-line description found in phpdocs for file
(#33) Not recommended phpdocs tag @global used
(#33) Not recommended phpdocs tag @global used
(#21) Package local is not valid
local/anonymousposting/relogin.php
(#67) Found comment starting with three or more slashes
(#20) Package local is not valid
local/anonymousposting/settings.php
(#17) No one-line description found in phpdocs for file
(#21) Package local is not valid
local/anonymousposting/version.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]