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

(82 errors, 75 warnings)

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

question/type/matchwiris/backup/moodle1/lib.php
(#22) Missing @copyright tag
(#22) Missing @license tag
(#25) DocBlock missing a @package tag for class moodle1_qtype_matchwiris_handler. Expected @package qtype_matchwiris
(#30) No one-line description found in phpdocs for docblock of function get_question_subpaths
(#31) Short array syntax must be used to define arrays
(#35) There should be a comma after the last array item in a multi-line array.
(#60) Short array syntax must be used to define arrays
(#63) Missing docblock for function wrsqz_get_cas_for_computations
(#92) Missing docblock for function wrsqz_hidden_initial_cas_value
question/type/matchwiris/backup/moodle2/backup_qtype_matchwiris_plugin.class.php
(#17) Missing @copyright tag
(#18) Incorrect @package tag for class backup_qtype_matchwiris_plugin. Expected qtype_matchwiris, found wiris.
(#22) No one-line description found in phpdocs for docblock of class backup_qtype_matchwiris_plugin
(#36) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
question/type/matchwiris/backup/moodle2/restore_qtype_matchwiris_plugin.class.php
(#17) Missing @copyright tag
(#18) Incorrect @package tag for class restore_qtype_matchwiris_plugin. Expected qtype_matchwiris, found wiris.
(#22) No one-line description found in phpdocs for docblock of class restore_qtype_matchwiris_plugin
(#29) Short array syntax must be used to define arrays
(#49) Missing docblock for function process_qtype_wq_matchwiris
(#73) Missing docblock for function decode_html_entities
question/type/matchwiris/classes/privacy/provider.php
(#28) Missing docblock for class provider
question/type/matchwiris/edit_matchwiris_form.php
(#22) Missing @copyright tag
(#22) Missing @license tag
(#22) Missing docblock for class qtype_matchwiris_edit_form
(#24) Missing member variable doc comment
(#26) Missing docblock for function definition_inner
(#31) Short array syntax must be used to define arrays
(#47) Missing docblock for function qtype
question/type/matchwiris/lang/ca/qtype_matchwiris.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file qtype_matchwiris.php
(#19) The string key "editingmatchwiris" is not in the correct order, it should be before "matchwiris_help"
(#20) The string key "addingmatchwiris" is not in the correct order, it should be before "editingmatchwiris"
(#22) The string key "matchwiris_algorithm" is not in the correct order, it should be before "matchwirissummary"
(#25) Unexpected comment found. Auto-fixing will not work after this comment
(#29) The string key "pluginnameadding" is not in the correct order, it should be before "pluginnamesummary"
question/type/matchwiris/lang/de/qtype_matchwiris.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file qtype_matchwiris.php
(#19) The string key "editingmatchwiris" is not in the correct order, it should be before "matchwiris_help"
(#20) The string key "addingmatchwiris" is not in the correct order, it should be before "editingmatchwiris"
(#22) The string key "matchwiris_algorithm" is not in the correct order, it should be before "matchwirissummary"
(#25) Unexpected comment found. Auto-fixing will not work after this comment
(#29) The string key "pluginnameadding" is not in the correct order, it should be before "pluginnamesummary"
question/type/matchwiris/lang/el/qtype_matchwiris.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file qtype_matchwiris.php
(#19) The string key "editingmatchwiris" is not in the correct order, it should be before "matchwiris_help"
(#20) The string key "addingmatchwiris" is not in the correct order, it should be before "editingmatchwiris"
(#22) The string key "matchwiris_algorithm" is not in the correct order, it should be before "matchwirissummary"
(#25) Unexpected comment found. Auto-fixing will not work after this comment
(#29) The string key "pluginnameadding" is not in the correct order, it should be before "pluginnamesummary"
question/type/matchwiris/lang/en/qtype_matchwiris.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file qtype_matchwiris.php
(#19) The string key "editingmatchwiris" is not in the correct order, it should be before "matchwiris_help"
(#20) The string key "addingmatchwiris" is not in the correct order, it should be before "editingmatchwiris"
(#22) The string key "matchwiris_algorithm" is not in the correct order, it should be before "matchwirissummary"
(#25) Unexpected comment found. Auto-fixing will not work after this comment
(#29) The string key "pluginnameadding" is not in the correct order, it should be before "pluginnamesummary"
question/type/matchwiris/lang/es/qtype_matchwiris.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file qtype_matchwiris.php
(#19) The string key "editingmatchwiris" is not in the correct order, it should be before "matchwiris_help"
(#20) The string key "addingmatchwiris" is not in the correct order, it should be before "editingmatchwiris"
(#22) The string key "matchwiris_algorithm" is not in the correct order, it should be before "matchwirissummary"
(#25) Unexpected comment found. Auto-fixing will not work after this comment
(#29) The string key "pluginnameadding" is not in the correct order, it should be before "pluginnamesummary"
question/type/matchwiris/lang/fr/qtype_matchwiris.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file qtype_matchwiris.php
(#19) The string key "editingmatchwiris" is not in the correct order, it should be before "matchwiris_help"
(#20) The string key "addingmatchwiris" is not in the correct order, it should be before "editingmatchwiris"
(#22) The string key "matchwiris_algorithm" is not in the correct order, it should be before "matchwirissummary"
(#25) Unexpected comment found. Auto-fixing will not work after this comment
(#29) The string key "pluginnameadding" is not in the correct order, it should be before "pluginnamesummary"
question/type/matchwiris/lang/it/qtype_matchwiris.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file qtype_matchwiris.php
(#19) The string key "editingmatchwiris" is not in the correct order, it should be before "matchwiris_help"
(#20) The string key "addingmatchwiris" is not in the correct order, it should be before "editingmatchwiris"
(#22) The string key "matchwiris_algorithm" is not in the correct order, it should be before "matchwirissummary"
(#25) Unexpected comment found. Auto-fixing will not work after this comment
(#29) The string key "pluginnameadding" is not in the correct order, it should be before "pluginnamesummary"
question/type/matchwiris/question.php
(#21) Missing @copyright tag
(#21) Missing @license tag
(#21) Missing docblock for class qtype_matchwiris_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
(#52) Missing docblock for function get_stem_order
(#55) Missing docblock for function get_choice_order
(#58) Missing docblock for function get_right_choice_for
question/type/matchwiris/questiontype.php
(#22) Missing @copyright tag
(#22) Missing @license tag
(#22) Missing docblock for class qtype_matchwiris
(#24) Missing docblock for function __construct
(#28) Missing docblock for function create_editing_form
(#35) Missing docblock for function initialise_question_instance
(#50) Missing docblock for function export_to_xml
(#71) Missing docblock for function import_from_xml
question/type/matchwiris/renderer.php
(#1) Missing docblock for file renderer.php
(#21) Missing docblock for class qtype_matchwiris_helper_renderer
(#23) Missing docblock for function format_choices
(#34) Missing docblock for class qtype_matchwiris_renderer
(#35) Missing docblock for function __construct
question/type/matchwiris/tests/helper.php
(#20) Incorrect @package tag for file helper.php. Expected qtype_matchwiris, found qtype_match.
(#39) Missing docblock for function get_test_questions
(#40) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#69) There should be a comma after the last array item in a multi-line array.
(#115) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#129) There should be a comma after the last array item in a multi-line array.
(#185) Short array syntax must be used to define arrays
(#186) Short array syntax must be used to define arrays
(#187) Short array syntax must be used to define arrays
(#188) Short array syntax must be used to define arrays
(#226) Short array syntax must be used to define arrays
(#227) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#237) Short array syntax must be used to define arrays
(#263) Short array syntax must be used to define arrays
(#264) Short array syntax must be used to define arrays
(#265) Short array syntax must be used to define arrays
(#266) Short array syntax must be used to define arrays
(#269) Short array syntax must be used to define arrays
(#299) Short array syntax must be used to define arrays
(#300) Short array syntax must be used to define arrays
(#301) Short array syntax must be used to define arrays
(#302) Short array syntax must be used to define arrays
question/type/matchwiris/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

(2 errors, 0 warnings)

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

question/type/matchwiris/backup/moodle1/lib.php
(#39) Phpdocs for function moodle1_qtype_matchwiris_handler::process_question has incomplete parameters list
question/type/matchwiris/backup/moodle2/backup_qtype_matchwiris_plugin.class.php
(#46) Inline phpdocs tag {@link get_components_and_fileareas} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}

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]