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

(24 errors, 11 warnings)

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

question/type/externaltask/renderer.php
(#49) Expected 1 space before "=>"; 0 found
(#49) Expected 1 space after "=>"; 0 found
(#461) Variable "cContext" must be all lower-case
(#462) Expected "if (...) {\n"; found "if(...){\n"
(#463) Variable "isStudent" must be all lower-case
(#465) Variable "isStudent" must be all lower-case
(#465) Variable "cContext" must be all lower-case
(#465) Expected 1 space before "=="; 0 found
(#465) Expected 1 space after "=="; 0 found
(#465) Expected 1 space before "?"; 0 found
(#467) Variable "isStudent" must be all lower-case
(#468) Line indented incorrectly; expected 8 spaces, found 12
(#468) Expected "if (...) {\n"; found "if(...){\n"
(#470) Line exceeds 132 characters; contains 159 characters
(#471) Closing brace indented incorrectly; expected 12 spaces, found 8
(#473) Line exceeds 132 characters; contains 144 characters
question/type/externaltask/tests/helper.php
(#86) Line exceeds 132 characters; contains 137 characters
(#137) Line exceeds 132 characters; contains 137 characters
(#173) Line exceeds 132 characters; contains 137 characters
question/type/externaltask/tests/upgradelibnewqe_test.php
(#89) Line exceeds 132 characters; contains 154 characters
(#99) Line exceeds maximum limit of 180 characters; contains 513 characters
(#222) Line exceeds 132 characters; contains 157 characters
(#281) Line exceeds maximum limit of 180 characters; contains 474 characters
(#282) Line exceeds maximum limit of 180 characters; contains 555 characters
(#327) Line exceeds 132 characters; contains 137 characters
(#387) Line exceeds maximum limit of 180 characters; contains 353 characters
(#400) Line exceeds maximum limit of 180 characters; contains 353 characters
(#422) Line exceeds maximum limit of 180 characters; contains 358 characters
(#439) Line exceeds maximum limit of 180 characters; contains 405 characters
(#447) Line exceeds maximum limit of 180 characters; contains 421 characters
(#460) Line exceeds maximum limit of 180 characters; contains 474 characters
(#461) Line exceeds maximum limit of 180 characters; contains 555 characters
(#506) Line exceeds 132 characters; contains 137 characters
question/type/externaltask/tests/walkthrough_test.php
(#237) Line exceeds 132 characters; contains 133 characters
(#501) Line exceeds 132 characters; contains 144 characters

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

(100 errors, 0 warnings)

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

question/type/externaltask/backup/moodle1/lib.php
(#18) Package qtype is not valid
(#17) No one-line description found in phpdocs for file
(#32) There is no description in phpdocs for function get_question_subpaths
(#39) Phpdocs for function moodle1_qtype_externaltask_handler::process_question has incomplete parameters list
question/type/externaltask/backup/moodle2/backup_qtype_externaltask_plugin.class.php
(#18) Package moodlecore is not valid
(#17) No one-line description found in phpdocs for file
question/type/externaltask/backup/moodle2/restore_qtype_externaltask_plugin.class.php
(#18) Package moodlecore is not valid
(#17) No one-line description found in phpdocs for file
(#29) No one-line description found in phpdocs for class restore_qtype_externaltask_plugin
(#47) Phpdocs for function restore_qtype_externaltask_plugin::process_externaltask has incomplete parameters list
question/type/externaltask/db/upgrade.php
(#20) Package qtype is not valid
question/type/externaltask/db/upgradelib.php
(#20) Package qtype is not valid
(#41) Function qtype_externaltask_qe2_attempt_updater::right_answer is not documented
(#45) Function qtype_externaltask_qe2_attempt_updater::response_summary is not documented
(#53) Function qtype_externaltask_qe2_attempt_updater::was_answered is not documented
(#57) Function qtype_externaltask_qe2_attempt_updater::set_first_step_data_elements is not documented
(#60) Function qtype_externaltask_qe2_attempt_updater::supply_missing_first_step_data is not documented
(#63) Function qtype_externaltask_qe2_attempt_updater::set_data_elements_for_step is not documented
(#31) No one-line description found in phpdocs for class qtype_externaltask_qe2_attempt_updater
question/type/externaltask/edit_externaltask_form.php
(#20) Package qtype is not valid
(#39) Function qtype_externaltask_edit_form::definition_inner is not documented
(#87) Function qtype_externaltask_edit_form::data_preprocessing is not documented
(#124) Function qtype_externaltask_edit_form::validation is not documented
(#148) Function qtype_externaltask_edit_form::qtype is not documented
question/type/externaltask/lang/en/qtype_externaltask.php
(#20) Package qtype is not valid
question/type/externaltask/question.php
(#20) Package qtype is not valid
(#60) Function qtype_externaltask_question::make_behaviour is not documented
(#72) Function qtype_externaltask_question::get_expected_data is not documented
(#85) Function qtype_externaltask_question::summarise_response is not documented
(#94) Function qtype_externaltask_question::un_summarise_response is not documented
(#102) Function qtype_externaltask_question::get_correct_response is not documented
(#106) Function qtype_externaltask_question::is_complete_response is not documented
(#142) Function qtype_externaltask_question::is_gradable_response is not documented
(#154) Function qtype_externaltask_question::is_same_response is not documented
(#170) Function qtype_externaltask_question::check_file_access is not documented
(#40) Variable qtype_externaltask_question::$responseformat is not documented
(#41) Variable qtype_externaltask_question::$taskcomplete is not documented
(#46) Variable qtype_externaltask_question::$responsefieldlines is not documented
(#47) Variable qtype_externaltask_question::$attachments is not documented
(#52) Variable qtype_externaltask_question::$graderinfo is not documented
(#53) Variable qtype_externaltask_question::$graderinfoformat is not documented
(#54) Variable qtype_externaltask_question::$responsetemplate is not documented
(#55) Variable qtype_externaltask_question::$responsetemplateformat is not documented
(#64) There is no description in phpdocs for function get_format_renderer
(#65) Phpdocs for function qtype_externaltask_question::get_format_renderer has incomplete parameters list
question/type/externaltask/questiontype.php
(#20) Package qtype is not valid
(#40) Function qtype_externaltask::is_manual_graded is not documented
(#44) Function qtype_externaltask::response_file_areas is not documented
(#48) Function qtype_externaltask::get_question_options is not documented
(#55) Function qtype_externaltask::save_question_options is not documented
(#85) Function qtype_externaltask::initialise_question_instance is not documented
(#101) Function qtype_externaltask::delete_question is not documented
(#159) Function qtype_externaltask::move_files is not documented
(#166) Function qtype_externaltask::delete_files is not documented
(#108) There is no description in phpdocs for function response_formats
(#118) There is no description in phpdocs for function response_required_options
(#127) There is no description in phpdocs for function response_sizes
(#138) There is no description in phpdocs for function attachment_options
(#147) There is no description in phpdocs for function attachments_required_options
question/type/externaltask/renderer.php
(#20) Package qtype is not valid
(#38) Function qtype_externaltask_renderer::formulation_and_controls is not documented
(#141) Function qtype_externaltask_renderer::manual_comment is not documented
(#201) Function qtype_externaltask_format_noinline_renderer::class_name is not documented
(#205) Function qtype_externaltask_format_noinline_renderer::response_area_read_only is not documented
(#209) Function qtype_externaltask_format_noinline_renderer::response_area_input is not documented
(#223) Function qtype_externaltask_format_editor_renderer::class_name is not documented
(#227) Function qtype_externaltask_format_editor_renderer::response_area_read_only is not documented
(#232) Function qtype_externaltask_format_editor_renderer::response_area_input is not documented
(#349) Function qtype_externaltask_format_editorfilepicker_renderer::class_name is not documented
(#353) Function qtype_externaltask_format_editorfilepicker_renderer::prepare_response is not documented
(#366) Function qtype_externaltask_format_editorfilepicker_renderer::prepare_response_for_editing is not documented
(#418) Function qtype_externaltask_format_editorfilepicker_renderer::filepicker_html is not documented
(#479) Function qtype_externaltask_format_plain_renderer::class_name is not documented
(#483) Function qtype_externaltask_format_plain_renderer::response_area_read_only is not documented
(#487) Function qtype_externaltask_format_plain_renderer::response_area_input is not documented
(#504) Function qtype_externaltask_format_monospaced_renderer::class_name is not documented
(#154) No one-line description found in phpdocs for class qtype_externaltask_format_renderer_base
(#192) No one-line description found in phpdocs for class qtype_externaltask_format_noinline_renderer
(#215) No one-line description found in phpdocs for class qtype_externaltask_format_editor_renderer
(#341) No one-line description found in phpdocs for class qtype_externaltask_format_editorfilepicker_renderer
(#438) No one-line description found in phpdocs for class qtype_externaltask_format_plain_renderer
(#495) No one-line description found in phpdocs for class qtype_externaltask_format_monospaced_renderer
(#186) There is no description in phpdocs for function class_name
(#312) There is no description in phpdocs for function get_editor_options
(#321) There is no description in phpdocs for function get_filepicker_options
(#330) There is no description in phpdocs for function filepicker_html
(#409) There is no description in phpdocs for function get_filepicker_options
(#446) There is no description in phpdocs for function textarea
(#446) Phpdocs for function qtype_externaltask_format_plain_renderer::textarea has incomplete parameters list
question/type/externaltask/tests/helper.php
(#37) Function qtype_externaltask_test_helper::get_test_questions is not documented
(#196) Function qtype_externaltask_test_helper::make_externaltask_question_responsetemplate is not documented
(#278) Phpdocs for function qtype_externaltask_test_helper::make_attachments_saver has incomplete parameters list
question/type/externaltask/tests/question_test.php
(#20) Package qtype is not valid
question/type/externaltask/tests/questiontype_test.php
(#20) Package qtype is not valid
(#51) Function qtype_externaltask_test::get_test_question_data is not documented
(#41) Variable qtype_externaltask_test::$qtype is not documented
question/type/externaltask/tests/upgradelibnewqe_test.php
(#21) Package qtype is not valid
(#17) No one-line description found in phpdocs for file
question/type/externaltask/tests/walkthrough_test.php
(#41) Function qtype_externaltask_walkthrough_testcase::check_contains_textarea is not documented
question/type/externaltask/version.php
(#20) Package qtype is not valid

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 "gherkinlint" 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]