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

(155 errors, 68 warnings)

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

question/type/multinumerical/backup/moodle1/lib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/multinumerical/backup/moodle2/backup_qtype_multinumerical_plugin.class.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Line exceeds maximum limit of 180 characters; contains 196 characters
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/multinumerical/backup/moodle2/restore_qtype_multinumerical_plugin.class.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Empty ELSE statement detected
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/multinumerical/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/multinumerical/db/upgrade.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/multinumerical/db/upgradelib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/multinumerical/edit_multinumerical_form.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#42) Line exceeds 132 characters; contains 137 characters
(#44) Line exceeds 132 characters; contains 159 characters
(#47) Variable "usecolorforfeedback_menu" must not contain underscores.
(#52) Variable "usecolorforfeedback_menu" must not contain underscores.
(#55) Variable "displaycalc_menu" must not contain underscores.
(#61) Variable "displaycalc_menu" must not contain underscores.
(#64) Variable "binarygrade_menu" must not contain underscores.
(#69) Variable "binarygrade_menu" must not contain underscores.
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/multinumerical/lang/fr/qtype_multinumerical.php
(#102) File must end with a newline character
question/type/multinumerical/lib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/multinumerical/question.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#75) Line indented incorrectly; expected at least 8 spaces, found 5
(#76) Spaces must be used to indent lines; tabs are not allowed
(#76) Tab found within whitespace
(#76) Line indented incorrectly; expected at least 8 spaces, found 5
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected at least 8 spaces, found 5
(#78) Spaces must be used to indent lines; tabs are not allowed
(#78) Tab found within whitespace
(#78) Line indented incorrectly; expected at least 8 spaces, found 5
(#78) Variable "feedbackperconditions_computed" must not contain underscores.
(#79) Spaces must be used to indent lines; tabs are not allowed
(#79) Tab found within whitespace
(#79) Line indented incorrectly; expected at least 8 spaces, found 6
(#80) Spaces must be used to indent lines; tabs are not allowed
(#80) Tab found within whitespace
(#80) Line indented incorrectly; expected 8 spaces, found 5
(#81) Spaces must be used to indent lines; tabs are not allowed
(#81) Tab found within whitespace
(#81) Line indented incorrectly; expected at least 12 spaces, found 6
(#81) Line exceeds 132 characters; contains 151 characters
(#82) Spaces must be used to indent lines; tabs are not allowed
(#82) Tab found within whitespace
(#82) Line indented incorrectly; expected at least 12 spaces, found 6
(#83) Spaces must be used to indent lines; tabs are not allowed
(#83) Tab found within whitespace
(#83) Line indented incorrectly; expected 12 spaces, found 6
(#84) Spaces must be used to indent lines; tabs are not allowed
(#84) Tab found within whitespace
(#84) Line indented incorrectly; expected at least 16 spaces, found 7
(#85) Spaces must be used to indent lines; tabs are not allowed
(#85) Tab found within whitespace
(#85) Line indented incorrectly; expected 16 spaces, found 7
(#86) Spaces must be used to indent lines; tabs are not allowed
(#86) Tab found within whitespace
(#86) Line indented incorrectly; expected 20 spaces, found 8
(#87) Spaces must be used to indent lines; tabs are not allowed
(#87) Tab found within whitespace
(#87) Line indented incorrectly; expected at least 24 spaces, found 9
(#87) Variable "feedbackperconditions_computed" must not contain underscores.
(#88) Spaces must be used to indent lines; tabs are not allowed
(#88) Tab found within whitespace
(#88) Line indented incorrectly; expected at least 24 spaces, found 9
(#88) Variable "feedbackperconditions_computed" must not contain underscores.
(#88) Line exceeds maximum limit of 180 characters; contains 289 characters
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Tab found within whitespace
(#89) Line indented incorrectly; expected at least 24 spaces, found 9
(#89) Variable "feedbackperconditions_computed" must not contain underscores.
(#90) Spaces must be used to indent lines; tabs are not allowed
(#90) Tab found within whitespace
(#90) Line indented incorrectly; expected 20 spaces, found 8
(#91) Spaces must be used to indent lines; tabs are not allowed
(#91) Tab found within whitespace
(#91) Line indented incorrectly; expected 20 spaces, found 8
(#91) Expected "} else {\n"; found "}\n \t\t\t\telse {\n"
(#92) Spaces must be used to indent lines; tabs are not allowed
(#92) Tab found within whitespace
(#92) Line indented incorrectly; expected at least 24 spaces, found 9
(#92) Variable "feedbackperconditions_computed" must not contain underscores.
(#93) Spaces must be used to indent lines; tabs are not allowed
(#93) Tab found within whitespace
(#93) Line indented incorrectly; expected 20 spaces, found 8
(#94) Spaces must be used to indent lines; tabs are not allowed
(#94) Tab found within whitespace
(#94) Line indented incorrectly; expected 16 spaces, found 8
(#94) Closing brace indented incorrectly; expected 7 spaces, found 8
(#95) Spaces must be used to indent lines; tabs are not allowed
(#95) Tab found within whitespace
(#95) Line indented incorrectly; expected 16 spaces, found 7
(#95) Expected "} else {\n"; found "}\n \t\t\telse {\n"
(#96) Spaces must be used to indent lines; tabs are not allowed
(#96) Tab found within whitespace
(#96) Line indented incorrectly; expected at least 20 spaces, found 8
(#97) Spaces must be used to indent lines; tabs are not allowed
(#97) Tab found within whitespace
(#97) Line indented incorrectly; expected 16 spaces, found 7
(#98) Spaces must be used to indent lines; tabs are not allowed
(#98) Tab found within whitespace
(#98) Line indented incorrectly; expected 12 spaces, found 6
(#99) Spaces must be used to indent lines; tabs are not allowed
(#99) Tab found within whitespace
(#99) Line indented incorrectly; expected 12 spaces, found 6
(#99) Usage of ELSEIF not allowed; use ELSE IF instead
(#101) Variable "feedbackperconditions_computed" must not contain underscores.
(#102) Variable "feedbackperconditions_computed" must not contain underscores.
(#102) Line exceeds maximum limit of 180 characters; contains 298 characters
(#103) Variable "feedbackperconditions_computed" must not contain underscores.
(#105) Expected "} else {\n"; found "}\n else {\n"
(#106) Variable "feedbackperconditions_computed" must not contain underscores.
(#108) Closing brace indented incorrectly; expected 6 spaces, found 12
(#109) Expected "} else {\n"; found "}\n else {\n"
(#112) Spaces must be used to indent lines; tabs are not allowed
(#112) Tab found within whitespace
(#112) Line indented incorrectly; expected 12 spaces, found 6
(#112) Line exceeds maximum limit of 180 characters; contains 181 characters
(#113) Spaces must be used to indent lines; tabs are not allowed
(#113) Tab found within whitespace
(#113) Line indented incorrectly; expected at least 16 spaces, found 10
(#113) Variable "feedbackperconditions_computed" must not contain underscores.
(#114) Spaces must be used to indent lines; tabs are not allowed
(#114) Tab found within whitespace
(#114) Line indented incorrectly; expected 12 spaces, found 6
(#115) Spaces must be used to indent lines; tabs are not allowed
(#115) Tab found within whitespace
(#115) Line indented incorrectly; expected 8 spaces, found 5
(#116) Spaces must be used to indent lines; tabs are not allowed
(#116) Tab found within whitespace
(#116) Line indented incorrectly; expected at least 8 spaces, found 5
(#116) Variable "feedbackperconditions_computed" must not contain underscores.
(#117) Spaces must be used to indent lines; tabs are not allowed
(#117) Tab found within whitespace
(#117) Line indented incorrectly; expected at least 8 spaces, found 5
(#126) Commas (,) must be followed by white space.
(#129) Inline comments must start with a capital letter, digit or 3-dots sequence
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Inline comments must start with a capital letter, digit or 3-dots sequence
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#144) Inline comments must start with a capital letter, digit or 3-dots sequence
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) Inline comments must start with a capital letter, digit or 3-dots sequence
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) Inline comments must start with a capital letter, digit or 3-dots sequence
(#164) Inline comments must end in full-stops, exclamation marks, or question marks
(#172) Line exceeds 132 characters; contains 152 characters
(#174) Expected "} else {\n"; found "}\n else {\n"
(#175) Line exceeds 132 characters; contains 176 characters
(#178) The use of function eval() is forbidden
(#191) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#192) Line exceeds 132 characters; contains 138 characters
(#207) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#220) Inline comments must start with a capital letter, digit or 3-dots sequence
(#234) Expected 1 space before opening brace; found 0
(#238) Commas (,) must be followed by white space.
(#243) Expected 1 space before opening brace; found 0
question/type/multinumerical/questiontype.php
(#41) Line exceeds 132 characters; contains 154 characters
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/multinumerical/renderer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#50) Variable "parameter_name" must not contain underscores.
(#53) Expected "} else {\n"; found "}\n else {\n"
(#54) Variable "parameter_name" must not contain underscores.
(#57) Variable "parameter_name" must not contain underscores.
(#57) Variable "parameter_name" must not contain underscores.
(#58) Variable "parameter_name" must not contain underscores.
(#58) Variable "parameter_name" must not contain underscores.
(#59) Variable "parameter_name" must not contain underscores.
(#61) Variable "parameter_name" must not contain underscores.
(#62) Variable "parameter_name" must not contain underscores.
(#63) Variable "parameter_name" must not contain underscores.
(#67) Variable "parameter_name" must not contain underscores.
(#69) Variable "parameter_name" must not contain underscores.
(#69) Variable "parameter_name" must not contain underscores.
(#72) Variable "parameter_name" must not contain underscores.
question/type/multinumerical/tests/qtype_multinumerical_test.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) PHPUnit class "qtype_multinumerical_test" does not have any namespace. It is recommended to add it to the "qtype_multinumerical" namespace, using more levels if needed, in order to match the code being tested
(#31) Opening brace should be on the same line as the declaration for class qtype_multinumerical_test
(#35) Opening brace should be on the same line as the declaration
(#40) Test method test_check_condition_equals() is missing any coverage information, own or at class level
(#41) Opening brace should be on the same line as the declaration
(#50) Test method test_check_condition_superior() is missing any coverage information, own or at class level
(#51) Opening brace should be on the same line as the declaration
(#62) Test method test_check_conditions_inf() is missing any coverage information, own or at class level
(#63) Opening brace should be on the same line as the declaration
(#71) Test method test_check_conditions_inf_equal() is missing any coverage information, own or at class level
(#72) Opening brace should be on the same line as the declaration
(#77) Test method test_check_conditions_superior_equal() is missing any coverage information, own or at class level
(#78) Opening brace should be on the same line as the declaration
(#83) Test method test_check_conditions_different() is missing any coverage information, own or at class level
(#84) Opening brace should be on the same line as the declaration
question/type/multinumerical/version.php
(#32) Inline comments must end in full-stops, exclamation marks, or question marks

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

(3 errors, 0 warnings)

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

question/type/multinumerical/styles.css
(#2) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#5) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#11) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)

PHPDocs style problems

(29 errors, 28 warnings)

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

question/type/multinumerical/backup/moodle1/lib.php
(#35) There is no description in phpdocs for function get_question_subpaths
(#44) Phpdocs for function moodle1_qtype_multinumerical_handler::process_question has incomplete parameters list
(#20) Package qtype is not valid
question/type/multinumerical/backup/moodle2/backup_qtype_multinumerical_plugin.class.php
(#30) Class backup_qtype_multinumerical_plugin is not documented
(#20) Package qtype is not valid
question/type/multinumerical/backup/moodle2/restore_qtype_multinumerical_plugin.class.php
(#30) Class restore_qtype_multinumerical_plugin is not documented
(#48) Phpdocs for function restore_qtype_multinumerical_plugin::process_multinumerical has incomplete parameters list
(#20) Package qtype is not valid
question/type/multinumerical/classes/privacy/provider.php
(#29) Class provider is not documented
question/type/multinumerical/db/upgrade.php
(#30) Function xmldb_qtype_multinumerical_upgrade is not documented
(#20) Package qtype is not valid
question/type/multinumerical/db/upgradelib.php
(#30) Class qtype_multinumerical_qe2_attempt_updater is not documented
(#32) Function qtype_multinumerical_qe2_attempt_updater::right_answer is not documented
(#36) Function qtype_multinumerical_qe2_attempt_updater::was_answered is not documented
(#40) Function qtype_multinumerical_qe2_attempt_updater::response_summary is not documented
(#44) Function qtype_multinumerical_qe2_attempt_updater::set_first_step_data_elements is not documented
(#47) Function qtype_multinumerical_qe2_attempt_updater::supply_missing_first_step_data is not documented
(#50) Function qtype_multinumerical_qe2_attempt_updater::set_data_elements_for_step is not documented
(#20) Package qtype is not valid
question/type/multinumerical/edit_multinumerical_form.php
(#30) Class qtype_multinumerical_edit_form is not documented
(#32) Function qtype_multinumerical_edit_form::definition_inner is not documented
(#75) Function qtype_multinumerical_edit_form::validation is not documented
(#98) Function qtype_multinumerical_edit_form::qtype is not documented
(#20) Package qtype is not valid
question/type/multinumerical/lang/en/qtype_multinumerical.php
(#20) Package qtype is not valid
question/type/multinumerical/lang/fr/qtype_multinumerical.php
(#20) Package qtype is not valid
question/type/multinumerical/lib.php
(#30) Phpdocs for function qtype_multinumerical_pluginfile has incomplete parameters list
(#20) Package qtype is not valid
question/type/multinumerical/question.php
(#29) Class qtype_multinumerical_question is not documented
(#31) Function qtype_multinumerical_question::get_expected_data is not documented
(#39) Function qtype_multinumerical_question::summarise_response is not documented
(#47) Function qtype_multinumerical_question::get_parameters is not documented
(#58) Function qtype_multinumerical_question::get_conditions is not documented
(#66) Function qtype_multinumerical_question::get_feedbackperconditions is not documented
(#74) Function qtype_multinumerical_question::compute_feedbackperconditions is not documented
(#120) Function qtype_multinumerical_question::check_condition is not documented
(#190) Function qtype_multinumerical_question::is_complete_response is not documented
(#199) Function qtype_multinumerical_question::get_validation_error is not documented
(#206) Function qtype_multinumerical_question::is_same_response is not documented
(#215) Function qtype_multinumerical_question::check_file_access is not documented
(#234) Function qtype_multinumerical_question::get_correct_response is not documented
(#243) Function qtype_multinumerical_question::grade_response is not documented
(#20) Package qtype is not valid
question/type/multinumerical/questiontype.php
(#34) Class qtype_multinumerical is not documented
(#36) Function qtype_multinumerical::questionid_column_name is not documented
(#40) Function qtype_multinumerical::extra_question_fields is not documented
(#44) Function qtype_multinumerical::save_question_options is not documented
(#20) Package qtype is not valid
question/type/multinumerical/renderer.php
(#30) Class qtype_multinumerical_renderer is not documented
(#31) Function qtype_multinumerical_renderer::formulation_and_controls is not documented
(#90) Function qtype_multinumerical_renderer::specific_feedback is not documented
(#100) Function qtype_multinumerical_renderer::correct_response is not documented
(#20) Package qtype is not valid
question/type/multinumerical/tests/qtype_multinumerical_test.php
(#30) Class qtype_multinumerical_test is not documented
(#32) Variable qtype_multinumerical_test::$question is not documented
(#20) Package ${PLUGINNAME} is not valid
question/type/multinumerical/version.php
(#20) Package qtype is not valid

Update savepoints problems

(1 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

question/type/multinumerical/db/upgrade.php
'return true;' not found

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 "stylelint:css" 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]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]