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

(43 errors, 18 warnings)

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

admin/tool/log/store/caliper/classes/local/RecipeEmitter/Controller.php
(#28) Import statements must not begin with a leading backslash
(#29) Import statements must not begin with a leading backslash
(#30) Import statements must not begin with a leading backslash
admin/tool/log/store/caliper/classes/local/RecipeEmitter/Events/AssignmentGraded.php
(#28) Import statements must not begin with a leading backslash
(#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
admin/tool/log/store/caliper/classes/local/RecipeEmitter/Events/AssignmentSubmitted.php
(#28) Import statements must not begin with a leading backslash
(#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
admin/tool/log/store/caliper/classes/local/RecipeEmitter/Events/AttemptCompleted.php
(#28) Import statements must not begin with a leading backslash
(#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
admin/tool/log/store/caliper/classes/local/RecipeEmitter/Events/AttemptStarted.php
(#28) Import statements must not begin with a leading backslash
(#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
admin/tool/log/store/caliper/classes/local/RecipeEmitter/Events/CourseViewed.php
(#28) Import statements must not begin with a leading backslash
(#29) Import statements must not begin with a leading backslash
admin/tool/log/store/caliper/classes/local/RecipeEmitter/Events/Event.php
(#28) Import statements must not begin with a leading backslash
admin/tool/log/store/caliper/classes/local/RecipeEmitter/Events/ModuleType.php
(#28) Import statements must not begin with a leading backslash
(#29) Import statements must not begin with a leading backslash
admin/tool/log/store/caliper/classes/local/RecipeEmitter/Events/ModuleViewed.php
(#28) Import statements must not begin with a leading backslash
admin/tool/log/store/caliper/classes/local/RecipeEmitter/Events/UserLoggedin.php
(#28) Import statements must not begin with a leading backslash
(#29) Import statements must not begin with a leading backslash
(#30) Import statements must not begin with a leading backslash
admin/tool/log/store/caliper/classes/local/RecipeEmitter/Events/UserLoggedout.php
(#28) Import statements must not begin with a leading backslash
(#29) Import statements must not begin with a leading backslash
(#30) Import statements must not begin with a leading backslash
admin/tool/log/store/caliper/classes/local/RecipeEmitter/Events/Viewed.php
(#28) Import statements must not begin with a leading backslash
admin/tool/log/store/caliper/classes/local/RecipeEmitter/Repository.php
(#44) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
admin/tool/log/store/caliper/classes/local/Translator/Events/AssignmentGraded.php
(#59) There should be a comma after the last array item in a multi-line array.
admin/tool/log/store/caliper/classes/local/Translator/Events/AttemptCompleted.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
admin/tool/log/store/caliper/classes/local/Translator/Events/Event.php
(#28) Import statements must not begin with a leading backslash
(#48) 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.
admin/tool/log/store/caliper/classes/log/store.php
(#32) Import statements must not begin with a leading backslash
(#33) Import statements must not begin with a leading backslash
(#34) Import statements must not begin with a leading backslash
(#36) Import statements must not begin with a leading backslash
(#37) Import statements must not begin with a leading backslash
(#76) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#206) Short array syntax must be used to define arrays
admin/tool/log/store/caliper/classes/log_expander_controller.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
admin/tool/log/store/caliper/classes/task/emit_task.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
admin/tool/log/store/caliper/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.
admin/tool/log/store/caliper/db/upgrade.php
(#40) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
admin/tool/log/store/caliper/lang/en/logstore_caliper.php
(#29) The string key "apikey" is not in the correct order, it should be before "endpoint"
(#34) The string key "batchsize" is not in the correct order, it should be before "immediatemode_desc"
(#37) The string key "pluginname" is not in the correct order, it should be before "settings"
admin/tool/log/store/caliper/settings.php
(#47) 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

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