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

(23 errors, 18 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
(#110) Line indented incorrectly; expected 20 spaces, found 24
(#111) Line exceeds 132 characters; contains 145 characters
(#112) Line indented incorrectly; expected 20 spaces, found 24
(#113) Line indented incorrectly; expected 20 spaces, found 24
(#113) Expected "} else {\n"; found "}\n else {\n"
(#114) Line exceeds 132 characters; contains 146 characters
(#115) Line indented incorrectly; expected 20 spaces, found 24
(#123) Line indented incorrectly; expected 20 spaces, found 24
(#124) Line exceeds maximum limit of 180 characters; contains 225 characters
(#125) Line exceeds maximum limit of 180 characters; contains 189 characters
(#127) Line indented incorrectly; expected 20 spaces, found 24
(#129) Line indented incorrectly; expected 20 spaces, found 24
(#130) Line exceeds maximum limit of 180 characters; contains 228 characters
(#131) Line exceeds maximum limit of 180 characters; contains 218 characters
(#133) Line indented incorrectly; expected 20 spaces, found 24
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#144) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#153) Line exceeds maximum limit of 180 characters; contains 198 characters
(#154) Line exceeds 132 characters; contains 167 characters
(#158) 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
(#35) 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]