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

(4 errors, 19 warnings)

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

question/type/vplquestion/lang/en/qtype_vplquestion.php
(#107) The string key "privacy:preference:deletesubmissions" is not in the correct order, it should be before "privacy:preference:penalty"
question/type/vplquestion/questiontype.php
(#57) Missing docblock for function save_defaults_for_new_questions
question/type/vplquestion/tests/locallib_test.php
(#31) Unit test locallib_test should be declared as final.
(#33) Test method test_format_execution_files() is missing any coverage information, own or at class level
(#68) Test method test_get_ace_themes() is missing any coverage information, own or at class level
(#71) Line exceeds 132 characters; contains 139 characters
(#75) Test method test_get_mod_vpl_version() is missing any coverage information, own or at class level
question/type/vplquestion/tests/privacy/provider_test.php
(#42) Unit test provider_test should be declared as final.
(#45) Test method test_get_metadata() is missing any coverage information, own or at class level
(#51) Test method test_export_user_preferences_no_pref() is missing any coverage information, own or at class level
(#68) Test method test_export_user_preferences() is missing any coverage information, own or at class level
(#92) Data provider method "user_preference_provider" will need to be converted to static in future.
(#92) Data provider method "user_preference_provider" must return an array, a Generator or an Iterable.
question/type/vplquestion/tests/questiontype_test.php
(#34) Unit test qtype_vplquestion_test should be declared as final.
(#34) PHPUnit testcase name "qtype_vplquestion_test" does not match file name "questiontype_test"
(#34) PHPUnit class "qtype_vplquestion_test" does not have any namespace. It is recommended to add it to the "qtype_vplquestion" namespace, using more levels if needed, in order to match the code being tested
(#41) The setUp() method in unit tests must always call to parent::setUp().
(#45) The tearDown() method in unit tests must always call to parent::tearDown().
(#49) Test method test_name() is missing any coverage information, own or at class level
(#53) Test method test_is_real_question_type() is missing any coverage information, own or at class level
(#57) Test method test_can_analyse_responses() is missing any coverage information, own or at class level
(#61) Test method test_questionid_column_name() is missing any coverage information, own or at class level
(#66) Test method test_extra_question_fields() is missing any coverage information, own or at class level

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/vplquestion/renderer.php
(#202) Phpdocs for function qtype_vplquestion_renderer::head_code 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

(6 errors, 0 warnings)

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

question/type/vplquestion/amd/build/codeeditors.min.js.map
Uncommitted change detected.
question/type/vplquestion/amd/build/editform.min.js.map
Uncommitted change detected.
question/type/vplquestion/amd/build/evaluationobserver.min.js.map
Uncommitted change detected.
question/type/vplquestion/amd/build/scriptsloader.min.js.map
Uncommitted change detected.
question/type/vplquestion/amd/build/studentanswer.min.js.map
Uncommitted change detected.
question/type/vplquestion/amd/build/vplservice.min.js.map
Uncommitted change detected.

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]