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

(0 errors, 0 warnings)

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


Javascript coding style problems

(1 errors, 53 warnings)

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

question/type/vplquestion/amd/src/codeeditors.js
(#32) Missing JSDoc parameter type for '$textareas'. (valid-jsdoc)
(#33) Missing JSDoc parameter type for 'aceSize'. (valid-jsdoc)
(#34) Missing JSDoc parameter type for 'aceLang'. (valid-jsdoc)
question/type/vplquestion/amd/src/editform.js
(#30) Missing JSDoc parameter type for 'aceEditor'. (valid-jsdoc)
(#31) Missing JSDoc parameter type for 'newContent'. (valid-jsdoc)
(#59) This line has a length of 136. Maximum allowed is 132. (max-len)
(#59) Missing JSDoc parameter type for 'keepContents'. (valid-jsdoc)
(#67) Expected catch,fail() or return (promise/catch-or-return)
(#87) Expected catch,fail() or return (promise/catch-or-return)
(#105) Missing JSDoc parameter type for 'execfiles'. (valid-jsdoc)
(#106) Missing JSDoc parameter type for 'keepContents'. (valid-jsdoc)
(#107) Missing JSDoc parameter type for 'fileTabs'. (valid-jsdoc)
(#108) Missing JSDoc parameter type for 'placeholder'. (valid-jsdoc)
(#109) Missing JSDoc parameter type for '$hiddenField'. (valid-jsdoc)
(#149) Missing JSDoc parameter type for 'fileName'. (valid-jsdoc)
(#150) Missing JSDoc parameter type for 'fileContent'. (valid-jsdoc)
(#151) Missing JSDoc parameter type for '$hiddenField'. (valid-jsdoc)
(#161) Missing JSDoc parameter type for '$prevFile'. (valid-jsdoc)
(#162) Missing JSDoc parameter type for '$newFile'. (valid-jsdoc)
(#163) Missing JSDoc parameter type for 'aceEditor'. (valid-jsdoc)
(#164) Missing JSDoc parameter type for '$hiddenField'. (valid-jsdoc)
(#182) Missing JSDoc parameter type for 'helpButton'. (valid-jsdoc)
question/type/vplquestion/amd/src/scriptsloader.js
(#27) Missing JSDoc parameter type for 'scripts'. (valid-jsdoc)
(#28) Missing JSDoc parameter type for 'alreadyDefined'. (valid-jsdoc)
(#44) Identifier 'VPL_Util' is not in camel case. (camelcase)
(#52) Identifier 'VPL_Terminal' is not in camel case. (camelcase)
(#57) Missing JSDoc parameter type for 'loader'. (valid-jsdoc)
(#73) Missing JSDoc parameter type for 'iscript'. (valid-jsdoc)
(#77) Expected catch,fail() or return (promise/catch-or-return)
question/type/vplquestion/amd/src/studentanswer.js
(#31) Missing JSDoc parameter type for 'key'. (valid-jsdoc)
(#47) Missing JSDoc parameter type for 'text'. (valid-jsdoc)
(#60) Missing JSDoc parameter type for 'result'. (valid-jsdoc)
(#61) Missing JSDoc parameter type for 'field'. (valid-jsdoc)
(#62) Missing JSDoc parameter type for 'titleErrorLevel'. (valid-jsdoc)
(#82) Missing JSDoc parameter type for 'displayId'. (valid-jsdoc)
(#83) Missing JSDoc parameter type for 'result'. (valid-jsdoc)
(#104) Missing JSDoc parameter type for '$field'. (valid-jsdoc)
(#122) Missing JSDoc parameter type for 'questionId'. (valid-jsdoc)
(#123) Missing JSDoc parameter type for 'vplId'. (valid-jsdoc)
(#124) Missing JSDoc parameter type for 'userId'. (valid-jsdoc)
(#125) Missing JSDoc parameter type for 'aceTheme'. (valid-jsdoc)
(#126) Missing JSDoc parameter type for 'textareaName'. (valid-jsdoc)
(#159) Read-only global 'Terminal' should not be modified. (no-global-assign)
(#170) Unexpected empty function. (no-empty-function)
question/type/vplquestion/amd/src/vplservice.js
(#29) Missing JSDoc parameter type for 'vplId'. (valid-jsdoc)
(#30) Missing JSDoc parameter type for 'userId'. (valid-jsdoc)
(#31) Missing JSDoc parameter type for 'file'. (valid-jsdoc)
(#56) Identifier 'VPL_Util' is not in camel case. (camelcase)
(#57) Identifier 'VPL_Util' is not in camel case. (camelcase)
(#81) Identifier 'VPL_Util' is not in camel case. (camelcase)
(#123) Identifier 'VPL_Util' is not in camel case. (camelcase)
(#125) Identifier 'VPL_Util' is not in camel case. (camelcase)
(#132) Identifier 'VPL_Util' is not in camel case. (camelcase)
(#148) Identifier 'VPL_Util' is not in camel case. (camelcase)

CSS problems

(2 errors, 0 warnings)

This section shows CSS problems detected by stylelint [More info]

question/type/vplquestion/styles.css
(#138) Unexpected !important (declaration-no-important)
(#139) Unexpected !important (declaration-no-important)

PHPDocs style problems

(12 errors, 0 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

question/type/vplquestion/question.php
(#45) Function qtype_vplquestion_question::get_expected_data is not documented
(#49) Function qtype_vplquestion_question::get_correct_response is not documented
(#62) Function qtype_vplquestion_question::summarise_response is not documented
(#73) Function qtype_vplquestion_question::is_complete_response is not documented
(#77) Function qtype_vplquestion_question::get_validation_error is not documented
(#84) Function qtype_vplquestion_question::is_same_response is not documented
(#88) Function qtype_vplquestion_question::grade_response is not documented
question/type/vplquestion/questiontype.php
(#34) Function qtype_vplquestion::extra_question_fields is not documented
(#49) Phpdocs for function qtype_vplquestion::import_from_xml has incomplete parameters list
question/type/vplquestion/renderer.php
(#38) Function qtype_vplquestion_renderer::formulation_and_controls is not documented
(#161) Function qtype_vplquestion_renderer::specific_feedback is not documented
(#182) Function qtype_vplquestion_renderer::correct_response is not documented

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

(1 errors, 1 warnings)

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

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

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]