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

(79 errors, 179 warnings)

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

local/recompletion/backup/moodle2/backup_local_recompletion_plugin.class.php
(#47) Short array syntax must be used to define arrays
(#48) There should be a comma after the last array item in a multi-line array.
(#53) Short array syntax must be used to define arrays
(#53) 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.
(#60) Short array syntax must be used to define arrays
(#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.
(#66) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#67) 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
(#80) There should be a comma after the last array item in a multi-line array.
(#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
(#97) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#98) 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
(#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.
(#111) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#123) There should be a comma after the last array item in a multi-line array.
(#129) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
(#137) There should be a comma after the last array item in a multi-line array.
(#143) Short array syntax must be used to define arrays
(#149) Short array syntax must be used to define arrays
(#149) Short array syntax must be used to define arrays
(#150) There should be a comma after the last array item in a multi-line array.
(#156) Short array syntax must be used to define arrays
(#162) Short array syntax must be used to define arrays
(#162) Short array syntax must be used to define arrays
(#164) There should be a comma after the last array item in a multi-line array.
(#168) 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.
(#178) Short array syntax must be used to define arrays
(#181) Short array syntax must be used to define arrays
(#189) Short array syntax must be used to define arrays
(#189) Short array syntax must be used to define arrays
(#190) There should be a comma after the last array item in a multi-line array.
(#196) Short array syntax must be used to define arrays
(#201) Short array syntax must be used to define arrays
(#201) Short array syntax must be used to define arrays
(#202) There should be a comma after the last array item in a multi-line array.
(#208) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#214) There should be a comma after the last array item in a multi-line array.
(#220) Short array syntax must be used to define arrays
(#225) Short array syntax must be used to define arrays
(#225) Short array syntax must be used to define arrays
(#226) There should be a comma after the last array item in a multi-line array.
(#232) Short array syntax must be used to define arrays
(#237) Short array syntax must be used to define arrays
(#237) Short array syntax must be used to define arrays
(#239) There should be a comma after the last array item in a multi-line array.
(#245) Short array syntax must be used to define arrays
(#251) Short array syntax must be used to define arrays
(#251) Short array syntax must be used to define arrays
(#253) There should be a comma after the last array item in a multi-line array.
(#259) Short array syntax must be used to define arrays
local/recompletion/backup/moodle2/restore_local_recompletion_plugin.class.php
(#39) Short array syntax must be used to define arrays
(#319) Short array syntax must be used to define arrays
(#327) Short array syntax must be used to define arrays
(#336) Short array syntax must be used to define arrays
(#343) Short array syntax must be used to define arrays
(#352) Short array syntax must be used to define arrays
(#360) Short array syntax must be used to define arrays
(#368) Short array syntax must be used to define arrays
(#378) Short array syntax must be used to define arrays
(#379) There should be a comma after the last array item in a multi-line array.
(#382) Short array syntax must be used to define arrays
(#391) Short array syntax must be used to define arrays
local/recompletion/classes/admin_setting_configstrtotime.php
(#106) Line exceeds 132 characters; contains 135 characters
local/recompletion/classes/observer.php
(#42) Short array syntax must be used to define arrays
(#44) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/plugins/mod_assign.php
(#49) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#71) There should be a comma after the last array item in a multi-line array.
(#97) Short array syntax must be used to define arrays
local/recompletion/classes/plugins/mod_choice.php
(#49) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#76) There should be a comma after the last array item in a multi-line array.
(#98) Short array syntax must be used to define arrays
local/recompletion/classes/plugins/mod_coursecertificate.php
(#95) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/plugins/mod_customcert.php
(#56) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#95) There should be a comma after the last array item in a multi-line array.
(#123) Short array syntax must be used to define arrays
local/recompletion/classes/plugins/mod_h5pactivity.php
(#73) There should be a comma after the last array item in a multi-line array.
(#101) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/plugins/mod_hotpot.php
(#81) There should be a comma after the last array item in a multi-line array.
(#113) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/plugins/mod_hvp.php
(#81) There should be a comma after the last array item in a multi-line array.
(#113) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/plugins/mod_lesson.php
(#73) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/plugins/mod_pulse.php
(#54) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#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.
(#98) Short array syntax must be used to define arrays
local/recompletion/classes/plugins/mod_questionnaire.php
(#52) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#82) 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.
(#114) Short array syntax must be used to define arrays
local/recompletion/classes/plugins/mod_quiz.php
(#49) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#78) 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
(#124) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#141) There should be a comma after the last array item in a multi-line array.
(#143) There should be a comma after the last array item in a multi-line array.
(#146) 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.
(#163) Short array syntax must be used to define arrays
local/recompletion/classes/plugins/mod_scorm.php
(#49) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#76) There should be a comma after the last array item in a multi-line array.
(#97) Short array syntax must be used to define arrays
local/recompletion/classes/privacy/provider.php
(#58) There should be a comma after the last array item in a multi-line array.
(#67) There should be a comma after the last array item in a multi-line array.
(#73) There should be a comma after the last array item in a multi-line array.
(#81) 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.
(#132) There should be a comma after the last array item in a multi-line array.
(#210) Short array syntax must be used to define arrays
(#291) Short array syntax must be used to define arrays
(#383) Short array syntax must be used to define arrays
(#384) There should be a comma after the last array item in a multi-line array.
(#407) Short array syntax must be used to define arrays
(#441) Short array syntax must be used to define arrays
(#472) Short array syntax must be used to define arrays
(#573) Short array syntax must be used to define arrays
local/recompletion/classes/recompletion_form.php
(#96) Line exceeds 132 characters; contains 135 characters
local/recompletion/classes/reportbuilder/datasource/archived_h5pactivities_atempts.php
(#102) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/reportbuilder/entities/course_completions.php
(#43) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/reportbuilder/entities/course_modules_completion.php
(#45) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/reportbuilder/entities/h5pactivity_attempts.php
(#44) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/reportbuilder/entities/hotpot_attempts.php
(#44) There should be a comma after the last array item in a multi-line array.
(#220) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/reportbuilder/entities/lesson_grades.php
(#42) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/reportbuilder/entities/quiz_attempts.php
(#42) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/reportbuilder/entities/quiz_grades.php
(#42) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/table/participants.php
(#91) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#178) Short array syntax must be used to define arrays
(#180) There should be a comma after the last array item in a multi-line array.
(#188) Short array syntax must be used to define arrays
(#192) Short array syntax must be used to define arrays
local/recompletion/classes/task/check_recompletion.php
(#215) Line exceeds 132 characters; contains 139 characters
(#225) There should be a comma after the last array item in a multi-line array.
local/recompletion/db/access.php
(#36) There should be a comma after the last array item in a multi-line array.
(#47) There should be a comma after the last array item in a multi-line array.
local/recompletion/db/events.php
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#31) There should be a comma after the last array item in a multi-line array.
(#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.
local/recompletion/db/tasks.php
(#28) Short array syntax must be used to define arrays
(#29) 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.
(#37) There should be a comma after the last array item in a multi-line array.
local/recompletion/db/upgrade.php
(#51) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#138) 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
(#139) Short array syntax must be used to define arrays
(#142) Short array syntax must be used to define arrays
(#160) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#164) Short array syntax must be used to define arrays
(#184) Short array syntax must be used to define arrays
(#185) Short array syntax must be used to define arrays
(#185) Short array syntax must be used to define arrays
(#186) Short array syntax must be used to define arrays
(#186) Short array syntax must be used to define arrays
(#189) Short array syntax must be used to define arrays
(#190) Short array syntax must be used to define arrays
(#273) Short array syntax must be used to define arrays
(#275) Short array syntax must be used to define arrays
(#277) There should be a comma after the last array item in a multi-line array.
(#278) Short array syntax must be used to define arrays
(#280) There should be a comma after the last array item in a multi-line array.
(#281) Short array syntax must be used to define arrays
(#283) There should be a comma after the last array item in a multi-line array.
(#284) Short array syntax must be used to define arrays
(#286) There should be a comma after the last array item in a multi-line array.
(#287) Short array syntax must be used to define arrays
(#289) There should be a comma after the last array item in a multi-line array.
(#290) Short array syntax must be used to define arrays
(#292) There should be a comma after the last array item in a multi-line array.
(#293) Short array syntax must be used to define arrays
(#295) There should be a comma after the last array item in a multi-line array.
(#296) Short array syntax must be used to define arrays
(#298) There should be a comma after the last array item in a multi-line array.
(#299) Short array syntax must be used to define arrays
(#301) There should be a comma after the last array item in a multi-line array.
(#302) Short array syntax must be used to define arrays
(#304) There should be a comma after the last array item in a multi-line array.
(#305) Short array syntax must be used to define arrays
(#307) There should be a comma after the last array item in a multi-line array.
(#600) Short array syntax must be used to define arrays
(#608) Short array syntax must be used to define arrays
(#609) There should be a comma after the last array item in a multi-line array.
local/recompletion/editcompletion.php
(#30) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#60) There should be a comma after the last array item in a multi-line array.
local/recompletion/lib.php
(#42) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
local/recompletion/locallib.php
(#122) Short array syntax must be used to define arrays
(#164) There should be a comma after the last array item in a multi-line array.
(#168) Short array syntax must be used to define arrays
local/recompletion/participants.php
(#47) Short array syntax must be used to define arrays
(#52) There should be a comma after the last array item in a multi-line array.
(#59) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
local/recompletion/resetcompletion.php
(#36) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
local/recompletion/tests/local/restrictions/enrol_test.php
(#60) Data provider method "set_form_data_data_provider" will need to be converted to static in future.
local/recompletion/tests/plugins/mod_lesson_test.php
(#50) Short array syntax must be used to define arrays
(#98) There should be a comma after the last array item in a multi-line array.
local/recompletion/tests/recompletion_test.php
(#31) Test method test_local_recompletion() is missing any coverage information, own or at class level
local/recompletion/tests/schedule_test.php
(#32) Test method test_local_recompletion() is missing any coverage information, own or at class level

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

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