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

(101 errors, 6 warnings)

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

blocks/forum_aggregator/block_forum_aggregator.php
(#29) Whitespace found at end of line
(#33) Whitespace found at end of line
(#44) Visibility must be declared on method "has_config"
(#47) Whitespace found at end of line
(#51) Whitespace found at end of line
(#55) Whitespace found at end of line
(#57) Whitespace found at end of line
(#61) Whitespace found at end of line
(#62) Whitespace found at end of line
(#66) Whitespace found at end of line
(#76) Line indented incorrectly; expected 16 spaces, found 20
(#78) Line indented incorrectly; expected 16 spaces, found 20
(#79) Whitespace found at end of line
(#80) Line indented incorrectly; expected 16 spaces, found 20
(#83) Line indented incorrectly; expected 16 spaces, found 20
(#84) Whitespace found at end of line
(#85) Variable "max_posts" must not contain underscores.
(#87) Line indented incorrectly; expected 16 spaces, found 20
(#88) Line indented incorrectly; expected 20 spaces, found 24
(#89) Variable "max_posts" must not contain underscores.
(#90) Line indented incorrectly; expected 20 spaces, found 24
(#92) Line indented incorrectly; expected 20 spaces, found 24
(#93) Line indented incorrectly; expected 16 spaces, found 20
(#94) Whitespace found at end of line
(#101) Whitespace found at end of line
(#102) Line indented incorrectly; expected 16 spaces, found 20
(#103) Whitespace found at end of line
(#104) Line indented incorrectly; expected 20 spaces, found 24
(#106) Line indented incorrectly; expected 20 spaces, found 24
(#107) Whitespace found at end of line
(#108) Expected 1 space before "=>"; 0 found
(#109) Line exceeds 132 characters; contains 170 characters
(#110) Whitespace found at end of line
(#117) Variable "max_posts" must not contain underscores.
(#118) Whitespace found at end of line
(#119) Line indented incorrectly; expected 20 spaces, found 24
(#120) Whitespace found at end of line
(#121) Line indented incorrectly; expected 24 spaces, found 28
(#122) Whitespace found at end of line
(#123) Variable "post_style" must not contain underscores.
(#124) Line indented incorrectly; expected 28 spaces, found 32
(#125) Line indented incorrectly; expected 32 spaces, found 36
(#126) Variable "post_style" must not contain underscores.
(#126) Line exceeds maximum limit of 180 characters; contains 206 characters
(#126) Whitespace found at end of line
(#127) Line indented incorrectly; expected 32 spaces, found 36
(#128) Line indented incorrectly; expected 28 spaces, found 32
(#129) Whitespace found at end of line
(#130) Whitespace found at end of line
(#133) Expected 1 space before "=>"; 0 found
(#133) Expected 1 space after "=>"; 0 found
(#134) Whitespace found at end of line
(#135) Variable "post_style" must not contain underscores.
(#138) Expected 1 space before "=>"; 0 found
(#138) Expected 1 space after "=>"; 0 found
(#138) Expected 1 space before "=>"; 0 found
(#138) Expected 1 space after "=>"; 0 found
(#138) Line exceeds 132 characters; contains 167 characters
(#140) Line exceeds maximum limit of 180 characters; contains 182 characters
(#144) Line exceeds maximum limit of 180 characters; contains 188 characters
(#147) Line indented incorrectly; expected 24 spaces, found 28
(#148) Line indented incorrectly; expected 20 spaces, found 24
(#149) Line exceeds 132 characters; contains 147 characters
(#150) Line indented incorrectly; expected 20 spaces, found 24
(#152) Line indented incorrectly; expected 16 spaces, found 20
(#154) Whitespace found at end of line
(#156) Whitespace found at end of line
(#158) Whitespace found at end of line
(#161) Whitespace found at end of line
(#167) Expected "if (...) {\n"; found "if(...) {\n"
blocks/forum_aggregator/db/access.php
(#19) Whitespace found at end of line
(#41) Whitespace found at end of line
(#54) Whitespace found at end of line
blocks/forum_aggregator/edit_form.php
(#21) Whitespace found at end of line
(#29) Whitespace found at end of line
(#31) Whitespace found at end of line
(#36) Whitespace found at end of line
(#38) Whitespace found at end of line
(#40) Whitespace found at end of line
(#44) Whitespace found at end of line
(#45) Commas (,) must be followed by white space.
(#45) Line exceeds 132 characters; contains 180 characters
(#47) Whitespace found at end of line
(#48) Variable "forum_description_html" must not contain underscores.
(#49) Line exceeds 132 characters; contains 157 characters
(#52) Whitespace found at end of line
(#53) Variable "forum_description_html" must not contain underscores.
(#54) Whitespace found at end of line
(#55) Variable "post_array" must not contain underscores.
(#56) Whitespace found at end of line
(#58) Variable "post_array" must not contain underscores.
(#58) Whitespace found at end of line
(#60) Whitespace found at end of line
(#61) Variable "post_array" must not contain underscores.
(#61) Line exceeds 132 characters; contains 142 characters
(#62) Whitespace found at end of line
(#64) Whitespace found at end of line
(#66) Whitespace found at end of line
(#67) Whitespace found at end of line
(#68) Whitespace found at end of line
(#70) Whitespace found at end of line
(#73) Whitespace found at end of line
(#81) Whitespace found at end of line
(#91) Whitespace found at end of line
blocks/forum_aggregator/lang/en/block_forum_aggregator.php
(#18) Whitespace found at end of line
blocks/forum_aggregator/version.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#21) 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

(16 errors, 2 warnings)

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

blocks/forum_aggregator/styles.css
(#2) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#3) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#4) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#14) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#17) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#20) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#21) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#24) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#25) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#28) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#31) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#32) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#33) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#34) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#37) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#40) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#5) Unexpected unit (length-zero-no-unit)
(#5) Unexpected unit (length-zero-no-unit)

PHPDocs style problems

(17 errors, 0 warnings)

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

blocks/forum_aggregator/block_forum_aggregator.php
(#17) File-level phpdocs block is not found
(#28) Class block_forum_aggregator is not documented
(#30) Function block_forum_aggregator::init is not documented
(#34) Function block_forum_aggregator::specialization is not documented
(#44) Function block_forum_aggregator::has_config is not documented
(#48) Function block_forum_aggregator::instance_allow_multiple is not documented
(#52) Function block_forum_aggregator::instance_allow_config is not documented
(#56) Function block_forum_aggregator::get_content is not documented
(#162) Function block_forum_aggregator::instance_config_save is not documented
(#28) Package is not specified for class block_forum_aggregator. It is also not specified in file-level phpdocs
blocks/forum_aggregator/edit_form.php
(#17) File-level phpdocs block is not found
(#28) Class block_forum_aggregator_edit_form is not documented
(#30) Function block_forum_aggregator_edit_form::specific_definition is not documented
(#72) Function block_forum_aggregator_edit_form::get_course_forums is not documented
(#83) Function block_forum_aggregator_edit_form::get_forum_by_id is not documented
(#28) Package is not specified for class block_forum_aggregator_edit_form. It is also not specified in file-level phpdocs
blocks/forum_aggregator/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]


grunt changes

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Task "stylelint:css" failed. Use --force to continue.
Problems running grunt

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]