Prechecker results: error


PHP lint problems

(1 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]

question/type/regexp/tests/question_type_test.php
(#116) PHP Parse error: syntax error, unexpected variable "$formdata", expecting ")" in /question/type/regexp/tests/question_type_test.php on line 116

PHP coding style problems

(0 errors, 14 warnings)

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

question/type/regexp/tests/question_test.php
(#46) Unit test question_test should be declared as final.
(#51) Test method test_compare_string_with_wildcard() is missing a return type
(#86) Test method test_is_complete_response() is missing a return type
(#100) Test method test_is_gradable_response() is missing a return type
(#114) Test method test_grading() is missing a return type
(#126) Test method test_get_correct_response() is missing a return type
(#137) Test method test_get_question_summary() is missing a return type
(#147) Test method test_summarise_response() is missing a return type
(#157) Test method test_classify_response() is missing a return type
question/type/regexp/tests/question_type_test.php
(#40) Unit test question_type_test should be declared as final.
(#65) Test method test_name() is missing a return type
(#78) Test method test_can_analyse_responses() is missing a return type
(#87) Test method test_get_possible_responses() is missing a return type
(#105) Test method test_question_saving_frenchflag() is missing a return type

Javascript coding style problems

(1 errors, 2 warnings)

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

question/type/regexp/mobile/regexp.js
(#54) Unexpected empty arrow function. (no-empty-function)
(#61) 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, 0 warnings)

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


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]