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

(100 errors, 83 warnings)

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

question/type/multichoicewiris/backup/moodle1/lib.php
(#22) Missing @copyright tag
(#22) Missing @license tag
(#25) DocBlock missing a @package tag for class moodle1_qtype_multichoicewiris_handler. Expected @package qtype_multichoicewiris
(#27) Missing docblock for function get_question_subpaths
(#28) Short array syntax must be used to define arrays
(#32) There should be a comma after the last array item in a multi-line array.
(#57) Short array syntax must be used to define arrays
(#60) Missing docblock for function wrsqz_getcasforcomputations
(#89) Missing docblock for function wrsqz_hiddeninitialcasvalue
question/type/multichoicewiris/backup/moodle2/backup_qtype_multichoicewiris_plugin.class.php
(#17) Missing @copyright tag
(#17) Missing @license tag
(#17) Missing docblock for class backup_qtype_multichoicewiris_plugin
(#31) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
question/type/multichoicewiris/backup/moodle2/restore_qtype_multichoicewiris_plugin.class.php
(#17) Missing @copyright tag
(#17) Missing @license tag
(#17) Missing docblock for class restore_qtype_multichoicewiris_plugin
(#19) Missing docblock for function define_question_plugin_structure
(#21) Short array syntax must be used to define arrays
(#40) Missing docblock for function process_qtype_wq_multichoicewiris
(#65) Missing docblock for function decode_html_entities
question/type/multichoicewiris/classes/privacy/provider.php
(#20) Incorrect @package tag for file provider.php. Expected qtype_multichoicewiris, found qtype_truefalsewiris.
(#28) Missing docblock for class provider
question/type/multichoicewiris/edit_multichoicewiris_form.php
(#23) Missing @copyright tag
(#23) Missing @license tag
(#23) Missing docblock for class qtype_multichoicewiris_edit_form
(#25) Missing member variable doc comment
(#27) Missing docblock for function definition_inner
(#33) Short array syntax must be used to define arrays
(#49) Missing docblock for function qtype
question/type/multichoicewiris/lang/ca/qtype_multichoicewiris.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file qtype_multichoicewiris.php
(#19) The string key "editingmultichoicewiris" is not in the correct order, it should be before "multichoicewiris_help"
(#20) The string key "addingmultichoicewiris" is not in the correct order, it should be before "editingmultichoicewiris"
(#22) The string key "multichoicewiris_algorithm" is not in the correct order, it should be before "multichoicewirissummary"
(#24) The string key "multichoicewiris_cantimportoverride" is not in the correct order, it should be before "multichoicewiris_wiris_variables"
(#26) Unexpected comment found. Auto-fixing will not work after this comment
(#30) The string key "pluginnameadding" is not in the correct order, it should be before "pluginnamesummary"
question/type/multichoicewiris/lang/de/qtype_multichoicewiris.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file qtype_multichoicewiris.php
(#19) The string key "editingmultichoicewiris" is not in the correct order, it should be before "multichoicewiris_help"
(#20) The string key "addingmultichoicewiris" is not in the correct order, it should be before "editingmultichoicewiris"
(#22) The string key "multichoicewiris_algorithm" is not in the correct order, it should be before "multichoicewirissummary"
(#24) The string key "multichoicewiris_cantimportoverride" is not in the correct order, it should be before "multichoicewiris_wiris_variables"
(#26) Unexpected comment found. Auto-fixing will not work after this comment
(#30) The string key "pluginnameadding" is not in the correct order, it should be before "pluginnamesummary"
question/type/multichoicewiris/lang/el/qtype_multichoicewiris.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file qtype_multichoicewiris.php
(#19) The string key "editingmultichoicewiris" is not in the correct order, it should be before "multichoicewiris_help"
(#20) The string key "addingmultichoicewiris" is not in the correct order, it should be before "editingmultichoicewiris"
(#22) The string key "multichoicewiris_algorithm" is not in the correct order, it should be before "multichoicewirissummary"
(#24) The string key "multichoicewiris_cantimportoverride" is not in the correct order, it should be before "multichoicewiris_wiris_variables"
(#26) Unexpected comment found. Auto-fixing will not work after this comment
(#30) The string key "pluginnameadding" is not in the correct order, it should be before "pluginnamesummary"
question/type/multichoicewiris/lang/en/qtype_multichoicewiris.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file qtype_multichoicewiris.php
(#19) The string key "editingmultichoicewiris" is not in the correct order, it should be before "multichoicewiris_help"
(#20) The string key "addingmultichoicewiris" is not in the correct order, it should be before "editingmultichoicewiris"
(#22) The string key "multichoicewiris_algorithm" is not in the correct order, it should be before "multichoicewirissummary"
(#24) The string key "multichoicewiris_cantimportoverride" is not in the correct order, it should be before "multichoicewiris_wiris_variables"
(#26) Unexpected comment found. Auto-fixing will not work after this comment
(#30) The string key "pluginnameadding" is not in the correct order, it should be before "pluginnamesummary"
question/type/multichoicewiris/lang/es/qtype_multichoicewiris.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file qtype_multichoicewiris.php
(#19) The string key "editingmultichoicewiris" is not in the correct order, it should be before "multichoicewiris_help"
(#20) The string key "addingmultichoicewiris" is not in the correct order, it should be before "editingmultichoicewiris"
(#22) The string key "multichoicewiris_algorithm" is not in the correct order, it should be before "multichoicewirissummary"
(#24) The string key "multichoicewiris_cantimportoverride" is not in the correct order, it should be before "multichoicewiris_wiris_variables"
(#26) Unexpected comment found. Auto-fixing will not work after this comment
(#30) The string key "pluginnameadding" is not in the correct order, it should be before "pluginnamesummary"
question/type/multichoicewiris/lang/fr/qtype_multichoicewiris.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file qtype_multichoicewiris.php
(#19) The string key "editingmultichoicewiris" is not in the correct order, it should be before "multichoicewiris_help"
(#20) The string key "addingmultichoicewiris" is not in the correct order, it should be before "editingmultichoicewiris"
(#22) The string key "multichoicewiris_algorithm" is not in the correct order, it should be before "multichoicewirissummary"
(#24) The string key "multichoicewiris_cantimportoverride" is not in the correct order, it should be before "multichoicewiris_wiris_variables"
(#26) Unexpected comment found. Auto-fixing will not work after this comment
(#30) The string key "pluginnameadding" is not in the correct order, it should be before "pluginnamesummary"
question/type/multichoicewiris/lang/it/qtype_multichoicewiris.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file qtype_multichoicewiris.php
(#19) The string key "editingmultichoicewiris" is not in the correct order, it should be before "multichoicewiris_help"
(#20) The string key "addingmultichoicewiris" is not in the correct order, it should be before "editingmultichoicewiris"
(#22) The string key "multichoicewiris_algorithm" is not in the correct order, it should be before "multichoicewirissummary"
(#24) The string key "multichoicewiris_cantimportoverride" is not in the correct order, it should be before "multichoicewiris_wiris_variables"
(#26) Unexpected comment found. Auto-fixing will not work after this comment
(#30) The string key "pluginnameadding" is not in the correct order, it should be before "pluginnamesummary"
question/type/multichoicewiris/question.php
(#21) Missing @copyright tag
(#21) Missing @license tag
(#21) Missing docblock for class qtype_multichoicewiris_question
(#24) You must use "/**" style comments for a member variable comment
(#25) Missing member variable doc comment
(#26) Missing member variable doc comment
(#27) Missing member variable doc comment
(#28) Missing member variable doc comment
(#29) Missing member variable doc comment
(#30) Missing member variable doc comment
(#31) Missing member variable doc comment
(#32) Missing member variable doc comment
(#33) Missing member variable doc comment
(#34) Missing member variable doc comment
(#36) Missing docblock for function join_all_text
(#49) Missing docblock for function get_renderer
(#57) Missing docblock for function get_response
(#60) Missing docblock for function get_order
(#63) Missing docblock for function is_choice_selected
(#66) Missing docblock for function make_html_inline
question/type/multichoicewiris/questiontype.php
(#23) Missing @copyright tag
(#23) Missing @license tag
(#23) Missing docblock for class qtype_multichoicewiris
(#25) Missing docblock for function __construct
(#29) Missing docblock for function create_editing_form
(#36) Missing docblock for function initialise_question_instance
(#51) Missing docblock for function export_to_xml
(#65) Missing docblock for function import_from_xml
question/type/multichoicewiris/renderer.php
(#1) Missing docblock for file renderer.php
(#22) Missing docblock for class qtype_multichoicewiris_single_renderer
(#23) Missing docblock for function __construct
(#29) Missing docblock for class qtype_multichoicewiris_multi_renderer
(#30) Missing docblock for function __construct
question/type/multichoicewiris/tests/behat/behat_qtype_multichoicewiris.php
(#47) There should be a comma after the last array item in a multi-line array.
question/type/multichoicewiris/tests/helper.php
(#25) Missing docblock for class qtype_multichoicewiris_test_helper
(#26) Missing docblock for function get_test_questions
(#27) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#171) Short array syntax must be used to define arrays
(#181) Short array syntax must be used to define arrays
(#183) Short array syntax must be used to define arrays
(#186) Short array syntax must be used to define arrays
(#188) 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
(#192) There should be a comma after the last array item in a multi-line array.
(#194) Short array syntax must be used to define arrays
(#196) There should be a comma after the last array item in a multi-line array.
(#198) Short array syntax must be used to define arrays
(#200) There should be a comma after the last array item in a multi-line array.
(#202) Short array syntax must be used to define arrays
(#204) There should be a comma after the last array item in a multi-line array.
(#206) Short array syntax must be used to define arrays
(#208) There should be a comma after the last array item in a multi-line array.
(#209) There should be a comma after the last array item in a multi-line array.
(#212) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#215) There should be a comma after the last array item in a multi-line array.
(#217) Short array syntax must be used to define arrays
(#219) There should be a comma after the last array item in a multi-line array.
(#221) Short array syntax must be used to define arrays
(#223) There should be a comma after the last array item in a multi-line array.
(#225) Short array syntax must be used to define arrays
(#227) There should be a comma after the last array item in a multi-line array.
(#229) Short array syntax must be used to define arrays
(#231) There should be a comma after the last array item in a multi-line array.
(#232) There should be a comma after the last array item in a multi-line array.
(#235) Short array syntax must be used to define arrays
(#236) 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.
(#240) Short array syntax must be used to define arrays
(#242) There should be a comma after the last array item in a multi-line array.
(#243) There should be a comma after the last array item in a multi-line array.
(#245) Short array syntax must be used to define arrays
(#246) Short array syntax must be used to define arrays
question/type/multichoicewiris/version.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file version.php
(#24) Short array syntax must be used to define arrays
(#25) 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

(1 errors, 0 warnings)

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

question/type/multichoicewiris/backup/moodle1/lib.php
(#36) Phpdocs for function moodle1_qtype_multichoicewiris_handler::process_question has incomplete parameters list

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]