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

(0 errors, 1 warnings)

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

mod/studentquiz/tests/behat/behat_mod_studentquiz.php
(#43) Line exceeds 132 characters; contains 137 characters

Javascript coding style problems

(0 errors, 134 warnings)

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

mod/studentquiz/amd/src/comment_area.js
(#28) Unexpected space before function parentheses. (space-before-function-paren)
(#107) Unexpected space before function parentheses. (space-before-function-paren)
(#145) Unexpected space before function parentheses. (space-before-function-paren)
(#190) Unexpected space before function parentheses. (space-before-function-paren)
(#193) Unexpected space before function parentheses. (space-before-function-paren)
(#243) Unexpected space before function parentheses. (space-before-function-paren)
(#249) Unexpected space before function parentheses. (space-before-function-paren)
(#260) Unexpected space before function parentheses. (space-before-function-paren)
(#271) Unexpected space before function parentheses. (space-before-function-paren)
(#274) Unexpected space before function parentheses. (space-before-function-paren)
(#285) Unexpected space before function parentheses. (space-before-function-paren)
(#293) Unexpected space before function parentheses. (space-before-function-paren)
(#301) Unexpected space before function parentheses. (space-before-function-paren)
(#309) Unexpected space before function parentheses. (space-before-function-paren)
(#327) Unexpected space before function parentheses. (space-before-function-paren)
(#335) Unexpected space before function parentheses. (space-before-function-paren)
(#366) Unexpected space before function parentheses. (space-before-function-paren)
(#369) Unexpected space before function parentheses. (space-before-function-paren)
(#387) Unexpected space before function parentheses. (space-before-function-paren)
(#395) Unexpected space before function parentheses. (space-before-function-paren)
(#442) Unexpected space before function parentheses. (space-before-function-paren)
(#483) Unexpected space before function parentheses. (space-before-function-paren)
(#502) Unexpected space before function parentheses. (space-before-function-paren)
(#514) Unexpected space before function parentheses. (space-before-function-paren)
(#518) Unexpected space before function parentheses. (space-before-function-paren)
(#531) Unexpected space before function parentheses. (space-before-function-paren)
(#545) Unexpected space before function parentheses. (space-before-function-paren)
(#549) Unexpected space before function parentheses. (space-before-function-paren)
(#561) Unexpected space before function parentheses. (space-before-function-paren)
(#599) Unexpected space before function parentheses. (space-before-function-paren)
(#610) Unexpected @returns tag; function has no return statement. (valid-jsdoc)
(#612) Unexpected space before function parentheses. (space-before-function-paren)
(#618) Unexpected space before function parentheses. (space-before-function-paren)
(#637) Unexpected space before function parentheses. (space-before-function-paren)
(#654) Unexpected space before function parentheses. (space-before-function-paren)
(#658) Unexpected space before function parentheses. (space-before-function-paren)
(#662) Unexpected space before function parentheses. (space-before-function-paren)
(#666) Unexpected space before function parentheses. (space-before-function-paren)
(#670) Unexpected space before function parentheses. (space-before-function-paren)
(#674) Unexpected space before function parentheses. (space-before-function-paren)
(#686) Unexpected space before function parentheses. (space-before-function-paren)
(#689) Unexpected space before function parentheses. (space-before-function-paren)
(#693) Unexpected space before function parentheses. (space-before-function-paren)
(#697) Unexpected space before function parentheses. (space-before-function-paren)
(#713) Unexpected space before function parentheses. (space-before-function-paren)
(#757) Unexpected space before function parentheses. (space-before-function-paren)
(#799) Unexpected space before function parentheses. (space-before-function-paren)
(#816) Unexpected space before function parentheses. (space-before-function-paren)
(#827) Unexpected space before function parentheses. (space-before-function-paren)
(#857) Unexpected space before function parentheses. (space-before-function-paren)
(#866) Unexpected space before function parentheses. (space-before-function-paren)
(#877) Unexpected space before function parentheses. (space-before-function-paren)
(#915) Unexpected space before function parentheses. (space-before-function-paren)
(#960) Unexpected space before function parentheses. (space-before-function-paren)
(#962) Unexpected space before function parentheses. (space-before-function-paren)
(#980) Unexpected space before function parentheses. (space-before-function-paren)
(#997) Unexpected space before function parentheses. (space-before-function-paren)
(#1000) Unexpected space before function parentheses. (space-before-function-paren)
(#1030) Unexpected space before function parentheses. (space-before-function-paren)
(#1049) Unexpected space before function parentheses. (space-before-function-paren)
(#1062) Unexpected space before function parentheses. (space-before-function-paren)
(#1065) Unexpected space before function parentheses. (space-before-function-paren)
(#1086) Unexpected space before function parentheses. (space-before-function-paren)
(#1096) Unexpected space before function parentheses. (space-before-function-paren)
(#1120) Unexpected space before function parentheses. (space-before-function-paren)
(#1126) Unexpected space before function parentheses. (space-before-function-paren)
(#1137) Unexpected space before function parentheses. (space-before-function-paren)
(#1156) Unexpected space before function parentheses. (space-before-function-paren)
(#1158) Unexpected space before function parentheses. (space-before-function-paren)
(#1176) Unexpected space before function parentheses. (space-before-function-paren)
(#1195) Unexpected space before function parentheses. (space-before-function-paren)
(#1200) Unexpected space before function parentheses. (space-before-function-paren)
(#1206) Unexpected space before function parentheses. (space-before-function-paren)
(#1211) Unexpected space before function parentheses. (space-before-function-paren)
(#1238) Unexpected space before function parentheses. (space-before-function-paren)
(#1269) Unexpected space before function parentheses. (space-before-function-paren)
(#1276) Unexpected space before function parentheses. (space-before-function-paren)
(#1287) Unexpected space before function parentheses. (space-before-function-paren)
(#1305) Unexpected space before function parentheses. (space-before-function-paren)
(#1322) Unexpected space before function parentheses. (space-before-function-paren)
(#1332) Unexpected space before function parentheses. (space-before-function-paren)
(#1333) Unexpected space before function parentheses. (space-before-function-paren)
(#1340) There should be no space after '{'. (babel/object-curly-spacing)
(#1340) There should be no space before '}'. (babel/object-curly-spacing)
(#1341) Unexpected space before function parentheses. (space-before-function-paren)
(#1347) Unexpected space before function parentheses. (space-before-function-paren)
(#1351) Unexpected space before function parentheses. (space-before-function-paren)
(#1362) Unexpected space before function parentheses. (space-before-function-paren)
(#1371) Unexpected space before function parentheses. (space-before-function-paren)
(#1394) Unexpected space before function parentheses. (space-before-function-paren)
(#1421) Unexpected space before function parentheses. (space-before-function-paren)
(#1429) There should be no space after '{'. (babel/object-curly-spacing)
(#1429) There should be no space before '}'. (babel/object-curly-spacing)
(#1439) Unexpected space before function parentheses. (space-before-function-paren)
(#1452) Unexpected space before function parentheses. (space-before-function-paren)
(#1467) Unexpected space before function parentheses. (space-before-function-paren)
(#1483) Unexpected space before function parentheses. (space-before-function-paren)
(#1495) Unexpected space before function parentheses. (space-before-function-paren)
(#1514) Unexpected space before function parentheses. (space-before-function-paren)
(#1533) Unexpected space before function parentheses. (space-before-function-paren)
(#1549) Unexpected space before function parentheses. (space-before-function-paren)
(#1552) Unexpected space before function parentheses. (space-before-function-paren)
(#1578) Unexpected space before function parentheses. (space-before-function-paren)
(#1588) Unexpected space before function parentheses. (space-before-function-paren)
(#1599) Unexpected space before function parentheses. (space-before-function-paren)
(#1608) Unexpected space before function parentheses. (space-before-function-paren)
(#1620) Unexpected space before function parentheses. (space-before-function-paren)
(#1635) Unexpected space before function parentheses. (space-before-function-paren)
(#1651) Unexpected space before function parentheses. (space-before-function-paren)
mod/studentquiz/amd/src/state_change.js
(#25) Unexpected space before function parentheses. (space-before-function-paren)
(#37) Unexpected space before function parentheses. (space-before-function-paren)
(#44) Unexpected space before function parentheses. (space-before-function-paren)
(#55) Unexpected space before function parentheses. (space-before-function-paren)
(#58) Unexpected space before function parentheses. (space-before-function-paren)
(#69) There should be no space after '{'. (babel/object-curly-spacing)
(#69) There should be no space before '}'. (babel/object-curly-spacing)
(#70) Each then() should return a value or throw (promise/always-return)
(#70) Unexpected space before function parentheses. (space-before-function-paren)
(#87) Unexpected space before function parentheses. (space-before-function-paren)
(#91) Unexpected space before function parentheses. (space-before-function-paren)
mod/studentquiz/amd/src/studentquiz.js
(#26) Unexpected space before function parentheses. (space-before-function-paren)
(#28) Unexpected space before function parentheses. (space-before-function-paren)
(#32) Unexpected space before function parentheses. (space-before-function-paren)
(#36) Unexpected space before function parentheses. (space-before-function-paren)
(#44) Unexpected space before function parentheses. (space-before-function-paren)
(#48) Unexpected space before function parentheses. (space-before-function-paren)
(#84) Unexpected space before function parentheses. (space-before-function-paren)
(#85) Unexpected space before function parentheses. (space-before-function-paren)
(#94) Unexpected space before function parentheses. (space-before-function-paren)
(#95) Unexpected space before function parentheses. (space-before-function-paren)
(#113) There should be no space after '{'. (babel/object-curly-spacing)
(#113) There should be no space before '}'. (babel/object-curly-spacing)
(#114) Unexpected space before function parentheses. (space-before-function-paren)
(#118) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(14 errors, 0 warnings)

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

mod/studentquiz/backup/moodle2/restore_studentquiz_activity_task.class.php
(#84) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#86) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#100) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#102) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/studentquiz/backup/moodle2/restore_studentquiz_stepslib.php
(#49) Inline phpdocs tag {@link restore_path_element} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/studentquiz/lib.php
(#45) Inline phpdocs tag {@link plugin_supports()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#282) Inline phpdocs tag {@link studentquiz_print_recent_mod_activity()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#298) Inline phpdocs tag {@link studentquiz_get_recent_mod_activity()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#303) Inline phpdocs tag {@link get_module_types_names()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#343) Inline phpdocs tag {@link file_browser::get_file_info_context_module()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#413) Inline phpdocs tag {@link questionlib.php} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/studentquiz/locallib.php
(#466) Inline phpdocs tag {@link message_send()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#503) Inline phpdocs tag {@link mod_studentquiz_send_notification} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#510) Inline phpdocs tag {@link message_send()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}

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

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

mod/studentquiz/amd/build/comment_area.min.js.map
Uncommitted change detected.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 2 warnings)

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

mod/studentquiz/templates/digest_email_notification.mustache
(#1) Example context missing.
mod/studentquiz/templates/single_email_notification.mustache
(#1) Example context missing.

Gherkin .feature problems

(0 errors, 0 warnings)

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