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

(10 errors, 1 warnings)

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

mod/quizgame/backup/moodle2/backup_quizgame_stepslib.php
(#67) Functions must not contain multiple empty lines in a row; found 2 empty lines
mod/quizgame/backup/moodle2/restore_quizgame_activity_task.class.php
(#73) Whitespace found at end of line
mod/quizgame/backup/moodle2/restore_quizgame_stepslib.php
(#64) Whitespace found at end of line
(#66) Whitespace found at end of line
(#67) Line indented incorrectly; expected at least 20 spaces, found 16
(#68) Line indented incorrectly; expected at least 20 spaces, found 16
(#69) Line indented incorrectly; expected at least 20 spaces, found 16
(#70) Line indented incorrectly; expected at least 20 spaces, found 16
(#74) Line indented incorrectly; expected at least 20 spaces, found 16
(#75) Line indented incorrectly; expected at least 20 spaces, found 16
mod/quizgame/grade.php
(#26) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.

Javascript coding style problems

(0 errors, 91 warnings)

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

mod/quizgame/amd/src/quizgame.js
(#62) Unexpected space before function parentheses. (space-before-function-paren)
(#66) Missing JSDoc comment. (require-jsdoc)
(#74) Missing JSDoc comment. (require-jsdoc)
(#86) Missing JSDoc comment. (require-jsdoc)
(#93) Missing JSDoc comment. (require-jsdoc)
(#112) Missing JSDoc comment. (require-jsdoc)
(#119) Missing JSDoc comment. (require-jsdoc)
(#130) Missing JSDoc comment. (require-jsdoc)
(#136) Missing JSDoc comment. (require-jsdoc)
(#152) Missing JSDoc comment. (require-jsdoc)
(#173) Missing JSDoc comment. (require-jsdoc)
(#177) Missing JSDoc comment. (require-jsdoc)
(#189) Missing JSDoc comment. (require-jsdoc)
(#223) Missing JSDoc comment. (require-jsdoc)
(#231) Missing JSDoc comment. (require-jsdoc)
(#267) Missing JSDoc comment. (require-jsdoc)
(#274) 'i' used outside of binding context. (block-scoped-var)
(#274) 'i' used outside of binding context. (block-scoped-var)
(#274) 'i' used outside of binding context. (block-scoped-var)
(#275) 'i' used outside of binding context. (block-scoped-var)
(#299) Missing JSDoc comment. (require-jsdoc)
(#303) 'i' used outside of binding context. (block-scoped-var)
(#303) 'i' used outside of binding context. (block-scoped-var)
(#303) 'i' used outside of binding context. (block-scoped-var)
(#304) 'i' used outside of binding context. (block-scoped-var)
(#305) 'i' used outside of binding context. (block-scoped-var)
(#306) 'i' used outside of binding context. (block-scoped-var)
(#307) 'i' used outside of binding context. (block-scoped-var)
(#310) 'i' used outside of binding context. (block-scoped-var)
(#310) 'i' used outside of binding context. (block-scoped-var)
(#310) 'i' used outside of binding context. (block-scoped-var)
(#311) 'i' used outside of binding context. (block-scoped-var)
(#312) 'i' used outside of binding context. (block-scoped-var)
(#313) 'i' used outside of binding context. (block-scoped-var)
(#315) 'i' used outside of binding context. (block-scoped-var)
(#316) 'i' used outside of binding context. (block-scoped-var)
(#317) 'i' used outside of binding context. (block-scoped-var)
(#322) Missing JSDoc comment. (require-jsdoc)
(#323) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#329) Unexpected space before function parentheses. (space-before-function-paren)
(#332) Unexpected space before function parentheses. (space-before-function-paren)
(#335) Unexpected space before function parentheses. (space-before-function-paren)
(#341) Unexpected space before function parentheses. (space-before-function-paren)
(#349) Missing JSDoc comment. (require-jsdoc)
(#361) Unexpected space before function parentheses. (space-before-function-paren)
(#368) Unexpected space before function parentheses. (space-before-function-paren)
(#376) Unexpected space before function parentheses. (space-before-function-paren)
(#379) Unexpected space before function parentheses. (space-before-function-paren)
(#382) Unexpected space before function parentheses. (space-before-function-paren)
(#386) Missing JSDoc comment. (require-jsdoc)
(#394) Unexpected space before function parentheses. (space-before-function-paren)
(#423) Unexpected space before function parentheses. (space-before-function-paren)
(#436) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#447) Missing JSDoc comment. (require-jsdoc)
(#451) Unexpected space before function parentheses. (space-before-function-paren)
(#457) Missing JSDoc comment. (require-jsdoc)
(#472) Unexpected space before function parentheses. (space-before-function-paren)
(#520) Unexpected space before function parentheses. (space-before-function-paren)
(#540) Missing JSDoc comment. (require-jsdoc)
(#550) Unexpected space before function parentheses. (space-before-function-paren)
(#569) Missing JSDoc comment. (require-jsdoc)
(#634) Missing JSDoc comment. (require-jsdoc)
(#641) Unexpected space before function parentheses. (space-before-function-paren)
(#651) Unexpected space before function parentheses. (space-before-function-paren)
(#658) Missing JSDoc comment. (require-jsdoc)
(#669) Unexpected space before function parentheses. (space-before-function-paren)
(#682) Unexpected space before function parentheses. (space-before-function-paren)
(#685) Unexpected space before function parentheses. (space-before-function-paren)
(#691) Missing JSDoc comment. (require-jsdoc)
(#700) Unexpected space before function parentheses. (space-before-function-paren)
(#706) Unexpected space before function parentheses. (space-before-function-paren)
(#712) Missing JSDoc comment. (require-jsdoc)
(#716) Missing JSDoc comment. (require-jsdoc)
(#716) Identifier 'collide_ordered' is not in camel case. (camelcase)
(#716) Expected to return a value at the end of function 'collide_ordered'. (consistent-return)
(#738) Missing JSDoc comment. (require-jsdoc)
(#744) Missing JSDoc comment. (require-jsdoc)
(#754) Missing JSDoc comment. (require-jsdoc)
(#763) Missing JSDoc comment. (require-jsdoc)
(#769) Missing JSDoc comment. (require-jsdoc)
(#786) Missing JSDoc comment. (require-jsdoc)
(#796) Missing JSDoc comment. (require-jsdoc)
(#810) Missing JSDoc comment. (require-jsdoc)
(#816) Missing JSDoc comment. (require-jsdoc)
(#821) Missing JSDoc comment. (require-jsdoc)
(#822) There should be no spaces inside this paren. (space-in-parens)
(#832) Missing JSDoc comment. (require-jsdoc)
(#840) Missing JSDoc comment. (require-jsdoc)
(#845) Missing JSDoc comment. (require-jsdoc)
(#846) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#861) Missing JSDoc comment. (require-jsdoc)

CSS problems

(3 errors, 0 warnings)

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

mod/quizgame/styles.css
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#6) Expected single space before "{" (block-opening-brace-space-before)
(#3) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)

PHPDocs style problems

(24 errors, 0 warnings)

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

mod/quizgame/backup/moodle2/backup_quizgame_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#27) No one-line description found in phpdocs for class backup_quizgame_activity_task
(#48) Phpdocs for function backup_quizgame_activity_task::encode_content_links has incomplete parameters list
(#27) Class backup_quizgame_activity_task does not have @copyright tag
(#27) Class backup_quizgame_activity_task does not have @license tag
mod/quizgame/backup/moodle2/backup_quizgame_stepslib.php
(#31) Function backup_quizgame_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
(#26) Class backup_quizgame_activity_structure_step does not have @copyright tag
(#26) Class backup_quizgame_activity_structure_step does not have @license tag
mod/quizgame/backup/moodle2/restore_quizgame_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#27) No one-line description found in phpdocs for class restore_quizgame_activity_task
(#27) Class restore_quizgame_activity_task does not have @copyright tag
(#27) Class restore_quizgame_activity_task does not have @license tag
mod/quizgame/backup/moodle2/restore_quizgame_stepslib.php
(#31) Function restore_quizgame_activity_structure_step::define_structure is not documented
(#45) Function restore_quizgame_activity_structure_step::process_quizgame is not documented
(#90) Function restore_quizgame_activity_structure_step::process_quizgame_score is not documented
(#104) Function restore_quizgame_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
(#26) Class restore_quizgame_activity_structure_step does not have @copyright tag
(#26) Class restore_quizgame_activity_structure_step does not have @license tag
mod/quizgame/classes/event/course_module_viewed.php
(#59) Function course_module_viewed::get_objectid_mapping is not documented
mod/quizgame/renderer.php
(#17) File-level phpdocs block is not found
(#19) Class mod_quizgame_renderer is not documented
(#19) Package is not specified for class mod_quizgame_renderer. It is also not specified in file-level phpdocs

Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(1 errors, 1 warnings)

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

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

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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