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

(39 errors, 11 warnings)

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

blocks/login_userinfo/block_login_userinfo.php
(#29) Visibility must be declared on method "init"
(#33) Visibility must be declared on method "specialization"
(#37) Expected "} else {\n"; found "}\n else {\n"
(#42) Visibility must be declared on method "html_attributes"
(#46) Expected "} else {\n"; found "}\n else {\n"
(#51) Visibility must be declared on method "applicable_formats"
(#55) Visibility must be declared on method "has_config"
(#59) Visibility must be declared on method "instance_allow_multiple"
(#63) Visibility must be declared on method "instance_can_be_hidden"
(#67) Visibility must be declared on method "get_content"
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) Line exceeds 132 characters; contains 140 characters
(#118) Line exceeds 132 characters; contains 133 characters
(#122) Line exceeds 132 characters; contains 169 characters
(#137) Expected "} else {\n"; found "}\n else {\n"
(#139) Expected 1 space before "=>"; 0 found
(#139) Expected 1 space after "=>"; 0 found
blocks/login_userinfo/renderer.php
(#58) Expected "} else {\n"; found "}\n else {\n"
(#62) Expected "} else {\n"; found "}\n else {\n"
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Expected "} else {\n"; found "}\n else {\n"
(#84) Expected 1 space before "=>"; 0 found
(#84) Expected 1 space after "=>"; 0 found
(#88) Expected "} else {\n"; found "}\n else {\n"
(#98) Expected "} else if (...) {\n"; found "}\n else if (...) { // Has switched roles\n"
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Expected 1 space before "=>"; 0 found
(#100) Expected 1 space after "=>"; 0 found
(#104) Line exceeds 132 characters; contains 142 characters
(#106) Expected 1 space before "=>"; 0 found
(#106) Expected 1 space after "=>"; 0 found
(#106) Commas (,) must be followed by white space.
(#106) Expected 1 space before "=>"; 0 found
(#106) Expected 1 space after "=>"; 0 found
(#106) Expected 1 space before "=>"; 0 found
(#106) Expected 1 space after "=>"; 0 found
(#106) Expected 1 space before "=>"; 0 found
(#106) Expected 1 space after "=>"; 0 found
(#106) Line exceeds maximum limit of 180 characters; contains 188 characters
(#107) Expected 1 space before "=>"; 0 found
(#107) Expected 1 space after "=>"; 0 found
(#112) Expected "} else {\n"; found "}\n else {\n"
(#116) Line exceeds maximum limit of 180 characters; contains 248 characters
(#120) Expected "} else {\n"; found "}\n else {\n"
(#138) Line exceeds 132 characters; contains 146 characters
(#139) Line exceeds maximum limit of 180 characters; contains 194 characters

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

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

blocks/login_userinfo/styles.css
(#32) Use of !important
(#36) Use of !important

PHPDocs style problems

(16 errors, 0 warnings)

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

blocks/login_userinfo/block_login_userinfo.php
(#28) Class block_login_userinfo is not documented
(#29) Function block_login_userinfo::init is not documented
(#33) Function block_login_userinfo::specialization is not documented
(#42) Function block_login_userinfo::html_attributes is not documented
(#51) Function block_login_userinfo::applicable_formats is not documented
(#55) Function block_login_userinfo::has_config is not documented
(#59) Function block_login_userinfo::instance_allow_multiple is not documented
(#63) Function block_login_userinfo::instance_can_be_hidden is not documented
(#67) Function block_login_userinfo::get_content is not documented
(#20) Package block is not valid
blocks/login_userinfo/db/access.php
(#17) File-level phpdocs block is not found
blocks/login_userinfo/lang/en/block_login_userinfo.php
(#17) File-level phpdocs block is not found
blocks/login_userinfo/renderer.php
(#28) Class block_login_userinfo_renderer is not documented
(#32) Phpdocs for function block_login_userinfo_renderer::login_userinfo has incomplete parameters list
(#20) Package block is not valid
blocks/login_userinfo/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]