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

(191 errors, 34 warnings)

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

report/forumkeywords/classes/event/report_viewed.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#70) Line exceeds 132 characters; contains 169 characters
(#79) Line exceeds 132 characters; contains 171 characters
report/forumkeywords/index.php
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#69) Variable "button_content" must not contain underscores.
(#69) Line exceeds 132 characters; contains 153 characters
(#70) Variable "wordcloud_content" must not contain underscores.
(#71) Variable "table_content" must not contain underscores.
(#72) Variable "forum_intro" must not contain underscores.
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Line exceeds 132 characters; contains 153 characters
(#87) Variable "forum_detail" must not contain underscores.
(#88) Variable "forum_detail" must not contain underscores.
(#89) Line indented incorrectly; expected at least 8 spaces, found 6
(#89) Variable "forum_intro" must not contain underscores.
(#90) Line indented incorrectly; expected at least 8 spaces, found 6
(#90) Variable "forum_intro" must not contain underscores.
(#90) Variable "forum_detail" must not contain underscores.
(#90) Expected 1 space before "=>"; 0 found
(#90) Expected 1 space after "=>"; 0 found
(#90) Expected 1 space before "=>"; 0 found
(#90) Expected 1 space after "=>"; 0 found
(#90) Line exceeds 132 characters; contains 157 characters
(#92) Whitespace found at end of line
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Variable "wordcloud_content" must not contain underscores.
(#97) Variable "info_text" must not contain underscores.
(#97) Expected 1 space before "=>"; 0 found
(#97) Expected 1 space after "=>"; 0 found
(#97) Line exceeds 132 characters; contains 141 characters
(#98) Variable "wordcloud_content" must not contain underscores.
(#98) Variable "info_text" must not contain underscores.
(#98) Expected 1 space before "=>"; 0 found
(#98) Expected 1 space after "=>"; 0 found
(#99) Variable "wordcloud_content" must not contain underscores.
(#100) Variable "wordcloud_content" must not contain underscores.
(#100) Expected 1 space before "=>"; 0 found
(#100) Expected 1 space after "=>"; 0 found
(#100) Expected 1 space before "=>"; 0 found
(#100) Expected 1 space after "=>"; 0 found
(#100) Expected 1 space before "=>"; 0 found
(#100) Expected 1 space after "=>"; 0 found
(#100) Line exceeds maximum limit of 180 characters; contains 224 characters
(#101) Variable "wordcloud_content" must not contain underscores.
(#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
(#102) Variable "table_content" must not contain underscores.
(#103) Whitespace found at end of line
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Variable "tfidf_table" must not contain underscores.
(#106) Variable "tfidf_table" must not contain underscores.
(#107) Variable "tfidf_table" must not contain underscores.
(#107) Line exceeds 132 characters; contains 135 characters
(#108) Variable "tfidf_table" must not contain underscores.
(#109) Whitespace found at end of line
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) Variable "all_messages" must not contain underscores.
(#113) Variable "message_plain" must not contain underscores.
(#114) Variable "all_messages" must not contain underscores.
(#114) Variable "message_plain" must not contain underscores.
(#116) Whitespace found at end of line
(#117) Inline comments must start with a capital letter, digit or 3-dots sequence
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Whitespace found at end of line
(#122) Variable "all_messages" must not contain underscores.
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Expected 1 space before "=>"; 0 found
(#124) Expected 1 space after "=>"; 0 found
(#124) Commas (,) must be followed by white space.
(#124) Expected 1 space before "=>"; 0 found
(#124) Expected 1 space after "=>"; 0 found
(#128) Variable "top_k" must not contain underscores.
(#129) Whitespace found at end of line
(#130) Variable "stop_words_path" must not contain underscores.
(#131) Variable "stop_words" must not contain underscores.
(#131) Variable "stop_words_path" must not contain underscores.
(#132) Whitespace found at end of line
(#133) Variable "stop_words_path" must not contain underscores.
(#134) Variable "allowPOS" must be all lower-case
(#135) Variable "all_messages" must not contain underscores.
(#135) Variable "top_k" must not contain underscores.
(#135) Expected 1 space before "=>"; 0 found
(#135) Expected 1 space after "=>"; 0 found
(#135) Variable "allowPOS" must be all lower-case
(#137) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) Inline control structures are not allowed
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) Variable "word_freq" must not contain underscores.
(#149) Variable "word_freq" must not contain underscores.
(#149) Expected 1 space before "=>"; 0 found
(#149) Expected 1 space after "=>"; 0 found
(#149) Expected 1 space before "=>"; 0 found
(#149) Expected 1 space after "=>"; 0 found
(#149) Expected 1 space before "*"; 0 found
(#149) Expected 1 space after "*"; 0 found
(#150) Variable "search_link" must not contain underscores.
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#150) Line exceeds maximum limit of 180 characters; contains 194 characters
(#151) Variable "tfidf_table" must not contain underscores.
(#151) Variable "search_link" must not contain underscores.
(#153) Whitespace found at end of line
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Variable "table_content" must not contain underscores.
(#155) Variable "tfidf_table" must not contain underscores.
(#156) Whitespace found at end of line
(#157) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) Variable "word_freq" must not contain underscores.
(#163) Variable "wordcloud_content" must not contain underscores.
(#171) Variable "button_content" must not contain underscores.
(#172) Variable "forum_intro" must not contain underscores.
(#173) Variable "wordcloud_content" must not contain underscores.
(#174) Variable "table_content" must not contain underscores.
report/forumkeywords/locallib.php
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Whitespace found at end of line
(#37) Whitespace found at end of line
(#39) Whitespace found at end of line
(#41) Whitespace found at end of line
(#43) Line indented incorrectly; expected 8 spaces, found 6
(#44) Line indented incorrectly; expected at least 12 spaces, found 10
(#45) Line indented incorrectly; expected 8 spaces, found 6
(#46) Whitespace found at end of line
(#47) Line indented incorrectly; expected at least 8 spaces, found 6
(#48) Whitespace found at end of line
(#49) Line indented incorrectly; expected 8 spaces, found 6
(#50) Line indented incorrectly; expected at least 12 spaces, found 10
(#51) Line indented incorrectly; expected at least 12 spaces, found 10
(#52) Line indented incorrectly; expected 8 spaces, found 6
(#54) Line indented incorrectly; expected 8 spaces, found 6
(#55) Line indented incorrectly; expected at least 12 spaces, found 10
(#56) Line indented incorrectly; expected at least 12 spaces, found 10
(#57) Line indented incorrectly; expected 8 spaces, found 6
(#58) Whitespace found at end of line
(#59) Line indented incorrectly; expected at least 8 spaces, found 6
(#59) Variable "post_count" must not contain underscores.
(#60) Whitespace found at end of line within string
(#61) Whitespace found at end of line within string
(#62) Whitespace found at end of line within string
(#65) Whitespace found at end of line
(#66) Line indented incorrectly; expected at least 8 spaces, found 6
(#66) Variable "post_count" must not contain underscores.
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Variable "pos_content" must not contain underscores.
(#75) Variable "pos_function" must not contain underscores.
(#76) Variable "pos_special" must not contain underscores.
(#78) Whitespace found at end of line
(#81) Whitespace found at end of line
(#83) Variable "html_pos_content" must not contain underscores.
(#84) Variable "pos_content" must not contain underscores.
(#86) Variable "html_pos_content" must not contain underscores.
(#86) Line exceeds maximum limit of 180 characters; contains 230 characters
(#88) Variable "html_pos_function" must not contain underscores.
(#89) Variable "pos_function" must not contain underscores.
(#91) Variable "html_pos_function" must not contain underscores.
(#91) Line exceeds maximum limit of 180 characters; contains 232 characters
(#93) Variable "html_pos_special" must not contain underscores.
(#94) Variable "pos_special" must not contain underscores.
(#96) Variable "html_pos_special" must not contain underscores.
(#96) Line exceeds maximum limit of 180 characters; contains 230 characters
(#98) Whitespace found at end of line
(#99) Variable "html_row_start" must not contain underscores.
(#100) Variable "html_row_end" must not contain underscores.
(#101) Whitespace found at end of line
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Variable "html_row_start" must not contain underscores.
(#107) Line exceeds 132 characters; contains 158 characters
(#110) Variable "html_row_end" must not contain underscores.
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) Variable "html_row_start" must not contain underscores.
(#114) Line exceeds 132 characters; contains 168 characters
(#115) Variable "html_pos_content" must not contain underscores.
(#117) Variable "html_row_end" must not contain underscores.
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) Variable "html_row_start" must not contain underscores.
(#121) Line exceeds 132 characters; contains 170 characters
(#122) Variable "html_pos_function" must not contain underscores.
(#124) Variable "html_row_end" must not contain underscores.
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
(#126) Variable "html_row_start" must not contain underscores.
(#128) Line exceeds 132 characters; contains 168 characters
(#129) Variable "html_pos_special" must not contain underscores.
(#131) Variable "html_row_end" must not contain underscores.
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#133) Variable "html_row_start" must not contain underscores.
(#138) Variable "html_row_end" must not contain underscores.
(#139) Variable "html_row_start" must not contain underscores.
(#140) Line exceeds 132 characters; contains 136 characters
(#141) Variable "html_row_end" must not contain underscores.
(#143) Whitespace found at end of line
(#147) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) Whitespace found at end of line
(#151) Expected 1 space before "=>"; 0 found
(#151) Expected 1 space after "=>"; 0 found
(#152) Whitespace found at end of line
(#156) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Variable "forum_messages" must not contain underscores.
(#161) Whitespace found at end of line within string
(#162) Whitespace found at end of line within string
(#163) Whitespace found at end of line within string
(#166) Variable "forum_messages" must not contain underscores.
report/forumkeywords/settings.php
(#30) Whitespace found at end of line

Javascript coding style problems

(2 errors, 7 warnings)

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

report/forumkeywords/amd/src/config.js
(#8) There should be no space after '{'. (object-curly-spacing)
(#8) There should be no space before '}'. (object-curly-spacing)
(#9) There should be no space after '{'. (object-curly-spacing)
(#9) There should be no space before '}'. (object-curly-spacing)
report/forumkeywords/amd/src/manage.js
(#13) Comments should not begin with a lowercase character (capitalized-comments)
(#20) Comments should not begin with a lowercase character (capitalized-comments)
(#31) Unexpected use of '~'. (no-bitwise)
(#31) Unexpected use of '~'. (no-bitwise)
(#42) Missing JSDoc comment. (require-jsdoc)

CSS problems

(11 errors, 0 warnings)

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

report/forumkeywords/css/index.css
(#2) Expected indentation of 4 spaces (indentation)
(#5) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#9) Expected indentation of 4 spaces (indentation)
(#12) Expected indentation of 4 spaces (indentation)
(#13) Expected indentation of 4 spaces (indentation)
(#14) Expected indentation of 4 spaces (indentation)
(#15) Expected indentation of 4 spaces (indentation)
(#19) Expected indentation of 4 spaces (indentation)
(#23) Expected indentation of 4 spaces (indentation)
(#27) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(6 errors, 0 warnings)

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

report/forumkeywords/classes/event/report_viewed.php
(#108) Function report_viewed::get_other_mapping is not documented
report/forumkeywords/lib.php
(#27) Function report_forumkeywords_extend_navigation_course is not documented
report/forumkeywords/locallib.php
(#28) Function report_forumkeywords_get_forum_options is not documented
(#72) Function report_forumkeywords_output_action_buttons is not documented
(#148) Function report_forumkeywords_get_forum_detail is not documented
(#157) Function report_forumkeywords_get_forum_posts is not documented

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]

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

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]