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

(34 errors, 78 warnings)

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

blocks/completion_progress/backup/moodle2/restore_completion_progress_block_task.class.php
(#46) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
blocks/completion_progress/block_completion_progress.php
(#97) Short array syntax must be used to define arrays
(#101) There should be a comma after the last array item in a multi-line array.
(#118) Short array syntax must be used to define arrays
(#216) Short array syntax must be used to define arrays
(#289) Short array syntax must be used to define arrays
(#293) Short array syntax must be used to define arrays
(#296) Short array syntax must be used to define arrays
blocks/completion_progress/classes/completion_progress.php
(#625) Short array syntax must be used to define arrays
blocks/completion_progress/classes/output/renderer.php
(#66) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#80) 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
(#123) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#145) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#177) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#237) Short array syntax must be used to define arrays
(#238) There should be a comma after the last array item in a multi-line array.
(#243) Short array syntax must be used to define arrays
(#261) Short array syntax must be used to define arrays
(#263) There should be a comma after the last array item in a multi-line array.
(#268) Short array syntax must be used to define arrays
(#302) Short array syntax must be used to define arrays
(#305) Short array syntax must be used to define arrays
blocks/completion_progress/css.php
(#37) 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.
blocks/completion_progress/db/access.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#32) 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.
(#40) Short array syntax must be used to define arrays
(#43) 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.
(#50) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#57) There should be a comma after the last array item in a multi-line array.
(#60) 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
(#67) Short array syntax must be used to define arrays
(#68) There should be a comma after the last array item in a multi-line array.
(#71) There should be a comma after the last array item in a multi-line array.
blocks/completion_progress/edit_form.php
(#60) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#86) 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
(#117) Short array syntax must be used to define arrays
(#141) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
blocks/completion_progress/overview.php
(#53) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#185) 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
(#214) Short array syntax must be used to define arrays
(#218) Short array syntax must be used to define arrays
(#225) Short array syntax must be used to define arrays
(#233) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#254) Short array syntax must be used to define arrays
blocks/completion_progress/settings.php
(#31) Short array syntax must be used to define arrays
(#39) 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.
blocks/completion_progress/tests/assign_completion_test.php
(#62) 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.
(#212) A comma after the last array item in a single-line array is not allowed.
(#213) A comma after the last array item in a single-line array is not allowed.
(#224) Data provider method "teamsubmission_provider" will need to be converted to static in future.
(#285) There should be a comma after the last array item in a multi-line array.
(#324) There should be a comma after the last array item in a multi-line array.
blocks/completion_progress/tests/general_test.php
(#134) 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.
(#294) There should be a comma after the last array item in a multi-line array.
(#343) There should be a comma after the last array item in a multi-line array.
(#347) There should be a comma after the last array item in a multi-line array.
blocks/completion_progress/tests/overview_test.php
(#94) There should be a comma after the last array item in a multi-line array.
(#146) There should be a comma after the last array item in a multi-line array.
(#234) There should be a comma after the last array item in a multi-line array.
(#239) There should be a comma after the last array item in a multi-line array.
blocks/completion_progress/tests/quiz_completion_test.php
(#56) A comma after the last array item in a single-line array is not allowed.
(#57) A comma after the last array item in a single-line array is not allowed.
(#58) A comma after the last array item in a single-line array is not allowed.
(#59) A comma after the last array item in a single-line array is not allowed.
(#70) Data provider method "grademethod_provider" will need to be converted to static in future.
(#90) There should be a comma after the last array item in a multi-line array.
(#148) Data provider method "grademethod_provider" will need to be converted to static in future.
blocks/completion_progress/tests/workshop_completion_test.php
(#66) There should be a comma after the last array item in a multi-line array.
(#147) 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.

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]