Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(161 errors, 127 warnings)

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

mod/nextblocks/backup/moodle2/backup_nextblocks_activity_task.class.php
(#1) End of line character is invalid; expected "\n" but found "\r"
mod/nextblocks/backup/moodle2/backup_nextblocks_stepslib.php
(#1) End of line character is invalid; expected "\n" but found "\r"
mod/nextblocks/backup/moodle2/restore_nextblocks_activity_task.class.php
(#1) End of line character is invalid; expected "\n" but found "\r"
mod/nextblocks/backup/moodle2/restore_nextblocks_stepslib.php
(#1) End of line character is invalid; expected "\n" but found "\r"
mod/nextblocks/chat_server.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/nextblocks/classes/event/course_module_instance_list_viewed.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/nextblocks/classes/form/grade_submit.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/nextblocks/classes/privacy/provider.php
(#1) Moodle boilerplate not found
(#9) Missing @copyright tag
(#9) Missing @license tag
(#9) Missing docblock for class provider
(#14) Missing docblock for function get_metadata
(#14) There must not be a space before the colon in a return type declaration
(#23) There should be a comma after the last array item in a multi-line array.
(#31) Missing docblock for function get_contexts_for_userid
(#31) There must not be a space before the colon in a return type declaration
(#43) There should be a comma after the last array item in a multi-line array.
(#49) Missing docblock for function export_user_data
(#55) Inline control structures are not allowed
(#58) Inline control structures are not allowed
(#62) There should be a comma after the last array item in a multi-line array.
(#71) There should be a comma after the last array item in a multi-line array.
(#83) Missing docblock for function delete_data_for_all_users_in_context
(#86) Inline control structures are not allowed
(#89) There should be a comma after the last array item in a multi-line array.
(#93) Missing docblock for function delete_data_for_user
(#99) Inline control structures are not allowed
(#103) There should be a comma after the last array item in a multi-line array.
(#108) Missing docblock for function get_users_in_context
(#124) Missing docblock for function delete_data_for_users
(#145) File must end with a newline character
mod/nextblocks/db/access.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/nextblocks/db/services.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/nextblocks/externallib.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#75) Whitespace found at end of line
(#90) Whitespace found at end of line
(#119) Whitespace found at end of line
(#188) Inline comments must end in full-stops, exclamation marks, or question marks
(#197) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#202) Expected "if (...) {\n"; found "if(...){\n"
(#203) Expected 1 space before "-"; 0 found
(#203) Expected 1 space after "-"; 0 found
(#206) Whitespace found at end of line
(#211) There should be a comma after the last array item in a multi-line array.
(#219) There should be a comma after the last array item in a multi-line array.
(#251) No one-line description found in phpdocs for docblock of function submit_workspace_parameters
(#264) No one-line description found in phpdocs for docblock of function submit_workspace_returns
(#270) Whitespace found at end of line
(#307) Whitespace found at end of line
(#310) Whitespace found at end of line
(#315) Whitespace found at end of line
(#332) Whitespace found at end of line
(#342) No one-line description found in phpdocs for docblock of function submit_reaction_parameters
(#354) No one-line description found in phpdocs for docblock of function submit_reaction_returns
(#366) Whitespace found at end of line
(#367) Whitespace found at end of line
(#368) Whitespace found at end of line
(#382) Whitespace found at end of line
(#389) No one-line description found in phpdocs for docblock of function save_message_parameters
(#403) No one-line description found in phpdocs for docblock of function save_message_returns
(#409) Whitespace found at end of line
(#424) Whitespace found at end of line
(#441) No one-line description found in phpdocs for docblock of function get_messages_parameters
(#453) No one-line description found in phpdocs for docblock of function get_messages_returns
(#465) Missing docblock for function get_comments_parameters
(#472) Missing docblock for function get_comments
(#477) There should be a comma after the last array item in a multi-line array.
(#490) Whitespace found at end of line within string
(#515) Missing docblock for function get_comments_returns
(#529) Missing docblock for function save_comment_parameters
(#537) Missing docblock for function save_comment
(#543) There should be a comma after the last array item in a multi-line array.
(#562) Missing docblock for function save_comment_returns
(#566) Missing docblock for function get_all_block_comments_parameters
(#568) There should be a comma after the last array item in a multi-line array.
(#572) Missing docblock for function get_all_block_comments
(#585) Missing docblock for function get_all_block_comments_returns
mod/nextblocks/get_comments.php
(#48) Variable "block_id" must not contain underscores.
(#50) Whitespace found at end of line within string
(#56) Variable "block_id" must not contain underscores.
(#59) File must end with a newline character
mod/nextblocks/grade.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/nextblocks/grade_submit.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#33) Expected "if (...) {\n"; found "if(...) {\n"
mod/nextblocks/index.php
(#78) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
mod/nextblocks/lang/en/nextblocks.php
(#31) The string key "modulenameplural" is not in the correct order, it should be before "pluginname"
(#35) The string key "nextblockscreategrading" is not in the correct order, it should be before "settings"
(#38) The string key "nextblockscreatecustomblocks" is not in the correct order, it should be before "nextblocksname_help"
(#40) The string key "nextblockscreateprimitiverestrictions" is not in the correct order, it should be before "nextblockscreatetests"
(#44) The string key "customblocksinput" is not in the correct order, it should be before "testsoutput"
(#46) The string key "customblocksinput_help" is not in the correct order, it should be before "testsoutput_help"
(#49) The string key "nextblocks_run" is not in the correct order, it should be before "nextblocks_submit"
(#54) The string key "testsradiofile" is not in the correct order, it should be before "testsradiolabel"
(#55) The string key "iseval" is not in the correct order, it should be before "testsradiofile"
(#58) The string key "iseval_help" is not in the correct order, it should be before "testsradiotextbox"
(#61) The string key "blockdefinition" is not in the correct order, it should be before "nextblocks_tab_view"
(#65) The string key "blockdefinition_help" is not in the correct order, it should be before "pluginadministration"
(#70) The string key "addanothercustomblock" is not in the correct order, it should be before "blockpythongenerator_help"
(#79) The string key "howmanysubmissions" is not in the correct order, it should be before "maxgrade"
(#83) The string key "blocklimits" is not in the correct order, it should be before "testsfile"
(#86) The string key "limitblock" is not in the correct order, it should be before "testsfile_help"
(#87) The string key "judge0url" is not in the correct order, it should be before "limitblock"
(#89) The string key "judge0token" is not in the correct order, it should be before "judge0urldesc"
(#90) Expected 1 space before "="; 0 found
(#91) The string key "judge0submissionfailed" is not in the correct order, it should be before "judge0tokendesc"
(#94) The string key "testerror" is not in the correct order, it should be before "testnotrun"
(#96) The string key "testfailed" is not in the correct order, it should be before "testpassed"
(#97) The string key "submitsuccess" is not in the correct order, it should be before "testfailed"
(#99) The string key "expectedtestoutput" is not in the correct order, it should be before "testinput"
(#101) The string key "test" is not in the correct order, it should be before "youroutput"
(#102) The string key "errormaxtime" is not in the correct order, it should be before "test"
(#104) The string key "nextblocks:addinstance" is not in the correct order, it should be before "overview"
(#107) The string key "nextblocks:gradeitems" is not in the correct order, it should be before "nextblocks:viewreports"
(#109) The string key "eventcourselistviewed" is not in the correct order, it should be before "nextblocks:isgraded"
(#118) The string key "nextblocksreport" is not in the correct order, it should be before "submissionreport"
(#120) The string key "customblocks" is not in the correct order, it should be before "studentscodegraded"
(#123) The string key "grade" is not in the correct order, it should be before "username"
(#126) The string key "averagegrade" is not in the correct order, it should be before "totalsubmissions"
(#129) The string key "viewaddcomments" is not in the correct order, it should be before "workspacedata"
(#130) The string key "nocomments" is not in the correct order, it should be before "viewaddcomments"
(#131) The string key "blockid" is not in the correct order, it should be before "nocomments"
(#132) The string key "nocomments" is duplicated
(#136) The string key "commentcontent" is not in the correct order, it should be before "userid"
(#138) The string key "firstname" is not in the correct order, it should be before "timestamp"
(#141) The string key "infinite" is not in the correct order, it should be before "sucessstatus"
(#143) Unexpected comment found. Auto-fixing will not work after this comment
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) The string key "privacy:metadata:saved_workspace" is not in the correct order, it should be before "privacy:metadata:userid"
(#148) The string key "privacy:metadata:submissionnumber" is not in the correct order, it should be before "privacy:metadata:submitted_workspace"
(#149) The string key "privacy:metadata:reacted" is not in the correct order, it should be before "privacy:metadata:submissionnumber"
(#150) The string key "privacy:metadata:grade" is not in the correct order, it should be before "privacy:metadata:reacted"
(#152) Unexpected comment found. Auto-fixing will not work after this comment
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#153) The string key "category_logic" is not in the correct order, it should be before "privacy:metadata:grade"
(#157) The string key "category_lists" is not in the correct order, it should be before "category_text"
(#159) The string key "category_functions" is not in the correct order, it should be before "category_variables"
(#161) Unexpected comment found. Auto-fixing will not work after this comment
(#161) Inline comments must start with a capital letter, digit or 3-dots sequence
(#166) The string key "logic_boolean" is not in the correct order, it should be before "logic_operation"
(#170) Unexpected comment found. Auto-fixing will not work after this comment
(#170) Inline comments must start with a capital letter, digit or 3-dots sequence
(#171) The string key "controls_repeat_ext" is not in the correct order, it should be before "logic_ternary"
(#173) The string key "controls_for" is not in the correct order, it should be before "controls_whileUntil"
(#175) The string key "controls_flow_statements" is not in the correct order, it should be before "controls_forEach"
(#177) Unexpected comment found. Auto-fixing will not work after this comment
(#177) Inline comments must start with a capital letter, digit or 3-dots sequence
(#179) The string key "math_arithmetic" is not in the correct order, it should be before "math_number"
(#182) The string key "math_constant" is not in the correct order, it should be before "math_trig"
(#185) The string key "math_on_list" is not in the correct order, it should be before "math_round"
(#186) The string key "math_modulo" is not in the correct order, it should be before "math_on_list"
(#187) The string key "math_constrain" is not in the correct order, it should be before "math_modulo"
(#189) The string key "math_random_float" is not in the correct order, it should be before "math_random_int"
(#190) The string key "math_atan2" is not in the correct order, it should be before "math_random_float"
(#193) Unexpected comment found. Auto-fixing will not work after this comment
(#193) Inline comments must start with a capital letter, digit or 3-dots sequence
(#194) The string key "text" is not in the correct order, it should be before "text_to_number"
(#196) The string key "text_join" is not in the correct order, it should be before "text_multiline"
(#197) The string key "text_append" is not in the correct order, it should be before "text_join"
(#199) The string key "text_isEmpty" is not in the correct order, it should be before "text_length"
(#200) The string key "text_indexOf" is not in the correct order, it should be before "text_isEmpty"
(#201) The string key "text_charAt" is not in the correct order, it should be before "text_indexOf"
(#203) The string key "text_changeCase" is not in the correct order, it should be before "text_getSubstring"
(#205) The string key "text_count" is not in the correct order, it should be before "text_trim"
(#208) The string key "text_print" is not in the correct order, it should be before "text_reverse"
(#209) The string key "text_ask" is not in the correct order, it should be before "text_print"
(#211) Unexpected comment found. Auto-fixing will not work after this comment
(#211) Inline comments must start with a capital letter, digit or 3-dots sequence
(#212) The string key "lists_create_with" is not in the correct order, it should be before "text_ask"
(#214) The string key "lists_length" is not in the correct order, it should be before "lists_repeat"
(#215) The string key "lists_isEmpty" is not in the correct order, it should be before "lists_length"
(#216) The string key "lists_indexOf" is not in the correct order, it should be before "lists_isEmpty"
(#217) The string key "lists_getIndex" is not in the correct order, it should be before "lists_indexOf"
(#219) The string key "lists_getSublist" is not in the correct order, it should be before "lists_setIndex"
(#221) The string key "lists_sort" is not in the correct order, it should be before "lists_split"
(#222) The string key "lists_reverse" is not in the correct order, it should be before "lists_sort"
(#224) Unexpected comment found. Auto-fixing will not work after this comment
(#224) Inline comments must start with a capital letter, digit or 3-dots sequence
(#228) Unexpected comment found. Auto-fixing will not work after this comment
(#228) Inline comments must start with a capital letter, digit or 3-dots sequence
(#229) The string key "procedures_defnoreturn" is not in the correct order, it should be before "variables_set"
(#231) The string key "procedures_callnoreturn" is not in the correct order, it should be before "procedures_defreturn"
(#233) Unexpected string end, it should be a line feed after a semicolon
(#233) File must end with a newline character
mod/nextblocks/lib.php
(#92) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#94) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (.Save blockimts)
(#99) Variable "infinite_field" must not contain underscores.
(#101) Variable "infinite_field" must not contain underscores.
(#197) Expected "if (...) {\n"; found "if(...) {\n"
(#202) Expected "if (...) {\n"; found "if(...) {\n"
(#284) Variable "new_txt_fileinfo" must not contain underscores.
(#293) Variable "existing_file" must not contain underscores.
(#294) Variable "new_txt_fileinfo" must not contain underscores.
(#295) Variable "new_txt_fileinfo" must not contain underscores.
(#296) Variable "new_txt_fileinfo" must not contain underscores.
(#297) Variable "new_txt_fileinfo" must not contain underscores.
(#298) Variable "new_txt_fileinfo" must not contain underscores.
(#299) Variable "new_txt_fileinfo" must not contain underscores.
(#302) Variable "existing_file" must not contain underscores.
(#303) Variable "existing_file" must not contain underscores.
(#306) Variable "new_txt_file" must not contain underscores.
(#306) Variable "new_txt_fileinfo" must not contain underscores.
(#319) Whitespace found at end of line
(#348) Whitespace found at end of line
(#373) Whitespace found at end of line
(#430) Whitespace found at end of line
(#468) Variable "inputName" must be all lower-case
(#477) Variable "inputName" must be all lower-case
(#506) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (.Update blockims)
(#513) Variable "infinite_field" must not contain underscores.
(#515) Inline comments must end in full-stops, exclamation marks, or question marks
(#516) Variable "infinite_field" must not contain underscores.
(#517) Inline comments must end in full-stops, exclamation marks, or question marks
(#533) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (.Update sfil)
(#537) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (.Update cusomblk)
mod/nextblocks/mod_form.php
(#77) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (.< Testab>/)
(#97) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (.< CustomBlckab>/)
(#101) Whitespace found at end of line
(#159) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (.< Blockimtsab>/)
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) Inline comments must end in full-stops, exclamation marks, or question marks
(#183) Commas (,) must be followed by white space.
(#186) Inline comments must end in full-stops, exclamation marks, or question marks
(#193) Expected 1 space before "=>"; 0 found
(#193) Commas (,) must be followed by white space.
(#204) Inline comments must end in full-stops, exclamation marks, or question marks
(#224) Inline comments must end in full-stops, exclamation marks, or question marks
(#239) Inline comments must end in full-stops, exclamation marks, or question marks
(#245) Inline comments must end in full-stops, exclamation marks, or question marks
(#249) Commas (,) must be followed by white space.
(#256) Variable "existing_limits" must not contain underscores.
(#259) Variable "existing_limits" must not contain underscores.
(#271) Variable "infinite_field" must not contain underscores.
(#274) Variable "infinite_field" must not contain underscores.
(#276) Variable "text_element" must not contain underscores.
(#279) Variable "text_element" must not contain underscores.
(#284) Variable "existing_limits" must not contain underscores.
(#285) Variable "infinite_field" must not contain underscores.
(#286) Variable "existing_limits" must not contain underscores.
(#288) Variable "infinite_field" must not contain underscores.
(#288) Inline comments must end in full-stops, exclamation marks, or question marks
(#288) This comment is 50% valid code; is this commented out code?
(#295) Expected "if (...) {\n"; found "if(...) {\n"
(#310) Variable "infinite_field" must not contain underscores.
(#313) Variable "infinite_field" must not contain underscores.
(#315) Variable "text_element" must not contain underscores.
(#318) Variable "text_element" must not contain underscores.
(#323) Variable "existing_limits" must not contain underscores.
(#324) Variable "infinite_field" must not contain underscores.
(#325) Variable "existing_limits" must not contain underscores.
(#327) Variable "infinite_field" must not contain underscores.
(#327) Inline comments must end in full-stops, exclamation marks, or question marks
(#327) This comment is 50% valid code; is this commented out code?
(#342) The use of backticks in strings is not recommended
(#343) Whitespace found at end of line within string
(#349) Whitespace found at end of line within string
(#351) Whitespace found at end of line within string
(#355) Whitespace found at end of line within string
(#359) Whitespace found at end of line within string
(#374) Whitespace found at end of line within string
(#375) Whitespace found at end of line within string
(#379) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (.< Submisonta>/)
(#392) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (.< Gradingtb>/)
(#403) Missing docblock for function data_preprocessing
(#417) There should be a comma after the last array item in a multi-line array.
(#440) Empty CATCH statement detected
mod/nextblocks/overview.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#60) Expected 1 space before "=>"; 0 found
mod/nextblocks/report.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#89) Whitespace found at end of line
(#114) Whitespace found at end of line
mod/nextblocks/save_comment.php
(#47) Variable "block_id" must not contain underscores.
(#51) Variable "block_id" must not contain underscores.
(#58) File must end with a newline character
mod/nextblocks/toolbox.php
(#311) The use of backticks in strings is not recommended
(#321) The use of backticks in strings is not recommended
(#331) The use of backticks in strings is not recommended
(#341) The use of backticks in strings is not recommended
mod/nextblocks/view.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#54) Variable "blocklyPath" must be all lower-case
(#56) Variable "blocklyPath" must be all lower-case
(#57) Variable "blocklyPath" must be all lower-case
(#58) Variable "blocklyPath" must be all lower-case
(#59) Variable "blocklyPath" must be all lower-case
(#60) Variable "blocklyPath" must be all lower-case
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) Whitespace found at end of line

Javascript coding style problems

(0 errors, 67 warnings)

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

mod/nextblocks/amd/src/chat.js
(#35) Expected catch,fail,always() or return (promise/catch-or-return)
mod/nextblocks/amd/src/codeenv.js
(#9) Unused eslint-disable directive (no problems were reported from 'max-len').
(#370) Expected catch,fail,always() or return (promise/catch-or-return)
(#370) Each then() should return a value or throw (promise/always-return)
(#371) Unexpected alert. (no-alert)
(#429) Expected catch,fail,always() or return (promise/catch-or-return)
(#429) Each then() should return a value or throw (promise/always-return)
(#480) Expected catch,fail,always() or return (promise/catch-or-return)
(#480) Each then() should return a value or throw (promise/always-return)
(#582) Identifier 'text_print' is not in camel case. (camelcase)
(#594) Identifier 'text_ask' is not in camel case. (camelcase)
(#604) Identifier 'text_ask' is not in camel case. (camelcase)
(#614) ["text_ask"] is better written in dot notation. (dot-notation)
(#626) Identifier 'text_to_number' is not in camel case. (camelcase)
(#636) Identifier 'text_to_number' is not in camel case. (camelcase)
(#646) ["text_to_number"] is better written in dot notation. (dot-notation)
(#658) Identifier 'number_input' is not in camel case. (camelcase)
(#670) Identifier 'text_input' is not in camel case. (camelcase)
(#683) Identifier 'text_multiline_input' is not in camel case. (camelcase)
(#716) Identifier 'number_input' is not in camel case. (camelcase)
(#723) Identifier 'text_input' is not in camel case. (camelcase)
(#730) Identifier 'text_multiline_input' is not in camel case. (camelcase)
(#798) Expected catch,fail,always() or return (promise/catch-or-return)
(#798) Each then() should return a value or throw (promise/always-return)
(#800) Unexpected space before function parentheses. (space-before-function-paren)
(#803) Unexpected space before function parentheses. (space-before-function-paren)
(#809) Unexpected space before function parentheses. (space-before-function-paren)
(#872) Missing space before opening brace. (space-before-blocks)
(#880) There should be no space after '{'. (@babel/object-curly-spacing)
(#909) Expected catch,fail,always() or return (promise/catch-or-return)
(#909) Each then() should return a value or throw (promise/always-return)
(#910) Operator '+' must be spaced. (space-infix-ops)
(#910) Operator '+' must be spaced. (space-infix-ops)
(#921) Missing space before opening brace. (space-before-blocks)
(#929) Missing space before opening brace. (space-before-blocks)
(#984) Missing space before opening brace. (space-before-blocks)
(#996) Missing space before opening brace. (space-before-blocks)
(#1024) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#1025) Expected space(s) after "else". (keyword-spacing)
(#1058) Comments should not begin with a lowercase character. (capitalized-comments)
(#1058) Expected space or tab after '//' in comment. (spaced-comment)
(#1127) Missing space before opening brace. (space-before-blocks)
(#1132) Missing space before opening brace. (space-before-blocks)
(#1137) Missing space before opening brace. (space-before-blocks)
(#1167) Comments should not begin with a lowercase character. (capitalized-comments)
(#1167) Expected space or tab after '//' in comment. (spaced-comment)
(#1255) Unexpected space before function parentheses. (space-before-function-paren)
(#1267) Unexpected space before function parentheses. (space-before-function-paren)
(#1364) Unreachable code. (no-unreachable)
mod/nextblocks/amd/src/codestring.js
(#147) Missing space before opening brace. (space-before-blocks)
(#162) Expected space(s) after "if". (keyword-spacing)
(#179) Expected space(s) after "if". (keyword-spacing)
(#179) Statement inside of curly braces should be on next line. (brace-style)
(#179) Missing space before opening brace. (space-before-blocks)
(#179) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
mod/nextblocks/amd/src/lib.js
(#187) Expected catch,fail,always() or return (promise/catch-or-return)
(#187) Each then() should return a value or throw (promise/always-return)
(#187) Requires a space after '{'. (block-spacing)
(#187) Statement inside of curly braces should be on next line. (brace-style)
(#187) Requires a space before '}'. (block-spacing)
(#187) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
mod/nextblocks/amd/src/repository.js
(#11) Identifier 'saved_workspace' is not in camel case. (camelcase)
(#16) Identifier 'saved_workspace' is not in camel case. (camelcase)
(#16) Identifier 'saved_workspace' is not in camel case. (camelcase)
(#22) Identifier 'submitted_workspace' is not in camel case. (camelcase)
(#27) Identifier 'submitted_workspace' is not in camel case. (camelcase)
(#27) Identifier 'submitted_workspace' is not in camel case. (camelcase)

CSS problems

(18 errors, 2 warnings)

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

mod/nextblocks/styles.css
(#177) Expected "#FF5722" to be "#ff5722" (color-hex-case)
(#139) Expected "#66ff66" to be "#6f6" (color-hex-length)
(#2) Unexpected !important (declaration-no-important)
(#102) Unexpected !important (declaration-no-important)
(#114) Unexpected !important (declaration-no-important)
(#115) Unexpected !important (declaration-no-important)
(#119) Unexpected !important (declaration-no-important)
(#120) Unexpected !important (declaration-no-important)
(#124) Unexpected !important (declaration-no-important)
(#125) Unexpected !important (declaration-no-important)
(#129) Unexpected !important (declaration-no-important)
(#130) Unexpected !important (declaration-no-important)
(#134) Unexpected !important (declaration-no-important)
(#135) Unexpected !important (declaration-no-important)
(#139) Unexpected !important (declaration-no-important)
(#168) Unexpected !important (declaration-no-important)
(#173) Unexpected !important (declaration-no-important)
(#143) Expected single space after "," in a single-line function (function-comma-space-after)
(#143) Expected single space after "," in a single-line function (function-comma-space-after)
(#143) Expected single space after "," in a single-line function (function-comma-space-after)

PHPDocs style problems

(14 errors, 0 warnings)

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

mod/nextblocks/chat_server.php
(#156) Phpdocs for function Chat_Server::unmask has incomplete parameters list
(#193) Phpdocs for function Chat_Server::pack_data has incomplete parameters list
(#214) Phpdocs for function Chat_Server::handshake has incomplete parameters list
mod/nextblocks/externallib.php
(#100) Phpdocs for function mod_nextblocks_external::submit_workspace has incomplete parameters list
(#143) Phpdocs for function mod_nextblocks_external::auto_grade has incomplete parameters list
(#271) Phpdocs for function mod_nextblocks_external::submit_reaction has incomplete parameters list
(#367) Phpdocs for function mod_nextblocks_external::save_message has incomplete parameters list
(#410) Phpdocs for function mod_nextblocks_external::get_messages has incomplete parameters list
mod/nextblocks/lib.php
(#123) Phpdocs for function nextblocks_update_grades has incomplete parameters list
(#138) Phpdocs for function nextblocks_grade_item_update has incomplete parameters list
(#229) Phpdocs for function nextblocks_file_structure_is_valid has incomplete parameters list
(#570) Phpdocs for function nextblocks_console_log has incomplete parameters list
mod/nextblocks/mod_form.php
(#102) Phpdocs for function mod_nextblocks_mod_form::addcustomblockinputs has incomplete parameters list
(#429) Phpdocs for function mod_nextblocks_mod_form::validation has incomplete parameters list

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]

mod/nextblocks/templates/nextblocks.mustache
(#1) HTML Validation info, line 15: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input id="showCodeButton" type="submit" class="btn btn-primary m-2" value="Toggle text code"/> )
(#1) HTML Validation info, line 54: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input id="runButton" type="submit" class="btn btn-primary m-2" value="((+nextblocks_run%2C+mod_nextblocks+))" /> )
(#1) HTML Validation info, line 62: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input type="text" id="input-box" placeholder="Enter your answer here" style="display: none; position: absolute; top: 10px; left: 10px; z-index: 1000; width: 90%;" /> )
(#1) HTML Validation info, line 69: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input id="saveButton" type="submit" class="btn btn-primary m-2" value="((+nextblocks_save%2C+mod_nextblocks+))"/> )
(#1) HTML Validation info, line 70: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input id="cancelButton" type="submit" class="btn btn-primary m-2" value="((+nextblocks_cancel%2C+mod_nextblocks+))"/> )

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]