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

(18 errors, 17 warnings)

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

blocks/people/block_people.php
(#29) Visibility must be declared on method "init"
(#33) Visibility must be declared on method "applicable_formats"
(#37) Visibility must be declared on method "has_config"
(#41) Visibility must be declared on method "instance_allow_multiple"
(#45) Visibility must be declared on method "instance_can_be_hidden"
(#49) Visibility must be declared on method "get_content"
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) 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
(#73) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#74) Line exceeds maximum limit of 180 characters; contains 249 characters
(#78) 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
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Line exceeds 132 characters; contains 137 characters
(#114) Line indented incorrectly; expected 20 spaces, found 24
(#115) Line exceeds maximum limit of 180 characters; contains 225 characters
(#116) Line exceeds maximum limit of 180 characters; contains 189 characters
(#118) Line indented incorrectly; expected 20 spaces, found 24
(#120) Line indented incorrectly; expected 20 spaces, found 24
(#121) Line exceeds maximum limit of 180 characters; contains 228 characters
(#122) Line exceeds maximum limit of 180 characters; contains 218 characters
(#124) Line indented incorrectly; expected 20 spaces, found 24
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#144) Line exceeds maximum limit of 180 characters; contains 198 characters
(#145) Line exceeds 132 characters; contains 167 characters
(#149) Expected "} else {\n"; found "}\n else {\n"

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]

blocks/people/styles.css
(#29) 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/people/block_people.php
(#28) Class block_people is not documented
(#29) Function block_people::init is not documented
(#33) Function block_people::applicable_formats is not documented
(#37) Function block_people::has_config is not documented
(#41) Function block_people::instance_allow_multiple is not documented
(#45) Function block_people::instance_can_be_hidden is not documented
(#49) Function block_people::get_content is not documented
(#20) Package block is not valid
blocks/people/db/access.php
(#17) File-level phpdocs block is not found
blocks/people/lang/en/block_people.php
(#17) File-level phpdocs block is not found
blocks/people/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]