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

(0 errors, 16 warnings)

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

question/type/regexp/tests/question_test.php
(#37) PHPUnit testcase name "qtype_regexp_question_test" does not match file name "question_test"
(#37) PHPUnit class "qtype_regexp_question_test" does not have any namespace. It is recommended to add it to the "qtype_regexp" namespace, using more levels if needed, in order to match the code being tested
(#41) Test method test_compare_string_with_wildcard() is missing any coverage information, own or at class level
(#75) Test method test_is_complete_response() is missing any coverage information, own or at class level
(#88) Test method test_is_gradable_response() is missing any coverage information, own or at class level
(#101) Test method test_grading() is missing any coverage information, own or at class level
(#115) Test method test_get_correct_response() is missing any coverage information, own or at class level
(#125) Test method test_get_question_summary() is missing any coverage information, own or at class level
(#134) Test method test_summarise_response() is missing any coverage information, own or at class level
(#143) Test method test_classify_response() is missing any coverage information, own or at class level
question/type/regexp/tests/questiontype_test.php
(#42) PHPUnit testcase name "qtype_regexp_test" does not match file name "questiontype_test"
(#42) PHPUnit class "qtype_regexp_test" does not have any namespace. It is recommended to add it to the "qtype_regexp" namespace, using more levels if needed, in order to match the code being tested
(#87) Test method test_name() is missing any coverage information, own or at class level
(#95) Test method test_can_analyse_responses() is missing any coverage information, own or at class level
(#103) Test method test_get_possible_responses() is missing any coverage information, own or at class level
(#116) Test method test_question_saving_frenchflag() is missing any coverage information, own or at class level

Javascript coding style problems

(2 errors, 3 warnings)

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

question/type/regexp/mobile/regexp.js
(#7) Unexpected console statement. (no-console)
(#47) Unexpected whitespace between function name and paren. (func-call-spacing)
(#55) Unexpected empty arrow function. (no-empty-function)
(#62) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
question/type/regexp/module.js
(#1) Identifier 'qtype_regexp' is not in camel case. (camelcase)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 1 warnings)

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

question/type/regexp/tests/helper.php
(#32) Function qtype_regexp_test_helper::get_test_questions is not documented

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]