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

(10 errors, 96 warnings)

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

mod/quiz/report/filedownloader/classes/event/update_log.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#68) Short array syntax must be used to define arrays
(#70) There should be a comma after the last array item in a multi-line array.
(#79) Short array syntax must be used to define arrays
(#84) There should be a comma after the last array item in a multi-line array.
mod/quiz/report/filedownloader/classes/privacy/provider.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#42) There must not be a space before the colon in a return type declaration
mod/quiz/report/filedownloader/db/install.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/quiz/report/filedownloader/filedownloadersettings_form.php
(#53) Short array syntax must be used to define arrays
(#55) There should be a comma after the last array item in a multi-line array.
(#64) Short array syntax must be used to define arrays
(#66) There should be a comma after the last array item in a multi-line array.
mod/quiz/report/filedownloader/lang/de/quiz_filedownloader.php
(#28) The string key "adminsetting_accepted_qtypefileareas" is not in the correct order, it should be before "adminsetting_accepted_qtypes_help"
(#34) The string key "adminsetting_chooseanonymize" is not in the correct order, it should be before "adminsetting_choosefilestructure_help"
(#43) The string key "plugindescription" is not in the correct order, it should be before "pluginname"
mod/quiz/report/filedownloader/lang/en/quiz_filedownloader.php
(#28) The string key "adminsetting_accepted_qtypefileareas" is not in the correct order, it should be before "adminsetting_accepted_qtypes_help"
(#34) The string key "adminsetting_chooseanonymize" is not in the correct order, it should be before "adminsetting_choosefilestructure_help"
(#43) The string key "plugindescription" is not in the correct order, it should be before "pluginname"
mod/quiz/report/filedownloader/report.php
(#41) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#132) Short array syntax must be used to define arrays
(#177) Short array syntax must be used to define arrays
(#227) Short array syntax must be used to define arrays
(#272) Short array syntax must be used to define arrays
(#278) Line indented incorrectly; expected at least 12 spaces, found 10
(#281) Short array syntax must be used to define arrays
(#283) Short array syntax must be used to define arrays
(#325) Line indented incorrectly; expected at least 24 spaces, found 22
(#326) Line indented incorrectly; expected at least 24 spaces, found 22
(#337) Short array syntax must be used to define arrays
(#363) Short array syntax must be used to define arrays
(#408) Short array syntax must be used to define arrays
mod/quiz/report/filedownloader/tests/report_test.php
(#38) Testcase quiz_filedownloader_report_testcase should be declared as abstract.
(#38) PHPUnit testcase name "quiz_filedownloader_report_testcase" does not match file name "report_test"
(#38) PHPUnit class "quiz_filedownloader_report_testcase" does not have any namespace. It is recommended to add it to the "quiz_filedownloader" namespace, using more levels if needed, in order to match the code being tested
(#40) Test method test_filedownloader_get_configqtypes() is missing any coverage information, own or at class level
(#40) Test method test_filedownloader_get_configqtypes() is missing a return type
(#65) Test method test_filedownloader_get_config_fileareass() is missing any coverage information, own or at class level
(#65) Test method test_filedownloader_get_config_fileareass() is missing a return type
(#72) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#98) Test method test_filedownloader_get_valid_qtypes() is missing any coverage information, own or at class level
(#98) Test method test_filedownloader_get_valid_qtypes() is missing a return type
(#107) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#143) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#155) Short array syntax must be used to define arrays
(#156) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#162) Short array syntax must be used to define arrays
(#165) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#173) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#181) Test method test_filedownloader_get_userattempts() is missing any coverage information, own or at class level
(#181) Test method test_filedownloader_get_userattempts() is missing a return type
(#191) Short array syntax must be used to define arrays
(#198) Short array syntax must be used to define arrays
(#204) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
(#217) Short array syntax must be used to define arrays
(#261) Test method test_filedownloader_create_pathes() is missing any coverage information, own or at class level
(#261) Test method test_filedownloader_create_pathes() is missing a return type
(#267) Short array syntax must be used to define arrays
(#271) There should be a comma after the last array item in a multi-line array.
(#277) Short array syntax must be used to define arrays
(#281) Short array syntax must be used to define arrays
(#289) Short array syntax must be used to define arrays
(#297) Short array syntax must be used to define arrays
(#347) Short array syntax must be used to define arrays
(#382) Test method test_filedownloader_create_txtfile() is missing any coverage information, own or at class level
(#382) Test method test_filedownloader_create_txtfile() is missing a return type
(#393) Short array syntax must be used to define arrays
(#399) Short array syntax must be used to define arrays
(#407) Short array syntax must be used to define arrays
(#422) Short array syntax must be used to define arrays
(#427) Short array syntax must be used to define arrays
(#428) There should be a comma after the last array item in a multi-line array.

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(1 errors, 0 warnings)

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

mod/quiz/report/filedownloader/report.php
(#254) Phpdocs for function quiz_filedownloader_report::filedownloader_process_files 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

(0 errors, 0 warnings)

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


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]


Gherkin .feature problems

(0 errors, 0 warnings)

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