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

(75 errors, 64 warnings)

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

local/qtracker/backup/moodle2/backup_local_qtracker_plugin.class.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) Commas (,) must be followed by white space.
(#78) Commas (,) must be followed by white space.
(#79) Commas (,) must be followed by white space.
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Commas (,) must be followed by white space.
(#125) Commas (,) must be followed by white space.
(#126) Commas (,) must be followed by white space.
local/qtracker/backup/moodle2/restore_local_qtracker_plugin.class.php
(#29) Inline doc block comments are not allowed; use "// Comment." instead
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) No space found before comment text; expected "// plugin_local_qtracker_question" but found "//plugin_local_qtracker_question"
local/qtracker/classes/event/course_module_deleted_observer.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/qtracker/classes/event/question_deleted_observer.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/qtracker/classes/external/delete_issue_relation.php
(#101) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#128) Expected 6 space(s) before asterisk; 5 found
(#129) Expected 6 space(s) before asterisk; 5 found
(#130) Expected 6 space(s) before asterisk; 5 found
(#131) Expected 6 space(s) before asterisk; 5 found
(#132) Expected 6 space(s) before asterisk; 5 found
local/qtracker/classes/external/get_issue_children.php
(#100) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#132) Expected 6 space(s) before asterisk; 5 found
(#133) Expected 6 space(s) before asterisk; 5 found
(#134) Expected 6 space(s) before asterisk; 5 found
(#135) Expected 6 space(s) before asterisk; 5 found
(#136) Expected 6 space(s) before asterisk; 5 found
local/qtracker/classes/external/get_issue_parents.php
(#91) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#101) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#134) Expected 6 space(s) before asterisk; 5 found
(#135) Expected 6 space(s) before asterisk; 5 found
(#136) Expected 6 space(s) before asterisk; 5 found
(#137) Expected 6 space(s) before asterisk; 5 found
(#138) Expected 6 space(s) before asterisk; 5 found
local/qtracker/classes/external/get_issues.php
(#105) Commas (,) must be followed by white space.
(#181) Expected 1 space before "="; 0 found
(#182) Expected 1 space before "="; 0 found
local/qtracker/classes/external/helper.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/qtracker/classes/external/issue_comment_exporter.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/qtracker/classes/external/issue_exporter.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/qtracker/classes/external/reference_exporter.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/qtracker/classes/external/set_issue_relation.php
(#101) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#128) Expected 6 space(s) before asterisk; 5 found
(#129) Expected 6 space(s) before asterisk; 5 found
(#130) Expected 6 space(s) before asterisk; 5 found
(#131) Expected 6 space(s) before asterisk; 5 found
(#132) Expected 6 space(s) before asterisk; 5 found
local/qtracker/classes/form/view/new_issue_form.php
(#47) Possible useless method overriding detected
(#75) Visibility must be declared on method "validation"
local/qtracker/classes/issue.php
(#248) Must use "self::" for local static member reference
(#262) Must use "self::" for local static member reference
(#344) Inline comments must start with a capital letter, digit or 3-dots sequence
(#344) This comment is 56% valid code; is this commented out code?
local/qtracker/classes/issue_comment.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#168) Inline comments must start with a capital letter, digit or 3-dots sequence
(#168) This comment is 60% valid code; is this commented out code?
local/qtracker/classes/output/email/issue_comment_email.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/qtracker/classes/output/email/renderer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/qtracker/classes/output/email/renderer_textemail.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/qtracker/classes/output/issue_registration_block.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#145) Inline comments must start with a capital letter, digit or 3-dots sequence
(#145) This comment is 63% valid code; is this commented out code?
local/qtracker/classes/output/question_issue_page.php
(#123) This comment is 68% valid code; is this commented out code?
(#123) Line indented incorrectly; expected at least 12 spaces, found 0
(#142) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#176) Inline comments must start with a capital letter, digit or 3-dots sequence
(#176) This comment is 63% valid code; is this commented out code?
(#176) No space found before comment text; expected "// $linkedissues->items = $links;" but found "//$linkedissues->items = $links;"
(#179) This comment is 61% valid code; is this commented out code?
(#190) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#192) 3 slashes comments are not allowed; use "// Comment." instead
(#192) Blank comments are not allowed
(#214) Line indented incorrectly; expected at least 8 spaces, found 0
(#214) 3 slashes comments are not allowed; use "// Comment." instead
(#214) Blank comments are not allowed
(#222) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#233) Functions must not contain multiple empty lines in a row; found 2 empty lines
local/qtracker/classes/output/question_issues_page.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#80) Functions must not contain multiple empty lines in a row; found 2 empty lines
local/qtracker/classes/output/question_issues_table.php
(#51) Variable "manuallySorted" must be all lower-case
(#112) Inline comments must start with a capital letter, digit or 3-dots sequence
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) Functions must not contain multiple empty lines in a row; found 2 empty lines
local/qtracker/classes/output/questions_page.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#75) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#97) Functions must not contain multiple empty lines in a row; found 3 empty lines
local/qtracker/classes/output/questions_table.php
(#53) Variable "manuallySorted" must be all lower-case
(#64) Variable "manuallySorted" must be all lower-case
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) Variable "manuallySorted" must be all lower-case
(#150) Variable "manuallySorted" must be all lower-case
(#229) Inline comments must start with a capital letter, digit or 3-dots sequence
(#229) This comment is 53% valid code; is this commented out code?
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#247) Inline comments must start with a capital letter, digit or 3-dots sequence
(#247) This comment is 55% valid code; is this commented out code?
(#250) Inline comments must end in full-stops, exclamation marks, or question marks
local/qtracker/classes/output/renderer.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/qtracker/classes/privacy/provider.php
(#43) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#93) Line exceeds maximum limit of 180 characters; contains 189 characters
(#140) Inline comments must start with a capital letter, digit or 3-dots sequence
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) This comment is 70% valid code; is this commented out code?
(#140) No space found before comment text; expected "// writer::with_context($context)->export_area_files($subcontext, 'local_qtracker', 'description', $issue->id);" but found "//writer::with_context($context)->export_area_files($subcontext, 'local_qtracker', 'description', $issue->id);"
(#170) Commas (,) must be followed by white space.
(#176) Inline comments must start with a capital letter, digit or 3-dots sequence
(#176) Inline comments must end in full-stops, exclamation marks, or question marks
(#176) This comment is 70% valid code; is this commented out code?
(#176) No space found before comment text; expected "// writer::with_context($context)->export_area_files($subcontext, 'local_qtracker', 'description', $comment->id);" but found "//writer::with_context($context)->export_area_files($subcontext, 'local_qtracker', 'description', $comment->id);"
local/qtracker/db/access.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/qtracker/db/messages.php
(#1) The first thing in a PHP file must be the <?php tag.
(#2) Additional whitespace found at start of file
local/qtracker/db/upgrade.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/qtracker/issue.php
(#47) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
local/qtracker/issues.php
(#35) Variable "manuallySorted" must be all lower-case
(#38) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#66) Variable "manuallySorted" must be all lower-case
local/qtracker/lang/en/local_qtracker.php
(#75) Expected 1 space after "="; 0 found
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) No space found before comment text; expected "// TODO clean up the text" but found "//TODO clean up the text"
local/qtracker/lib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#118) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
local/qtracker/locallib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#59) This comment is 47% valid code; is this commented out code?
(#60) No space found before comment text; expected "// $contexturl = new \moodle_url('/local/qtracker/issue.php', ['courseid' => $course->id, 'issueid' => $issue->get_id()]);" but found "//$contexturl = new \moodle_url('/local/qtracker/issue.php', ['courseid' => $course->id, 'issueid' => $issue->get_id()]);"
(#61) No space found before comment text; expected "// $message->contexturl = $contexturl->out();" but found "//$message->contexturl = $contexturl->out();"
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) No space found before comment text; expected "// $message->contexturlname = $issue->get_title();" but found "//$message->contexturlname = $issue->get_title();"
local/qtracker/new_issue.php
(#42) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
local/qtracker/view.php
(#35) Variable "manuallySorted" must be all lower-case
(#38) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#54) Variable "manuallySorted" must be all lower-case

Javascript coding style problems

(77 errors, 173 warnings)

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

local/qtracker/amd/src/api_helpers.js
(#19) @package should be empty. (jsdoc/empty-tags)
(#27) JSDoc type missing brace. (valid-jsdoc)
(#34) Unexpected space before function parentheses. (space-before-function-paren)
(#45) Missing semicolon. (babel/semi)
local/qtracker/amd/src/block_form_manager.js
(#21) @package should be empty. (jsdoc/empty-tags)
(#27) Unexpected space before function parentheses. (space-before-function-paren)
(#54) Unexpected space before function parentheses. (space-before-function-paren)
(#98) Unexpected space before function parentheses. (space-before-function-paren)
(#104) Array.prototype.map() expects a return value from arrow function. (array-callback-return)
(#111) Each then() should return a value or throw (promise/always-return)
(#145) Unexpected console statement. (no-console)
(#149) Unexpected space before function parentheses. (space-before-function-paren)
(#155) Unexpected space before function parentheses. (space-before-function-paren)
(#169) Missing JSDoc @param "response" type. (jsdoc/require-param-type)
(#169) Missing JSDoc parameter type for 'response'. (valid-jsdoc)
(#172) Unexpected space before function parentheses. (space-before-function-paren)
(#179) Unexpected space before function parentheses. (space-before-function-paren)
(#189) Missing JSDoc @param "response" type. (jsdoc/require-param-type)
(#189) Missing JSDoc parameter type for 'response'. (valid-jsdoc)
(#192) Unexpected space before function parentheses. (space-before-function-paren)
(#195) Unexpected console statement. (no-console)
(#196) Unexpected console statement. (no-console)
(#199) Unexpected space before function parentheses. (space-before-function-paren)
(#203) Expected catch,fail() or return (promise/catch-or-return)
(#203) Unexpected space before function parentheses. (space-before-function-paren)
(#208) Unexpected space before function parentheses. (space-before-function-paren)
(#219) Unexpected space before function parentheses. (space-before-function-paren)
(#228) Unexpected space before function parentheses. (space-before-function-paren)
(#229) Expected catch,fail() or return (promise/catch-or-return)
(#229) Unexpected space before function parentheses. (space-before-function-paren)
(#247) Unexpected space before function parentheses. (space-before-function-paren)
(#253) Unexpected space before function parentheses. (space-before-function-paren)
(#254) Expected catch,fail() or return (promise/catch-or-return)
(#254) Unexpected space before function parentheses. (space-before-function-paren)
(#273) Unexpected space before function parentheses. (space-before-function-paren)
(#285) Unexpected space before function parentheses. (space-before-function-paren)
(#286) Expected catch,fail() or return (promise/catch-or-return)
(#286) Unexpected space before function parentheses. (space-before-function-paren)
(#309) Unexpected space before function parentheses. (space-before-function-paren)
(#316) Unexpected space before function parentheses. (space-before-function-paren)
(#335) Each then() should return a value or throw (promise/always-return)
(#344) Unexpected console statement. (no-console)
(#353) Unexpected space before function parentheses. (space-before-function-paren)
(#355) Expected catch,fail() or return (promise/catch-or-return)
(#355) Unexpected space before function parentheses. (space-before-function-paren)
(#359) Expected catch,fail() or return (promise/catch-or-return)
(#359) Unexpected space before function parentheses. (space-before-function-paren)
(#369) Unexpected space before function parentheses. (space-before-function-paren)
(#379) Expected catch,fail() or return (promise/catch-or-return)
(#380) Unexpected space before function parentheses. (space-before-function-paren)
(#383) Unexpected space before function parentheses. (space-before-function-paren)
(#401) Unexpected space before function parentheses. (space-before-function-paren)
(#413) Unexpected space before function parentheses. (space-before-function-paren)
(#446) Unexpected space before function parentheses. (space-before-function-paren)
(#460) Unexpected space before function parentheses. (space-before-function-paren)
(#474) Unexpected space before function parentheses. (space-before-function-paren)
(#490) Unexpected space before function parentheses. (space-before-function-paren)
local/qtracker/amd/src/dropdown.js
(#21) @package should be empty. (jsdoc/empty-tags)
(#28) There should be no space after '{'. (babel/object-curly-spacing)
(#28) There should be no space before '}'. (babel/object-curly-spacing)
(#30) There should be no space after '{'. (babel/object-curly-spacing)
(#30) There should be no space before '}'. (babel/object-curly-spacing)
(#67) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#76) Unnecessary semicolon. (no-extra-semi)
(#86) Unnecessary semicolon. (no-extra-semi)
(#95) Unexpected space before function parentheses. (space-before-function-paren)
(#119) Unexpected space before function parentheses. (space-before-function-paren)
(#135) Unnecessary semicolon. (no-extra-semi)
(#155) Missing semicolon. (babel/semi)
(#168) Comments should not begin with a lowercase character. (capitalized-comments)
(#168) Expected space or tab after '//' in comment. (spaced-comment)
(#169) Each then() should return a value or throw (promise/always-return)
(#183) Missing semicolon. (babel/semi)
(#185) Comments should not begin with a lowercase character. (capitalized-comments)
(#189) Expected to return a value at the end of arrow function. (consistent-return)
(#197) Missing semicolon. (babel/semi)
(#207) Expected space or tab after '//' in comment. (spaced-comment)
(#247) There should be no space after '{'. (babel/object-curly-spacing)
(#247) There should be no space before '}'. (babel/object-curly-spacing)
(#249) Expected { after 'if' condition. (curly)
(#249) Missing semicolon. (babel/semi)
(#250) There should be no space after '{'. (babel/object-curly-spacing)
(#250) There should be no space before '}'. (babel/object-curly-spacing)
local/qtracker/amd/src/dropdown_events.js
(#5) @package should be empty. (jsdoc/empty-tags)
local/qtracker/amd/src/issue.js
(#21) @package should be empty. (jsdoc/empty-tags)
(#26) Unexpected space before function parentheses. (space-before-function-paren)
(#37) Unexpected space before function parentheses. (space-before-function-paren)
(#85) Unexpected space before function parentheses. (space-before-function-paren)
(#92) @param "selector" does not match an existing function parameter. (jsdoc/check-param-names)
(#96) Unexpected space before function parentheses. (space-before-function-paren)
(#100) Unexpected space before function parentheses. (space-before-function-paren)
(#104) Unexpected space before function parentheses. (space-before-function-paren)
(#108) Unexpected space before function parentheses. (space-before-function-paren)
(#112) Unexpected space before function parentheses. (space-before-function-paren)
(#117) Unexpected space before function parentheses. (space-before-function-paren)
(#121) Unexpected space before function parentheses. (space-before-function-paren)
(#125) Unexpected space before function parentheses. (space-before-function-paren)
(#129) Unexpected space before function parentheses. (space-before-function-paren)
(#137) Unexpected space before function parentheses. (space-before-function-paren)
(#139) There should be no space after '{'. (babel/object-curly-spacing)
(#139) There should be no space after '{'. (babel/object-curly-spacing)
(#139) There should be no space before '}'. (babel/object-curly-spacing)
(#139) There should be no space before '}'. (babel/object-curly-spacing)
(#143) Unexpected space before function parentheses. (space-before-function-paren)
(#150) Missing semicolon. (babel/semi)
(#152) Unexpected space before function parentheses. (space-before-function-paren)
(#161) Missing semicolon. (babel/semi)
(#162) Missing semicolon. (babel/semi)
local/qtracker/amd/src/issue_comment_controls.js
(#21) @package should be empty. (jsdoc/empty-tags)
(#45) Missing semicolon. (babel/semi)
(#46) Missing semicolon. (babel/semi)
(#73) Missing semicolon. (babel/semi)
(#75) Missing semicolon. (babel/semi)
(#76) Unexpected space before function parentheses. (space-before-function-paren)
(#79) Multiple spaces found before '+'. (no-multi-spaces)
(#113) Missing semicolon. (babel/semi)
(#115) Missing semicolon. (babel/semi)
(#116) Unexpected space before function parentheses. (space-before-function-paren)
(#119) Multiple spaces found before '+'. (no-multi-spaces)
local/qtracker/amd/src/issue_manager.js
(#21) @package should be empty. (jsdoc/empty-tags)
(#26) Unexpected space before function parentheses. (space-before-function-paren)
(#31) @param "selector" does not match an existing function parameter. (jsdoc/check-param-names)
(#36) Unexpected space before function parentheses. (space-before-function-paren)
(#36) Unexpected empty function. (no-empty-function)
(#46) Unexpected space before function parentheses. (space-before-function-paren)
(#50) Unexpected space before function parentheses. (space-before-function-paren)
(#56) JSDoc type missing brace. (valid-jsdoc)
(#60) Missing JSDoc @param "slot" type. (jsdoc/require-param-type)
(#64) Unexpected space before function parentheses. (space-before-function-paren)
(#68) Unexpected space before function parentheses. (space-before-function-paren)
(#69) 'slot' is assigned a value but never used. (no-unused-vars)
(#77) Unexpected space before function parentheses. (space-before-function-paren)
(#81) Unexpected space before function parentheses. (space-before-function-paren)
(#87) Each then() should return a value or throw (promise/always-return)
local/qtracker/amd/src/question_issue_page.js
(#21) @package should be empty. (jsdoc/empty-tags)
(#37) There should be no space after '{'. (babel/object-curly-spacing)
(#37) There should be no space before '}'. (babel/object-curly-spacing)
(#60) Missing semicolon. (babel/semi)
(#67) Missing semicolon. (babel/semi)
(#74) Missing semicolon. (babel/semi)
(#75) Missing semicolon. (babel/semi)
(#77) Missing semicolon. (babel/semi)
(#99) Missing semicolon. (babel/semi)
(#101) Missing semicolon. (babel/semi)
(#107) Missing semicolon. (babel/semi)
(#126) Unexpected space before function parentheses. (space-before-function-paren)
(#149) Comments should not begin with a lowercase character. (capitalized-comments)
(#157) Unexpected space before function parentheses. (space-before-function-paren)
(#161) There should be no space after '{'. (babel/object-curly-spacing)
(#161) There should be no space before '}'. (babel/object-curly-spacing)
(#163) Expected { after 'if' condition. (curly)
(#163) Missing semicolon. (babel/semi)
(#164) There should be no space after '{'. (babel/object-curly-spacing)
(#164) There should be no space before '}'. (babel/object-curly-spacing)
(#174) The function binding is unnecessary. (no-extra-bind)
(#177) Unexpected space before function parentheses. (space-before-function-paren)
(#184) Expected space or tab after '//' in comment. (spaced-comment)
(#185) Missing semicolon. (babel/semi)
(#187) Missing semicolon. (babel/semi)
(#192) There should be no space after '{'. (babel/object-curly-spacing)
(#192) There should be no space before '}'. (babel/object-curly-spacing)
(#195) Missing semicolon. (babel/semi)
(#203) Expected space or tab after '//' in comment. (spaced-comment)
(#204) Missing semicolon. (babel/semi)
(#206) Missing semicolon. (babel/semi)
(#221) Comments should not begin with a lowercase character. (capitalized-comments)
(#221) Expected space or tab after '//' in comment. (spaced-comment)
(#231) Missing semicolon. (babel/semi)
(#237) Missing semicolon. (babel/semi)
(#244) Missing semicolon. (babel/semi)
(#252) Expected space or tab after '//' in comment. (spaced-comment)
(#282) There should be no space after '{'. (babel/object-curly-spacing)
(#282) There should be no space before '}'. (babel/object-curly-spacing)
(#289) Read-only global 'self' should not be modified. (no-global-assign)
(#291) Unexpected space before function parentheses. (space-before-function-paren)
(#298) Unexpected console statement. (no-console)
(#304) This line has a length of 136. Maximum allowed is 132. (max-len)
(#304) There should be no space after '{'. (babel/object-curly-spacing)
(#304) There should be no space before '}'. (babel/object-curly-spacing)
(#323) Unexpected space before function parentheses. (space-before-function-paren)
(#341) Expected space or tab after '//' in comment. (spaced-comment)
(#342) Unexpected lexical declaration in case block. (no-case-declarations)
(#343) Unexpected lexical declaration in case block. (no-case-declarations)
(#344) Unexpected lexical declaration in case block. (no-case-declarations)
(#346) Missing semicolon. (babel/semi)
(#353) Missing semicolon. (babel/semi)
(#355) Unexpected space before function parentheses. (space-before-function-paren)
(#355) Statement inside of curly braces should be on next line. (brace-style)
(#355) Missing semicolon. (babel/semi)
(#355) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#356) Unexpected space before function parentheses. (space-before-function-paren)
(#356) Statement inside of curly braces should be on next line. (brace-style)
(#356) Missing semicolon. (babel/semi)
(#356) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#362) Unexpected space before function parentheses. (space-before-function-paren)
(#370) Unexpected space before function parentheses. (space-before-function-paren)
(#375) Missing JSDoc @param "extraClasses" declaration. (jsdoc/require-param)
(#375) Missing JSDoc for parameter 'extraClasses'. (valid-jsdoc)
(#392) 'actions' is assigned a value but never used. (no-unused-vars)
(#402) There should be no space after '{'. (babel/object-curly-spacing)
(#402) There should be no space before '}'. (babel/object-curly-spacing)
(#404) Missing semicolon. (babel/semi)
(#416) Comments should not begin with a lowercase character. (capitalized-comments)
(#416) Expected space or tab after '//' in comment. (spaced-comment)
(#422) Unexpected space before function parentheses. (space-before-function-paren)
(#423) There should be no space after '{'. (babel/object-curly-spacing)
(#423) There should be no space before '}'. (babel/object-curly-spacing)
(#429) There should be no space after '{'. (babel/object-curly-spacing)
(#429) There should be no space before '}'. (babel/object-curly-spacing)
(#432) There should be no space after '{'. (babel/object-curly-spacing)
(#432) There should be no space before '}'. (babel/object-curly-spacing)
(#436) There should be no space after '{'. (babel/object-curly-spacing)
(#436) There should be no space before '}'. (babel/object-curly-spacing)
(#461) Missing semicolon. (babel/semi)
(#473) Missing semicolon. (babel/semi)
(#541) Each then() should return a value or throw (promise/always-return)
(#549) Unexpected console statement. (no-console)
(#552) Unnecessary semicolon. (no-extra-semi)
local/qtracker/amd/src/questions_table_page.js
(#21) @package should be empty. (jsdoc/empty-tags)
(#52) Unexpected space before function parentheses. (space-before-function-paren)
(#75) There should be no space after '{'. (babel/object-curly-spacing)
(#75) There should be no space before '}'. (babel/object-curly-spacing)
(#79) Read-only global 'self' should not be modified. (no-global-assign)
(#81) Unexpected space before function parentheses. (space-before-function-paren)
(#87) Unexpected console statement. (no-console)
(#92) Unexpected space before function parentheses. (space-before-function-paren)
(#92) Statement inside of curly braces should be on next line. (brace-style)
(#92) Missing semicolon. (babel/semi)
(#92) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#93) Unexpected space before function parentheses. (space-before-function-paren)
(#93) Statement inside of curly braces should be on next line. (brace-style)
(#93) Missing semicolon. (babel/semi)
(#93) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#129) Unexpected space before function parentheses. (space-before-function-paren)
(#130) There should be no space after '{'. (babel/object-curly-spacing)
(#130) There should be no space before '}'. (babel/object-curly-spacing)
(#136) There should be no space after '{'. (babel/object-curly-spacing)
(#136) There should be no space before '}'. (babel/object-curly-spacing)
(#139) There should be no space after '{'. (babel/object-curly-spacing)
(#139) There should be no space before '}'. (babel/object-curly-spacing)
(#143) There should be no space after '{'. (babel/object-curly-spacing)
(#143) There should be no space before '}'. (babel/object-curly-spacing)
local/qtracker/amd/src/sidebar.js
(#21) @package should be empty. (jsdoc/empty-tags)
(#46) This line has a length of 137. Maximum allowed is 132. (max-len)
(#69) Comments should not begin with a lowercase character. (capitalized-comments)
(#73) Comments should not begin with a lowercase character. (capitalized-comments)
(#106) Comments should not begin with a lowercase character. (capitalized-comments)
(#106) Expected space or tab after '//' in comment. (spaced-comment)
(#107) Each then() should return a value or throw (promise/always-return)
(#112) Missing semicolon. (babel/semi)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(28 errors, 0 warnings)

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

local/qtracker/backup/moodle2/restore_local_qtracker_plugin.class.php
(#38) Class restore_local_qtracker_plugin is not documented
(#67) Function restore_local_qtracker_plugin::define_module_plugin_structure is not documented
(#85) Function restore_local_qtracker_plugin::process_issue is not documented
(#110) Function restore_local_qtracker_plugin::process_comment is not documented
(#120) Function restore_local_qtracker_plugin::process_reference is not documented
(#45) There is no description in phpdocs for function define_course_plugin_structure
local/qtracker/classes/external/get_issues.php
(#92) Phpdocs for function get_issues::execute has incomplete parameters list
local/qtracker/classes/form/view/new_issue_form.php
(#75) Function new_issue_form::validation is not documented
(#44) Phpdocs for function new_issue_form::__construct has incomplete parameters list
local/qtracker/classes/issue.php
(#215) Phpdocs for function issue::supersede_issue has incomplete parameters list
(#267) Phpdocs for function issue::remove_parent has incomplete parameters list
(#285) Phpdocs for function issue::remove_child has incomplete parameters list
local/qtracker/classes/output/email/issue_comment_email.php
(#81) Phpdocs for function issue_comment_email::__construct has incomplete parameters list
(#98) Phpdocs for function issue_comment_email::export_for_template has incomplete parameters list
(#113) Phpdocs for function issue_comment_email::export_for_template_text has incomplete parameters list
local/qtracker/classes/output/email/renderer.php
(#20) Package message_email is not valid
local/qtracker/classes/output/question_issue_page.php
(#192) Found comment starting with three or more slashes
(#214) Found comment starting with three or more slashes
local/qtracker/classes/output/question_issues_page.php
(#55) Phpdocs for function question_issues_page::__construct has incomplete parameters list
local/qtracker/classes/output/question_issues_table.php
(#48) Phpdocs for function question_issues_table::__construct has incomplete parameters list
local/qtracker/classes/output/renderer.php
(#46) Phpdocs for function renderer::render_new_question_issue_page has incomplete parameters list
local/qtracker/classes/reference_manager.php
(#61) Phpdocs for function reference_manager::__construct has incomplete parameters list
(#102) Phpdocs for function reference_manager::filter_references_by_type has incomplete parameters list
local/qtracker/db/messages.php
(#1) The file is empty or doesn't contain PHP code. Skipped.
local/qtracker/lib.php
(#140) There is no description in phpdocs for function local_qtracker_supports
(#126) Phpdocs for function local_qtracker_is_reference_type has incomplete parameters list
(#143) Phpdocs for function local_qtracker_supports has incomplete parameters list
local/qtracker/locallib.php
(#32) Phpdocs for function local_qtracker_send_comment 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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 0 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [More info]


grunt changes

(1 errors, 1 warnings)

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

Problems running grunt
Task "eslint:amd" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(5 errors, 5 warnings)

This section shows problems detected in mustache templates [More info]

local/qtracker/templates/aside_block.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
local/qtracker/templates/dropdown.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
local/qtracker/templates/email_comment_html.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
local/qtracker/templates/email_comment_text.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
local/qtracker/templates/issue_registration_block.mustache
(#1) ESLint error []: Parsing error: Unexpected token ) ( ), Line: 3 Column: 57
local/qtracker/templates/question_issue_page.mustache
(#1) HTML Validation error, line 10: Element “div” not allowed as child of element “h1” in this context. (Suppressing further errors from this subtree.) ( <div><span )
(#1) HTML Validation info, line 20: Empty heading. ( <h3> )
(#1) ESLint error []: Parsing error: Unexpected token , ( ), Line: 3 Column: 27
local/qtracker/templates/select.mustache
(#1) HTML Validation error, line 5: The “select” element cannot have more than one selected “option” descendant unless the “multiple” attribute is specified. ( <option value="V" selected>Option)
local/qtracker/templates/sidebar_item_issue.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error

Gherkin .feature problems

(0 errors, 0 warnings)

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