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

(27 errors, 93 warnings)

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

mod/assign/submission/maharaws/backup/moodle2/backup_assignsubmission_mahara_subplugin.class.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#52) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
mod/assign/submission/maharaws/backup/moodle2/restore_assignsubmission_mahara_subplugin.class.php
(#43) Short array syntax must be used to define arrays
mod/assign/submission/maharaws/classes/event/assessable_uploaded.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#65) Short array syntax must be used to define arrays
mod/assign/submission/maharaws/classes/event/submission_created.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/assign/submission/maharaws/classes/event/submission_updated.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/assign/submission/maharaws/classes/mahara_oauth.php
(#52) 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
(#61) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
mod/assign/submission/maharaws/classes/observers.php
(#59) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
mod/assign/submission/maharaws/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Import statements must not begin with a leading backslash
(#30) Import statements must not begin with a leading backslash
(#31) Import statements must not begin with a leading backslash
(#32) Import statements must not begin with a leading backslash
(#33) Import statements must not begin with a leading backslash
(#71) There should be a comma after the last array item in a multi-line array.
(#112) Short array syntax must be used to define arrays
(#142) There should be a comma after the last array item in a multi-line array.
mod/assign/submission/maharaws/db/access.php
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#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.
(#35) There should be a comma after the last array item in a multi-line array.
mod/assign/submission/maharaws/db/events.php
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
mod/assign/submission/maharaws/db/upgrade.php
(#111) Short array syntax must be used to define arrays
(#114) There should be a comma after the last array item in a multi-line array.
(#132) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#168) Short array syntax must be used to define arrays
(#170) There should be a comma after the last array item in a multi-line array.
(#180) Short array syntax must be used to define arrays
mod/assign/submission/maharaws/launch.php
(#44) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
mod/assign/submission/maharaws/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/assign/submission/maharaws/locallib.php
(#72) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
(#160) There should be a comma after the last array item in a multi-line array.
(#231) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#311) Short array syntax must be used to define arrays
(#320) Short array syntax must be used to define arrays
(#330) Short array syntax must be used to define arrays
(#380) Short array syntax must be used to define arrays
(#381) Short array syntax must be used to define arrays
(#382) Short array syntax must be used to define arrays
(#382) Short array syntax must be used to define arrays
(#383) Short array syntax must be used to define arrays
(#399) There should be a comma after the last array item in a multi-line array.
(#406) Short array syntax must be used to define arrays
(#450) Short array syntax must be used to define arrays
(#533) Short array syntax must be used to define arrays
(#533) Short array syntax must be used to define arrays
(#533) Short array syntax must be used to define arrays
(#534) There should be a comma after the last array item in a multi-line array.
(#534) There should be a comma after the last array item in a multi-line array.
(#534) There should be a comma after the last array item in a multi-line array.
(#585) There should be a comma after the last array item in a multi-line array.
(#595) Short array syntax must be used to define arrays
(#605) Short array syntax must be used to define arrays
(#606) Short array syntax must be used to define arrays
(#607) Short array syntax must be used to define arrays
(#614) There should be a comma after the last array item in a multi-line array.
(#644) Short array syntax must be used to define arrays
(#644) Short array syntax must be used to define arrays
(#644) Short array syntax must be used to define arrays
(#649) There should be a comma after the last array item in a multi-line array.
(#649) There should be a comma after the last array item in a multi-line array.
(#649) There should be a comma after the last array item in a multi-line array.
(#686) Short array syntax must be used to define arrays
(#752) Short array syntax must be used to define arrays
(#760) Short array syntax must be used to define arrays
(#779) Short array syntax must be used to define arrays
(#781) Short array syntax must be used to define arrays
(#788) Short array syntax must be used to define arrays
(#792) Short array syntax must be used to define arrays
(#793) Short array syntax must be used to define arrays
(#794) There should be a comma after the last array item in a multi-line array.
(#795) There should be a comma after the last array item in a multi-line array.
(#807) Short array syntax must be used to define arrays
(#816) Short array syntax must be used to define arrays
(#821) There should be a comma after the last array item in a multi-line array.
(#827) Short array syntax must be used to define arrays
(#851) Short array syntax must be used to define arrays
(#911) Line exceeds 132 characters; contains 140 characters
(#924) Short array syntax must be used to define arrays
(#995) Short array syntax must be used to define arrays
(#1020) Short array syntax must be used to define arrays
(#1053) Short array syntax must be used to define arrays
(#1061) Short array syntax must be used to define arrays
(#1064) Short array syntax must be used to define arrays
(#1087) Short array syntax must be used to define arrays
(#1187) Short array syntax must be used to define arrays
(#1189) There should be a comma after the last array item in a multi-line array.
(#1193) Short array syntax must be used to define arrays
(#1200) Short array syntax must be used to define arrays
(#1215) Short array syntax must be used to define arrays
(#1221) Short array syntax must be used to define arrays
(#1238) Short array syntax must be used to define arrays
(#1258) Short array syntax must be used to define arrays
(#1312) Short array syntax must be used to define arrays
(#1315) There should be a comma after the last array item in a multi-line array.
mod/assign/submission/maharaws/settings.php
(#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.

Javascript coding style problems

(2 errors, 2 warnings)

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

mod/assign/submission/maharaws/js/popup.js
(#24) Operator ':' must be spaced. (space-infix-ops)
(#32) 'e' is defined but never used. (no-unused-vars)
(#54) Expected { after 'if' condition. (curly)
(#109) Expected space(s) after "for". (keyword-spacing)

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

(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]