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

(41 errors, 65 warnings)

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

mod/pulse/backup/moodle2/backup_pulse_stepslib.php
(#38) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
mod/pulse/backup/moodle2/restore_pulse_activity_task.class.php
(#53) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
mod/pulse/backup/moodle2/restore_pulse_stepslib.php
(#38) Short array syntax must be used to define arrays
mod/pulse/classes/external.php
(#44) Short array syntax must be used to define arrays
mod/pulse/classes/helper.php
(#126) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#397) 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.
mod/pulse/classes/preset.php
(#358) Short array syntax must be used to define arrays
(#486) Short array syntax must be used to define arrays
(#488) There should be a comma after the last array item in a multi-line array.
(#563) Short array syntax must be used to define arrays
(#592) Short array syntax must be used to define arrays
(#600) Short array syntax must be used to define arrays
(#639) Short array syntax must be used to define arrays
(#641) There should be a comma after the last array item in a multi-line array.
(#645) Short array syntax must be used to define arrays
(#647) There should be a comma after the last array item in a multi-line array.
(#739) There should be a comma after the last array item in a multi-line array.
(#848) Short array syntax must be used to define arrays
mod/pulse/classes/privacy/provider.php
(#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
(#62) There should be a comma after the last array item in a multi-line array.
(#70) There should be a comma after the last array item in a multi-line array.
(#115) There should be a comma after the last array item in a multi-line array.
(#328) There should be a comma after the last array item in a multi-line array.
(#367) There should be a comma after the last array item in a multi-line array.
mod/pulse/classes/pulse_course_modinfo.php
(#48) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
mod/pulse/classes/table/approveuser.php
(#44) Short array syntax must be used to define arrays
mod/pulse/db/access.php
(#27) 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
(#35) There should be a comma after the last array item in a multi-line array.
(#37) There should be a comma after the last array item in a multi-line array.
(#40) Short array syntax must be used to define arrays
(#43) 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.
(#46) 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
(#52) Short array syntax must be used to define arrays
(#54) There should be a comma after the last array item in a multi-line array.
(#57) Short array syntax must be used to define arrays
(#61) 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) There should be a comma after the last array item in a multi-line array.
mod/pulse/db/events.php
(#32) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
mod/pulse/db/messages.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
mod/pulse/db/services.php
(#27) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
mod/pulse/db/upgrade.php
(#57) Short array syntax must be used to define arrays
mod/pulse/index.php
(#29) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
mod/pulse/lib.php
(#50) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#195) Short array syntax must be used to define arrays
mod/pulse/lib/vars.php
(#106) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
(#148) There should be a comma after the last array item in a multi-line array.
mod/pulse/mod_form.php
(#56) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#193) Short array syntax must be used to define arrays
mod/pulse/tests/lib_test.php
(#73) There should be a comma after the last array item in a multi-line array.
(#105) There should be a comma after the last array item in a multi-line array.
(#109) There should be a comma after the last array item in a multi-line array.
(#133) There should be a comma after the last array item in a multi-line array.
(#136) There should be a comma after the last array item in a multi-line array.
(#139) There should be a comma after the last array item in a multi-line array.
(#145) 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
(#161) There should be a comma after the last array item in a multi-line array.
(#200) There should be a comma after the last array item in a multi-line array.
(#204) There should be a comma after the last array item in a multi-line array.
(#208) There should be a comma after the last array item in a multi-line array.
(#236) Short array syntax must be used to define arrays
(#240) There should be a comma after the last array item in a multi-line array.
(#243) There should be a comma after the last array item in a multi-line array.
(#246) There should be a comma after the last array item in a multi-line array.
(#249) There should be a comma after the last array item in a multi-line array.
(#267) There should be a comma after the last array item in a multi-line array.
(#271) There should be a comma after the last array item in a multi-line array.
(#275) There should be a comma after the last array item in a multi-line array.
mod/pulse/tests/preset_test.php
(#126) There should be a comma after the last array item in a multi-line array.
(#131) There should be a comma after the last array item in a multi-line array.
mod/pulse/view.php
(#29) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays

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/pulse/classes/preset.php
(#146) Phpdocs for function preset::__construct 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]