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

(30 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
(#28) Visibility must be declared on method "init"
(#32) Visibility must be declared on method "specialization"
(#40) Visibility must be declared on method "html_attributes"
(#48) Visibility must be declared on method "applicable_formats"
(#52) Visibility must be declared on method "has_config"
(#56) Visibility must be declared on method "instance_allow_multiple"
(#60) Visibility must be declared on method "instance_can_be_hidden"
(#64) Visibility must be declared on method "get_content"
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Line exceeds 132 characters; contains 140 characters
(#115) Line exceeds 132 characters; contains 133 characters
(#119) Line exceeds 132 characters; contains 169 characters
(#135) Expected 1 space before "=>"; 0 found
(#135) Expected 1 space after "=>"; 0 found
blocks/login_userinfo/renderer.php
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Expected 1 space before "=>"; 0 found
(#80) Expected 1 space after "=>"; 0 found
(#84) Expected "} else {\n"; found "}\n else {\n"
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Expected 1 space before "=>"; 0 found
(#95) Expected 1 space after "=>"; 0 found
(#99) Line exceeds 132 characters; contains 142 characters
(#101) Expected 1 space before "=>"; 0 found
(#101) Expected 1 space after "=>"; 0 found
(#101) Commas (,) must be followed by white space.
(#101) Expected 1 space before "=>"; 0 found
(#101) Expected 1 space after "=>"; 0 found
(#101) Expected 1 space before "=>"; 0 found
(#101) Expected 1 space after "=>"; 0 found
(#101) Expected 1 space before "=>"; 0 found
(#101) Expected 1 space after "=>"; 0 found
(#101) Line exceeds maximum limit of 180 characters; contains 188 characters
(#102) Expected 1 space before "=>"; 0 found
(#102) Expected 1 space after "=>"; 0 found
(#110) Line exceeds maximum limit of 180 characters; contains 248 characters
(#131) Line exceeds 132 characters; contains 146 characters
(#132) Whitespace found at end of line

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, 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

(11 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
(#27) Class block_login_userinfo is not documented
(#28) Function block_login_userinfo::init is not documented
(#32) Function block_login_userinfo::specialization is not documented
(#40) Function block_login_userinfo::html_attributes is not documented
(#48) Function block_login_userinfo::applicable_formats is not documented
(#52) Function block_login_userinfo::has_config is not documented
(#56) Function block_login_userinfo::instance_allow_multiple is not documented
(#60) Function block_login_userinfo::instance_can_be_hidden is not documented
(#64) Function block_login_userinfo::get_content is not documented
blocks/login_userinfo/renderer.php
(#27) Class block_login_userinfo_renderer is not documented
(#31) Phpdocs for function block_login_userinfo_renderer::login_userinfo 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]