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

(114 errors, 6 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
(#75) Expected at least 1 space before "."; 0 found
(#75) Expected at least 1 space after "."; 0 found
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
(#41) Opening brace must not be followed by a blank line
(#80) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#82) The closing brace for the class must go on the next line after the body
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
(#41) Opening brace must not be followed by a blank line
(#70) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#72) The closing brace for the class must go on the next line after the body
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
(#42) Opening brace must not be followed by a blank line
(#71) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#73) The closing brace for the class must go on the next line after the body
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
(#42) Opening brace must not be followed by a blank line
(#71) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#73) The closing brace for the class must go on the next line after the body
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
(#39) Opening brace must not be followed by a blank line
(#54) The closing brace for the class must go on the next line after the body
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
(#38) Opening brace must not be followed by a blank line
(#52) The closing brace for the class must go on the next line after the body
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
(#40) Opening brace must not be followed by a blank line
(#56) The closing brace for the class must go on the next line after the body
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
(#40) Opening brace must not be followed by a blank line
(#56) The closing brace for the class must go on the next line after the body
admin/tool/log/store/caliper/classes/local/RecipeEmitter/Events/Viewed.php
(#28) Import statements must not begin with a leading backslash
(#38) Opening brace must not be followed by a blank line
(#48) The closing brace for the class must go on the next line after the body
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
(#80) The closing brace for the class must go on the next line after the body
admin/tool/log/store/caliper/classes/local/Translator/Controller.php
(#36) Opening brace must not be followed by a blank line
(#86) Expected at least 1 space before "."; 0 found
(#86) Expected at least 1 space after "."; 0 found
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
(#38) Opening brace must not be followed by a blank line
(#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
(#121) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#137) Short array syntax must be used to define arrays
(#153) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#187) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#206) Short array syntax must be used to define arrays
(#223) The closing brace for the class must go on the next line after the body
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.
(#40) Opening brace must not be followed by a blank line
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
(#35) Blank line found at start of control structure
(#40) Short array syntax must be used to define arrays
(#47) Opening parenthesis of a multi-line function call must be the last content on the line
(#47) Only one argument is allowed per line in a multi-line function call
(#48) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#48) Short array syntax must be used to define arrays
(#48) Closing parenthesis of a multi-line function call must be on a line by itself
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
(#30) Opening parenthesis of a multi-line function call must be the last content on the line
(#31) Only one argument is allowed per line in a multi-line function call
(#32) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#32) Only one argument is allowed per line in a multi-line function call
(#32) Closing parenthesis of a multi-line function call must be on a line by itself
(#35) Opening parenthesis of a multi-line function call must be the last content on the line
(#36) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#36) Only one argument is allowed per line in a multi-line function call
(#36) Only one argument is allowed per line in a multi-line function call
(#36) Only one argument is allowed per line in a multi-line function call
(#36) Closing parenthesis of a multi-line function call must be on a line by itself
(#39) Opening parenthesis of a multi-line function call must be the last content on the line
(#41) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#41) Only one argument is allowed per line in a multi-line function call
(#41) Closing parenthesis of a multi-line function call must be on a line by itself
(#44) Opening parenthesis of a multi-line function call must be the last content on the line
(#46) Only one argument is allowed per line in a multi-line function call
(#47) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#47) Short array syntax must be used to define arrays
(#47) Closing parenthesis of a multi-line function call must be on a line by itself
(#48) Blank line found at end of control structure

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]