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

(211 errors, 3 warnings)

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

question/type/vplquestion/ajax/checkevaluationstate.json.php
(#43) Long list syntax is not allowed
(#79) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#79) Only one argument is allowed per line in a multi-line function call
(#79) Closing parenthesis of a multi-line function call must be on a line by itself
question/type/vplquestion/classes/event/question_async_evaluated.php
(#66) Opening parenthesis of a multi-line function call must be the last content on the line
(#67) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#67) Closing parenthesis of a multi-line function call must be on a line by itself
question/type/vplquestion/classes/event/question_evaluation_failed.php
(#65) Opening parenthesis of a multi-line function call must be the last content on the line
(#66) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#66) Closing parenthesis of a multi-line function call must be on a line by itself
question/type/vplquestion/classes/event/question_evaluation_queued.php
(#67) Opening parenthesis of a multi-line function call must be the last content on the line
(#68) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#68) Closing parenthesis of a multi-line function call must be on a line by itself
question/type/vplquestion/classes/locallib.php
(#51) Incorrect spacing between argument "$selector" and equals sign; expected 1 but found 0
(#51) Incorrect spacing between default value and equals sign for argument "$selector"; expected 1 but found 0
(#56) Expected at least 1 space before "."; 0 found
(#56) Expected at least 1 space after "."; 0 found
(#80) Opening parenthesis of a multi-line function call must be the last content on the line
(#81) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#81) Expected at least 1 space before "."; 0 found
(#81) Expected at least 1 space after "."; 0 found
(#81) Expected at least 1 space before "."; 0 found
(#81) Expected at least 1 space after "."; 0 found
(#82) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#82) Closing parenthesis of a multi-line function call must be on a line by itself
(#203) Expected at least 1 space before "."; 0 found
(#203) Expected at least 1 space after "."; 0 found
(#338) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#342) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#342) Closing parenthesis of a multi-line function call must be on a line by itself
(#369) Expected 1 space after FUNCTION keyword; 0 found
(#377) Expected 1 space after FUNCTION keyword; 0 found
question/type/vplquestion/classes/privacy/provider.php
(#59) Opening parenthesis of a multi-line function call must be the last content on the line
(#59) Only one argument is allowed per line in a multi-line function call
(#60) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#61) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#61) Closing parenthesis of a multi-line function call must be on a line by itself
(#66) Opening parenthesis of a multi-line function call must be the last content on the line
(#66) Only one argument is allowed per line in a multi-line function call
(#67) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#68) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#68) Closing parenthesis of a multi-line function call must be on a line by itself
(#73) Opening parenthesis of a multi-line function call must be the last content on the line
(#73) Only one argument is allowed per line in a multi-line function call
(#74) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#80) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#80) Closing parenthesis of a multi-line function call must be on a line by itself
(#85) Opening parenthesis of a multi-line function call must be the last content on the line
(#85) Only one argument is allowed per line in a multi-line function call
(#86) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#87) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#87) Closing parenthesis of a multi-line function call must be on a line by itself
(#92) Opening parenthesis of a multi-line function call must be the last content on the line
(#92) Only one argument is allowed per line in a multi-line function call
(#93) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#94) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#94) Closing parenthesis of a multi-line function call must be on a line by itself
(#99) Opening parenthesis of a multi-line function call must be the last content on the line
(#99) Only one argument is allowed per line in a multi-line function call
(#100) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#101) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#101) Closing parenthesis of a multi-line function call must be on a line by itself
question/type/vplquestion/classes/task/grade_response_task.php
(#93) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#94) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#95) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#96) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#97) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#103) Long list syntax is not allowed
question/type/vplquestion/classes/task/reschedule_tasks_for_stranded_questions_task.php
(#49) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#53) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#53) Closing parenthesis of a multi-line function call must be on a line by itself
question/type/vplquestion/classes/websocket.php
(#73) Opening parenthesis of a multi-line function call must be the last content on the line
question/type/vplquestion/edit_vplquestion_form.php
(#61) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#69) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#69) Closing parenthesis of a multi-line function call must be on a line by itself
(#88) Opening parenthesis of a multi-line function call must be the last content on the line
(#88) Only one argument is allowed per line in a multi-line function call
(#88) Only one argument is allowed per line in a multi-line function call
(#89) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#89) Closing parenthesis of a multi-line function call must be on a line by itself
(#144) Opening parenthesis of a multi-line function call must be the last content on the line
(#144) Only one argument is allowed per line in a multi-line function call
(#144) Only one argument is allowed per line in a multi-line function call
(#150) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#150) Closing parenthesis of a multi-line function call must be on a line by itself
(#156) Opening parenthesis of a multi-line function call must be the last content on the line
(#156) Only one argument is allowed per line in a multi-line function call
(#158) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#158) Closing parenthesis of a multi-line function call must be on a line by itself
(#197) Opening parenthesis of a multi-line function call must be the last content on the line
(#197) Only one argument is allowed per line in a multi-line function call
(#197) Only one argument is allowed per line in a multi-line function call
(#198) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#198) Closing parenthesis of a multi-line function call must be on a line by itself
(#200) Opening parenthesis of a multi-line function call must be the last content on the line
(#200) Only one argument is allowed per line in a multi-line function call
(#200) Only one argument is allowed per line in a multi-line function call
(#201) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#201) Closing parenthesis of a multi-line function call must be on a line by itself
(#211) Opening parenthesis of a multi-line function call must be the last content on the line
(#211) Only one argument is allowed per line in a multi-line function call
(#211) Only one argument is allowed per line in a multi-line function call
(#212) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#212) Closing parenthesis of a multi-line function call must be on a line by itself
(#225) Expected at least 1 space before "."; 0 found
(#225) Expected at least 1 space after "."; 0 found
(#226) Expected at least 1 space before "."; 0 found
(#226) Expected at least 1 space after "."; 0 found
question/type/vplquestion/question.php
(#263) Opening parenthesis of a multi-line function call must be the last content on the line
(#264) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#264) Closing parenthesis of a multi-line function call must be on a line by itself
question/type/vplquestion/questiontype.php
(#81) Incorrect spacing between argument "$extra" and equals sign; expected 1 but found 0
(#81) Incorrect spacing between default value and equals sign for argument "$extra"; expected 1 but found 0
(#87) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#88) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#88) Closing parenthesis of a multi-line function call must be on a line by itself
(#92) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#93) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#93) Closing parenthesis of a multi-line function call must be on a line by itself
question/type/vplquestion/renderer.php
(#59) Long list syntax is not allowed
(#74) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#83) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#83) Closing parenthesis of a multi-line function call must be on a line by itself
(#85) Opening parenthesis of a multi-line function call must be the last content on the line
(#85) Only one argument is allowed per line in a multi-line function call
(#86) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#86) Closing parenthesis of a multi-line function call must be on a line by itself
(#94) Opening parenthesis of a multi-line function call must be the last content on the line
(#94) Only one argument is allowed per line in a multi-line function call
(#95) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#95) Closing parenthesis of a multi-line function call must be on a line by itself
(#168) Expected at least 1 space before "."; 0 found
(#183) Long list syntax is not allowed
question/type/vplquestion/settings.php
(#26) Opening parenthesis of a multi-line function call must be the last content on the line
(#27) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#28) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#29) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#30) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#30) Closing parenthesis of a multi-line function call must be on a line by itself
question/type/vplquestion/tests/locallib_test.php
(#30) Wrong @covers annotation, it must be FQCN (\ prefixed) or point to method (:: prefixed)
(#34) Wrong @covers annotation, it must be FQCN (\ prefixed) or point to method (:: prefixed)
(#36) No one-line description found in phpdocs for docblock of function test_format_execution_files
(#44) Opening parenthesis of a multi-line function call must be the last content on the line
(#44) Only one argument is allowed per line in a multi-line function call
(#45) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#45) Closing parenthesis of a multi-line function call must be on a line by itself
(#46) 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 8 spaces but found 16
(#47) Closing parenthesis of a multi-line function call must be on a line by itself
(#48) Opening parenthesis of a multi-line function call must be the last content on the line
(#48) Only one argument is allowed per line in a multi-line function call
(#49) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#49) Closing parenthesis of a multi-line function call must be on a line by itself
(#50) Opening parenthesis of a multi-line function call must be the last content on the line
(#50) Only one argument is allowed per line in a multi-line function call
(#51) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#51) Closing parenthesis of a multi-line function call must be on a line by itself
(#52) Opening parenthesis of a multi-line function call must be the last content on the line
(#52) Only one argument is allowed per line in a multi-line function call
(#53) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#53) Closing parenthesis of a multi-line function call must be on a line by itself
(#54) Opening parenthesis of a multi-line function call must be the last content on the line
(#54) Only one argument is allowed per line in a multi-line function call
(#55) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#55) Closing parenthesis of a multi-line function call must be on a line by itself
(#56) Opening parenthesis of a multi-line function call must be the last content on the line
(#56) Only one argument is allowed per line in a multi-line function call
(#57) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#57) Closing parenthesis of a multi-line function call must be on a line by itself
(#59) Opening parenthesis of a multi-line function call must be the last content on the line
(#59) Only one argument is allowed per line in a multi-line function call
(#60) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#60) Closing parenthesis of a multi-line function call must be on a line by itself
(#61) Opening parenthesis of a multi-line function call must be the last content on the line
(#61) Only one argument is allowed per line in a multi-line function call
(#62) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#62) Closing parenthesis of a multi-line function call must be on a line by itself
(#63) Opening parenthesis of a multi-line function call must be the last content on the line
(#63) Only one argument is allowed per line in a multi-line function call
(#64) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#64) Closing parenthesis of a multi-line function call must be on a line by itself
(#65) Opening parenthesis of a multi-line function call must be the last content on the line
(#65) Only one argument is allowed per line in a multi-line function call
(#66) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#66) Closing parenthesis of a multi-line function call must be on a line by itself
(#67) Opening parenthesis of a multi-line function call must be the last content on the line
(#67) Only one argument is allowed per line in a multi-line function call
(#68) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#68) Closing parenthesis of a multi-line function call must be on a line by itself
(#72) Wrong @covers annotation, it must be FQCN (\ prefixed) or point to method (:: prefixed)
(#74) No one-line description found in phpdocs for docblock of function test_get_ace_themes
(#77) Line exceeds 132 characters; contains 139 characters
(#82) Wrong @covers annotation, it must be FQCN (\ prefixed) or point to method (:: prefixed)
(#84) No one-line description found in phpdocs for docblock of function test_get_mod_vpl_version
question/type/vplquestion/tests/privacy/provider_test.php
(#40) Wrong @covers annotation, it must be FQCN (\ prefixed) or point to method (:: prefixed)
(#44) Wrong @covers annotation, it must be FQCN (\ prefixed) or point to method (:: prefixed)
(#46) No one-line description found in phpdocs for docblock of function test_get_metadata
(#53) Wrong @covers annotation, it must be FQCN (\ prefixed) or point to method (:: prefixed)
(#55) No one-line description found in phpdocs for docblock of function test_export_user_preferences_no_pref
(#66) Wrong @covers annotation, it must be FQCN (\ prefixed) or point to method (:: prefixed)
question/type/vplquestion/tests/questiontype_test.php
(#33) Wrong @covers annotation, it must be FQCN (\ prefixed) or point to method (:: prefixed)
(#35) PHPUnit testcase name "qtype_vplquestion_test" does not match file name "questiontype_test"
(#35) PHPUnit class "qtype_vplquestion_test" does not have any namespace. It is recommended to add it to the "qtype_vplquestion" namespace, using more levels if needed, in order to match the code being tested
(#52) Wrong @covers annotation, it must be FQCN (\ prefixed) or point to method (:: prefixed)
(#54) No one-line description found in phpdocs for docblock of function test_name
(#59) Wrong @covers annotation, it must be FQCN (\ prefixed) or point to method (:: prefixed)
(#61) No one-line description found in phpdocs for docblock of function test_is_real_question_type
(#66) Wrong @covers annotation, it must be FQCN (\ prefixed) or point to method (:: prefixed)
(#68) No one-line description found in phpdocs for docblock of function test_can_analyse_responses
(#73) Wrong @covers annotation, it must be FQCN (\ prefixed) or point to method (:: prefixed)
(#75) No one-line description found in phpdocs for docblock of function test_questionid_column_name
(#81) Wrong @covers annotation, it must be FQCN (\ prefixed) or point to method (:: prefixed)
(#83) No one-line description found in phpdocs for docblock of function test_extra_question_fields

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

(7 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]

question/type/vplquestion/amd/build/codeeditors.min.js.map
Uncommitted change detected.
question/type/vplquestion/amd/build/editform.min.js
Uncommitted change detected.
question/type/vplquestion/amd/build/editform.min.js.map
Uncommitted change detected.
question/type/vplquestion/amd/build/evaluationobserver.min.js.map
Uncommitted change detected.
question/type/vplquestion/amd/build/scriptsloader.min.js.map
Uncommitted change detected.
question/type/vplquestion/amd/build/studentanswer.min.js.map
Uncommitted change detected.
question/type/vplquestion/amd/build/vplservice.min.js.map
Uncommitted change detected.

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]