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

(3 errors, 19 warnings)

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

mod/quiz/accessrule/tcquiz/classes/output/renderer.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
mod/quiz/accessrule/tcquiz/classes/tcquiz_attempt.php
(#44) Possible useless method overriding detected
mod/quiz/accessrule/tcquiz/lang/en/quizaccess_tcquiz.php
(#75) The string key "reconnectinstruct" is not in the correct order, it should be before "reconnectquiz"
(#95) The string key "unknownserverresponse" is not in the correct order, it should be before "wrongjoincode"
(#99) The string key "yourscorecanchange" is not in the correct order, it should be before "yourscoreis"
mod/quiz/accessrule/tcquiz/locallib.php
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
mod/quiz/accessrule/tcquiz/report/statistics/report.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
mod/quiz/accessrule/tcquiz/rule.php
(#19) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
mod/quiz/accessrule/tcquiz/tests/behat/behat_quizaccess_tcquiz.php
(#83) Empty CATCH statement detected
mod/quiz/accessrule/tcquiz/tests/rule_test.php
(#36) Unit test rule_test should be declared as final.
(#37) Test method test_tcquiz_rule() is missing a return type
(#56) Test method test_tcquiz_description_student() is missing a return type
(#80) This comment is 44% valid code; is this commented out code?
(#91) Test method test_tcquiz_description_teacher() is missing a return type
(#120) This comment is 43% valid code; is this commented out code?
mod/quiz/accessrule/tcquiz/tests/startattempt_test.php
(#39) Unit test startattempt_test should be declared as final.
(#96) Test method test_studentstartattempt() is missing any coverage information, own or at class level
(#96) Test method test_studentstartattempt() is missing a return type
(#152) Test method test_studentstartattempt_start_clean() is missing any coverage information, own or at class level
(#152) Test method test_studentstartattempt_start_clean() is missing a return type
(#192) Test method test_teacherstartquiz() is missing any coverage information, own or at class level
(#192) Test method test_teacherstartquiz() is missing a return type

Javascript coding style problems

(0 errors, 1 warnings)

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

mod/quiz/accessrule/tcquiz/timer.js
(#26) 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

(0 errors, 0 warnings)

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


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

(13 errors, 0 warnings)

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

mod/quiz/accessrule/tcquiz/amd/build/getquizpage.min.js
Uncommitted change detected.
mod/quiz/accessrule/tcquiz/amd/build/getquizpage.min.js.map
Uncommitted change detected.
mod/quiz/accessrule/tcquiz/amd/build/nextquizpage.min.js
Uncommitted change detected.
mod/quiz/accessrule/tcquiz/amd/build/nextquizpage.min.js.map
Uncommitted change detected.
mod/quiz/accessrule/tcquiz/amd/build/starttcq.min.js.map
Uncommitted change detected.
mod/quiz/accessrule/tcquiz/amd/build/studenttimer.min.js
Uncommitted change detected.
mod/quiz/accessrule/tcquiz/amd/build/studenttimer.min.js.map
Uncommitted change detected.
mod/quiz/accessrule/tcquiz/amd/build/teachercontrols.min.js
Uncommitted change detected.
mod/quiz/accessrule/tcquiz/amd/build/teachercontrols.min.js.map
Uncommitted change detected.
mod/quiz/accessrule/tcquiz/amd/build/waitforquestion.min.js
Uncommitted change detected.
mod/quiz/accessrule/tcquiz/amd/build/waitforquestion.min.js.map
Uncommitted change detected.
mod/quiz/accessrule/tcquiz/amd/build/waitforstudents.min.js
Uncommitted change detected.
mod/quiz/accessrule/tcquiz/amd/build/waitforstudents.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, 1 warnings)

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

mod/quiz/accessrule/tcquiz/templates/start_tcq.mustache
(#1) HTML Validation error, line 11: Element “style” not allowed as child of element “div” in this context. (Suppressing further errors from this subtree.) (<div> <style> .fite)

Gherkin .feature problems

(0 errors, 0 warnings)

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