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

(55 errors, 199 warnings)

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

mod/concordance/backup/moodle2/backup_concordance_stepslib.php
(#33) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
mod/concordance/backup/moodle2/restore_concordance_activity_task.class.php
(#64) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
mod/concordance/backup/moodle2/restore_concordance_stepslib.php
(#36) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
mod/concordance/classes/concordance.php
(#28) Import statements must not begin with a leading backslash
(#29) Import statements must not begin with a leading backslash
(#73) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#80) There should be a comma after the last array item in a multi-line array.
(#82) Short array syntax must be used to define arrays
(#85) There should be a comma after the last array item in a multi-line array.
(#87) Short array syntax must be used to define arrays
(#90) There should be a comma after the last array item in a multi-line array.
(#92) Short array syntax must be used to define arrays
(#93) There should be a comma after the last array item in a multi-line array.
(#95) Short array syntax must be used to define arrays
(#97) There should be a comma after the last array item in a multi-line array.
(#99) Short array syntax must be used to define arrays
(#100) There should be a comma after the last array item in a multi-line array.
(#102) Short array syntax must be used to define arrays
(#104) There should be a comma after the last array item in a multi-line array.
(#106) Short array syntax must be used to define arrays
(#107) There should be a comma after the last array item in a multi-line array.
(#109) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#248) Short array syntax must be used to define arrays
(#259) Short array syntax must be used to define arrays
(#269) Short array syntax must be used to define arrays
mod/concordance/classes/event/concordance_updated.php
(#72) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
mod/concordance/classes/event/course_module_instance_list_viewed.php
(#44) Short array syntax must be used to define arrays
(#45) There should be a comma after the last array item in a multi-line array.
mod/concordance/classes/event/course_module_viewed.php
(#53) Short array syntax must be used to define arrays
mod/concordance/classes/external.php
(#79) There should be a comma after the last array item in a multi-line array.
(#95) Short array syntax must be used to define arrays
(#100) There should be a comma after the last array item in a multi-line array.
(#124) Short array syntax must be used to define arrays
(#127) There should be a comma after the last array item in a multi-line array.
mod/concordance/classes/external/panelist_exporter.php
(#43) Short array syntax must be used to define arrays
(#75) There should be a comma after the last array item in a multi-line array.
(#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
(#90) There should be a comma after the last array item in a multi-line array.
mod/concordance/classes/form/panelist.php
(#128) Short array syntax must be used to define arrays
(#130) There should be a comma after the last array item in a multi-line array.
mod/concordance/classes/form/studentquizgeneration.php
(#70) Short array syntax must be used to define arrays
(#143) Short array syntax must be used to define arrays
mod/concordance/classes/output/contact_panelists_page.php
(#75) There should be a comma after the last array item in a multi-line array.
(#105) Short array syntax must be used to define arrays
(#107) There should be a comma after the last array item in a multi-line array.
mod/concordance/classes/output/manage_panelists_page.php
(#69) There should be a comma after the last array item in a multi-line array.
(#94) Short array syntax must be used to define arrays
mod/concordance/classes/output/renderer.php
(#50) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
(#141) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
mod/concordance/classes/panelist.php
(#28) Import statements must not begin with a leading backslash
(#48) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#50) There should be a comma after the last array item in a multi-line array.
(#52) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#58) There should be a comma after the last array item in a multi-line array.
(#60) Short array syntax must be used to define arrays
(#61) There should be a comma after the last array item in a multi-line array.
(#63) Short array syntax must be used to define arrays
(#64) There should be a comma after the last array item in a multi-line array.
(#66) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#72) There should be a comma after the last array item in a multi-line array.
(#74) Short array syntax must be used to define arrays
(#75) There should be a comma after the last array item in a multi-line array.
(#87) Short array syntax must be used to define arrays
(#143) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#165) Short array syntax must be used to define arrays
mod/concordance/classes/panelistmanager.php
(#71) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
mod/concordance/classes/privacy/provider.php
(#46) There must not be a space before the colon in a return type declaration
(#65) There must not be a space before the colon in a return type declaration
mod/concordance/classes/quizmanager.php
(#38) Import statements must not begin with a leading backslash
(#39) Import statements must not begin with a leading backslash
(#40) Import statements must not begin with a leading backslash
(#41) Import statements must not begin with a leading backslash
(#42) Import statements must not begin with a leading backslash
(#43) Import statements must not begin with a leading backslash
(#44) Import statements must not begin with a leading backslash
(#94) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#169) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#177) Short array syntax must be used to define arrays
(#180) Short array syntax must be used to define arrays
(#185) Short array syntax must be used to define arrays
(#195) Short array syntax must be used to define arrays
(#198) Short array syntax must be used to define arrays
(#241) Short array syntax must be used to define arrays
(#279) Short array syntax must be used to define arrays
(#289) Short array syntax must be used to define arrays
(#294) Short array syntax must be used to define arrays
(#364) Short array syntax must be used to define arrays
(#370) Short array syntax must be used to define arrays
(#482) Short array syntax must be used to define arrays
(#489) Short array syntax must be used to define arrays
(#492) Short array syntax must be used to define arrays
(#514) Short array syntax must be used to define arrays
(#517) Short array syntax must be used to define arrays
(#548) Short array syntax must be used to define arrays
(#581) Short array syntax must be used to define arrays
(#584) Short array syntax must be used to define arrays
(#604) Short array syntax must be used to define arrays
(#607) Short array syntax must be used to define arrays
(#609) Short array syntax must be used to define arrays
(#628) Short array syntax must be used to define arrays
mod/concordance/contactpanelists.php
(#33) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
mod/concordance/db/access.php
(#28) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
(#38) There should be a comma after the last array item in a multi-line array.
(#41) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#47) There should be a comma after the last array item in a multi-line array.
(#48) There should be a comma after the last array item in a multi-line array.
mod/concordance/db/events.php
(#29) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#33) There should be a comma after the last array item in a multi-line array.
mod/concordance/db/log.php
(#29) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
mod/concordance/db/services.php
(#29) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#38) There should be a comma after the last array item in a multi-line array.
mod/concordance/edit.php
(#32) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#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.
mod/concordance/editpanelist.php
(#32) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#47) There should be a comma after the last array item in a multi-line array.
(#49) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#88) There should be a comma after the last array item in a multi-line array.
mod/concordance/generatestudentquiz.php
(#31) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#41) 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
mod/concordance/index.php
(#30) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
mod/concordance/lib.php
(#67) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#202) Short array syntax must be used to define arrays
(#230) Short array syntax must be used to define arrays
(#266) Short array syntax must be used to define arrays
(#268) There should be a comma after the last array item in a multi-line array.
(#289) Short array syntax must be used to define arrays
(#305) Short array syntax must be used to define arrays
mod/concordance/mod_form.php
(#48) Short array syntax must be used to define arrays
mod/concordance/panelists.php
(#33) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
mod/concordance/quizaccess.php
(#1) DocBlock missing a @package tag for file quizaccess.php. Expected @package mod_concordance
mod/concordance/selectquiz.php
(#31) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#41) There should be a comma after the last array item in a multi-line array.
(#68) Short array syntax must be used to define arrays
mod/concordance/settings.php
(#32) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
mod/concordance/switchphase.php
(#33) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#47) There should be a comma after the last array item in a multi-line array.
mod/concordance/tests/behat/behat_mod_concordance.php
(#54) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#114) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#145) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
mod/concordance/tests/external_test.php
(#57) Short array syntax must be used to define arrays
mod/concordance/tests/panelistmanager_test.php
(#59) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
mod/concordance/tests/quizmanager_test.php
(#34) Import statements must not begin with a leading backslash
(#35) Import statements must not begin with a leading backslash
(#36) Import statements must not begin with a leading backslash
(#75) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#169) Short array syntax must be used to define arrays
(#203) Short array syntax must be used to define arrays
(#229) Short array syntax must be used to define arrays
(#233) Short array syntax must be used to define arrays
(#247) Short array syntax must be used to define arrays
(#249) Short array syntax must be used to define arrays
(#268) Short array syntax must be used to define arrays
(#306) Short array syntax must be used to define arrays
mod/concordance/version.php
(#33) Short array syntax must be used to define arrays
(#34) There should be a comma after the last array item in a multi-line array.
mod/concordance/view.php
(#36) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#53) There should be a comma after the last array item in a multi-line array.
(#61) Short array syntax must be used to define arrays

Javascript coding style problems

(2 errors, 1 warnings)

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

mod/concordance/amd/src/panelists.js
(#20) @package should be empty. (jsdoc/empty-tags)
mod/concordance/amd/src/studentquizgeneration.js
(#20) @package should be empty. (jsdoc/empty-tags)
(#63) Expected to return a value at the end of function. (consistent-return)

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

(1 errors, 1 warnings)

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

Problems running grunt
Task "gherkinlint" failed. Use --force to continue.

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]

mod/concordance/templates/contact_panelists_page.mustache
(#1) HTML Validation info, line 19: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <td><input type="checkbox" name="panelists" value=""/></td>)
mod/concordance/templates/send_bulk_email.mustache
(#1) HTML Validation info, line 7: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (abel> <input type="text" id="subject-bulk-email" class="form-control" value="((defaultemailsubject%2C+mod_concordance))"/></p>)

Gherkin .feature problems

(0 errors, 0 warnings)

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