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

(117 errors, 31 warnings)

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

blocks/forum_aggregator/block_forum_aggregator.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#25) Whitespace found at end of line
(#29) Whitespace found at end of line
(#40) Visibility must be declared on method "has_config"
(#43) Whitespace found at end of line
(#47) Whitespace found at end of line
(#51) Whitespace found at end of line
(#53) Whitespace found at end of line
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) No space found before comment text; expected "// Include needed libraries" but found "//Include needed libraries"
(#57) Whitespace found at end of line
(#58) Whitespace found at end of line
(#62) Whitespace found at end of line
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) No space found before comment text; expected "// course mod data" but found "//course mod data"
(#71) Inline comments must start with a capital letter, digit or 3-dots sequence
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) No space found before comment text; expected "// if forum not been made available" but found "//if forum not been made available"
(#72) Line indented incorrectly; expected 16 spaces, found 20
(#74) Line indented incorrectly; expected 16 spaces, found 20
(#75) Whitespace found at end of line
(#76) Line indented incorrectly; expected 16 spaces, found 20
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) No space found before comment text; expected "// maybe someone deleted a forum? then skip that value.." but found "//maybe someone deleted a forum? then skip that value.."
(#79) Line indented incorrectly; expected 16 spaces, found 20
(#80) Whitespace found at end of line
(#81) Variable "max_posts" must not contain underscores.
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) No space found before comment text; expected "// if post in array get the maxpost value" but found "//if post in array get the maxpost value"
(#83) Line indented incorrectly; expected 16 spaces, found 20
(#84) Line indented incorrectly; expected 20 spaces, found 24
(#85) Variable "max_posts" must not contain underscores.
(#86) Line indented incorrectly; expected 20 spaces, found 24
(#88) Line indented incorrectly; expected 20 spaces, found 24
(#89) Line indented incorrectly; expected 16 spaces, found 20
(#90) Whitespace found at end of line
(#97) Whitespace found at end of line
(#98) Inline comments must start with a capital letter, digit or 3-dots sequence
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) No space found before comment text; expected "// if visible" but found "//if visible"
(#99) Line indented incorrectly; expected 16 spaces, found 20
(#100) Whitespace found at end of line
(#101) Line indented incorrectly; expected 20 spaces, found 24
(#103) Line indented incorrectly; expected 20 spaces, found 24
(#105) Inline comments must start with a capital letter, digit or 3-dots sequence
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) No space found before comment text; expected "// show list" but found "//show list"
(#105) Whitespace found at end of line
(#106) Expected 1 space before "=>"; 0 found
(#107) Line exceeds 132 characters; contains 170 characters
(#108) Whitespace found at end of line
(#115) Variable "max_posts" must not contain underscores.
(#116) Whitespace found at end of line
(#117) Line indented incorrectly; expected 20 spaces, found 24
(#118) Whitespace found at end of line
(#119) Line indented incorrectly; expected 24 spaces, found 28
(#120) Whitespace found at end of line
(#121) Variable "post_style" must not contain underscores.
(#122) Line indented incorrectly; expected 28 spaces, found 32
(#123) Line indented incorrectly; expected 32 spaces, found 36
(#124) Variable "post_style" must not contain underscores.
(#124) Line exceeds maximum limit of 180 characters; contains 206 characters
(#124) Whitespace found at end of line
(#125) Line indented incorrectly; expected 32 spaces, found 36
(#126) Line indented incorrectly; expected 28 spaces, found 32
(#127) Whitespace found at end of line
(#128) Whitespace found at end of line
(#131) Expected 1 space before "=>"; 0 found
(#131) Expected 1 space after "=>"; 0 found
(#132) Whitespace found at end of line
(#133) Variable "post_style" must not contain underscores.
(#136) Expected 1 space before "=>"; 0 found
(#136) Expected 1 space after "=>"; 0 found
(#136) Expected 1 space before "=>"; 0 found
(#136) Expected 1 space after "=>"; 0 found
(#136) Line exceeds 132 characters; contains 167 characters
(#138) Line exceeds maximum limit of 180 characters; contains 182 characters
(#142) Line exceeds maximum limit of 180 characters; contains 188 characters
(#145) Line indented incorrectly; expected 24 spaces, found 28
(#146) Line indented incorrectly; expected 20 spaces, found 24
(#147) Line exceeds 132 characters; contains 147 characters
(#148) Line indented incorrectly; expected 20 spaces, found 24
(#150) Line indented incorrectly; expected 16 spaces, found 20
(#152) Whitespace found at end of line
(#154) Whitespace found at end of line
(#156) Whitespace found at end of line
(#159) Whitespace found at end of line
(#164) Inline comments must end in full-stops, exclamation marks, or question marks
(#165) Expected "if (...) {\n"; found "if(...) {\n"
(#173) A closing tag is not permitted at the end of a PHP file
blocks/forum_aggregator/db/access.php
(#40) Whitespace found at end of line
(#53) Whitespace found at end of line
blocks/forum_aggregator/edit_form.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#25) Whitespace found at end of line
(#27) Whitespace found at end of line
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) No space found before comment text; expected "// block settings title" but found "//block settings title"
(#30) Whitespace found at end of line
(#30) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#31) Whitespace found at end of line
(#34) Whitespace found at end of line
(#36) Whitespace found at end of line
(#38) Whitespace found at end of line
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) No space found before comment text; expected "// forum title" but found "//forum title"
(#43) Whitespace found at end of line
(#44) Commas (,) must be followed by white space.
(#44) Line exceeds 132 characters; contains 180 characters
(#46) Whitespace found at end of line
(#47) Variable "forum_description_html" must not contain underscores.
(#48) Line exceeds 132 characters; contains 157 characters
(#51) Whitespace found at end of line
(#52) Variable "forum_description_html" must not contain underscores.
(#53) Whitespace found at end of line
(#54) Variable "post_array" must not contain underscores.
(#55) Whitespace found at end of line
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) No space found before comment text; expected "// from 0 to 25" but found "//from 0 to 25"
(#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
(#71) Inline comments must start with a capital letter, digit or 3-dots sequence
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) No space found before comment text; expected "// get course forums" but found "//get course forums"
(#73) Whitespace found at end of line
(#81) Whitespace found at end of line
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) No space found before comment text; expected "// get selected forum data by id" but found "//get selected forum data by id"
(#91) Whitespace found at end of line
(#94) A closing tag is not permitted at the end of a PHP file
blocks/forum_aggregator/lang/en/block_forum_aggregator.php
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) No space found before comment text; expected "// Help strings" but found "//Help strings"
blocks/forum_aggregator/version.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#28) Inline comments must end in full-stops, exclamation marks, or question marks

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

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


PHPDocs style problems

(23 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
(#24) File-level phpdocs block is not found
(#24) Class block_forum_aggregator is not documented
(#26) Function block_forum_aggregator::init is not documented
(#30) Function block_forum_aggregator::specialization is not documented
(#40) Function block_forum_aggregator::has_config is not documented
(#44) Function block_forum_aggregator::instance_allow_multiple is not documented
(#48) Function block_forum_aggregator::instance_allow_config is not documented
(#52) Function block_forum_aggregator::get_content is not documented
(#160) Function block_forum_aggregator::instance_config_save is not documented
(#24) Package is not specified for class block_forum_aggregator. It is also not specified in file-level phpdocs
(#17) Package block is not valid
blocks/forum_aggregator/db/access.php
(#17) No one-line description found in phpdocs for file
blocks/forum_aggregator/edit_form.php
(#24) File-level phpdocs block is not found
(#24) Class block_forum_aggregator_edit_form is not documented
(#26) 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
(#24) Package is not specified for class block_forum_aggregator_edit_form. It is also not specified in file-level phpdocs
(#17) Package block is not valid
blocks/forum_aggregator/lang/en/block_forum_aggregator.php
(#24) File-level phpdocs block is not found
(#17) Package block is not valid
blocks/forum_aggregator/version.php
(#24) File-level phpdocs block is not found
(#17) Package block is not valid

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]