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

(21 errors, 0 warnings)

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

question/type/ddwtos/renderer.php
(#127) Expected 1 space after "=="; newline found
question/type/ddwtos/tests/question_test.php
(#216) Expected 1 space before "/"; 0 found
(#216) Expected 1 space after "/"; 0 found
(#241) Expected 1 space before "/"; 0 found
(#241) Expected 1 space after "/"; 0 found
(#243) Expected 1 space before "/"; 0 found
(#243) Expected 1 space after "/"; 0 found
(#247) Expected 1 space before "/"; 0 found
(#247) Expected 1 space after "/"; 0 found
question/type/ddwtos/tests/questiontype_test.php
(#93) Expected 1 space after "=>"; newline found
(#95) Expected 1 space after "=>"; newline found
(#97) Expected 1 space after "=>"; newline found
(#99) Expected 1 space after "=>"; newline found
(#101) Expected 1 space after "=>"; newline found
(#103) Expected 1 space after "=>"; newline found
(#140) Expected 1 space before "/"; 0 found
(#140) Expected 1 space after "/"; 0 found
(#144) Expected 1 space before "/"; 0 found
(#144) Expected 1 space after "/"; 0 found
(#148) Expected 1 space before "/"; 0 found
(#148) Expected 1 space after "/"; 0 found

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(42 errors, 0 warnings)

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

question/type/ddwtos/backup/moodle2/backup_qtype_ddwtos_plugin.class.php
(#17) No one-line description found in phpdocs for file
question/type/ddwtos/backup/moodle2/restore_qtype_ddwtos_plugin.class.php
(#17) No one-line description found in phpdocs for file
(#27) No one-line description found in phpdocs for class restore_qtype_ddwtos_plugin
(#54) Phpdocs for function restore_qtype_ddwtos_plugin::process_ddwtos has incomplete parameters list
question/type/ddwtos/edit_ddwtos_form.php
(#39) Function qtype_ddwtos_edit_form::qtype is not documented
(#43) Function qtype_ddwtos_edit_form::data_preprocessing_choice is not documented
(#51) Function qtype_ddwtos_edit_form::choice_group is not documented
(#20) Package qtype is not valid
question/type/ddwtos/lang/en/qtype_ddwtos.php
(#17) No one-line description found in phpdocs for file
question/type/ddwtos/lib.php
(#30) Phpdocs for function qtype_ddwtos_pluginfile has incomplete parameters list
(#20) Package qtype is not valid
question/type/ddwtos/question.php
(#40) Function qtype_ddwtos_question::summarise_choice is not documented
(#57) Function qtype_ddwtos_choice::__construct is not documented
(#63) Function qtype_ddwtos_choice::choice_group is not documented
(#53) Variable qtype_ddwtos_choice::$text is not documented
(#54) Variable qtype_ddwtos_choice::$draggroup is not documented
(#55) Variable qtype_ddwtos_choice::$infinite is not documented
(#20) Package qtype is not valid
question/type/ddwtos/questiontype.php
(#42) Function qtype_ddwtos::choice_group_key is not documented
(#46) Function qtype_ddwtos::choice_options_to_feedback is not documented
(#53) Function qtype_ddwtos::feedback_to_choice_options is not documented
(#58) Function qtype_ddwtos::make_choice is not documented
(#64) Function qtype_ddwtos::import_from_xml is not documented
(#110) Function qtype_ddwtos::export_to_xml is not documented
(#20) Package qtype is not valid
question/type/ddwtos/renderer.php
(#40) Function qtype_ddwtos_renderer::qtext_classname is not documented
(#44) Function qtype_ddwtos_renderer::formulation_and_controls is not documented
(#68) Function qtype_ddwtos_renderer::post_qtext_elements is not documented
(#104) Function qtype_ddwtos_renderer::embedded_element is not documented
(#136) Function qtype_ddwtos_renderer::drag_boxes is not documented
(#157) Phpdocs for function qtype_ddwtos_renderer::clear_wrong has incomplete parameters list
(#20) Package qtype is not valid
question/type/ddwtos/tests/helper.php
(#37) Function qtype_ddwtos_test_helper::get_test_questions is not documented
(#41) There is no description in phpdocs for function make_ddwtos_question_fox
(#78) There is no description in phpdocs for function make_ddwtos_question_maths
(#20) Package qtype is not valid
question/type/ddwtos/tests/question_test.php
(#38) Invalid phpdocs tag @group used
question/type/ddwtos/tests/questiontype_test.php
(#52) Function qtype_ddwtos_test::assert_same_xml is not documented
(#57) There is no description in phpdocs for function get_test_question_data
(#38) Invalid phpdocs tag @group used
question/type/ddwtos/tests/walkthrough_test.php
(#42) Function qtype_ddwtos_walkthrough_test::get_contains_drop_box_expectation is not documented
(#38) Invalid phpdocs tag @group used

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]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]