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

(89 errors, 307 warnings)

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

question/type/ddmatch/backup/moodle1/lib.php
(#21) Whitespace found at end of line
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) Short array syntax must be used to define arrays
(#37) There should be a comma after the last array item in a multi-line array.
(#50) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#70) Logical operator "and" is prohibited; use "&&" instead
(#76) Logical operator "and" is prohibited; use "&&" instead
(#86) Short array syntax must be used to define arrays
question/type/ddmatch/backup/moodle2/backup_qtype_ddmatch_plugin.class.php
(#21) Whitespace found at end of line
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#52) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#55) There should be a comma after the last array item in a multi-line array.
(#59) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#60) There should be a comma after the last array item in a multi-line array.
(#69) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#89) There should be a comma after the last array item in a multi-line array.
question/type/ddmatch/backup/moodle2/restore_qtype_ddmatch_plugin.class.php
(#19) Whitespace found at end of line
(#21) Whitespace found at end of line
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#42) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
(#155) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
(#205) Short array syntax must be used to define arrays
(#227) Short array syntax must be used to define arrays
(#241) Short array syntax must be used to define arrays
(#244) Short array syntax must be used to define arrays
(#246) Short array syntax must be used to define arrays
question/type/ddmatch/classes/privacy/privacy.php
(#21) Whitespace found at end of line
(#23) Whitespace found at end of line
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) Opening brace should be on the same line as the declaration for class provider
(#44) Opening brace should be on the same line as the declaration
question/type/ddmatch/db/upgrade.php
(#21) Whitespace found at end of line
(#23) Whitespace found at end of line
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#90) Short array syntax must be used to define arrays
(#214) Short array syntax must be used to define arrays
(#214) Short array syntax must be used to define arrays
(#240) Short array syntax must be used to define arrays
(#240) Short array syntax must be used to define arrays
(#280) Short array syntax must be used to define arrays
(#280) Short array syntax must be used to define arrays
(#306) Short array syntax must be used to define arrays
(#306) Short array syntax must be used to define arrays
(#331) Whitespace found at end of line
question/type/ddmatch/db/upgradelib.php
(#21) Whitespace found at end of line
(#23) Whitespace found at end of line
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#47) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
question/type/ddmatch/edit_ddmatch_form.php
(#21) Whitespace found at end of line
(#23) Whitespace found at end of line
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#44) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Short array syntax must be used to define arrays
(#115) Inline comments must start with a capital letter, digit or 3-dots sequence
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/ddmatch/lang/en/qtype_ddmatch.php
(#22) Whitespace found at end of line
(#24) Whitespace found at end of line
question/type/ddmatch/lib.php
(#21) Whitespace found at end of line
(#23) Whitespace found at end of line
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Short array syntax must be used to define arrays
question/type/ddmatch/question.php
(#21) Whitespace found at end of line
(#23) Whitespace found at end of line
(#43) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
question/type/ddmatch/questiontype.php
(#21) Whitespace found at end of line
(#23) Whitespace found at end of line
(#45) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#155) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#196) Short array syntax must be used to define arrays
(#215) Short array syntax must be used to define arrays
(#276) Short array syntax must be used to define arrays
(#279) Short array syntax must be used to define arrays
(#280) Short array syntax must be used to define arrays
(#283) Short array syntax must be used to define arrays
(#285) Short array syntax must be used to define arrays
(#285) Short array syntax must be used to define arrays
(#287) Short array syntax must be used to define arrays
question/type/ddmatch/renderer.php
(#21) Whitespace found at end of line
(#23) Whitespace found at end of line
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#54) Line exceeds 132 characters; contains 140 characters
(#59) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
(#141) Short array syntax must be used to define arrays
(#143) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#175) Short array syntax must be used to define arrays
(#187) Short array syntax must be used to define arrays
(#187) Short array syntax must be used to define arrays
(#191) Short array syntax must be used to define arrays
(#199) Short array syntax must be used to define arrays
(#201) There should be a comma after the last array item in a multi-line array.
(#208) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#236) Short array syntax must be used to define arrays
(#238) There should be a comma after the last array item in a multi-line array.
(#238) Whitespace found at end of line
(#243) Short array syntax must be used to define arrays
(#245) There should be a comma after the last array item in a multi-line array.
(#247) Short array syntax must be used to define arrays
(#248) Short array syntax must be used to define arrays
(#251) File must end with a newline character
question/type/ddmatch/tests/helper.php
(#21) Whitespace found at end of line
(#23) Whitespace found at end of line
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#39) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
(#108) There should be a comma after the last array item in a multi-line array.
(#109) Short array syntax must be used to define arrays
(#113) There should be a comma after the last array item in a multi-line array.
(#114) Short array syntax must be used to define arrays
(#118) There should be a comma after the last array item in a multi-line array.
(#119) Short array syntax must be used to define arrays
(#123) There should be a comma after the last array item in a multi-line array.
(#137) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#145) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#148) Short array syntax must be used to define arrays
(#149) Short array syntax must be used to define arrays
(#149) There should be a comma after the last array item in a multi-line array.
(#151) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#155) Short array syntax must be used to define arrays
(#163) File must end with a newline character
question/type/ddmatch/tests/question_test.php
(#22) Whitespace found at end of line
(#24) Whitespace found at end of line
(#51) Test method test_get_expected_data() is missing any coverage information, own or at class level
(#55) Short array syntax must be used to define arrays
(#56) There should be a comma after the last array item in a multi-line array.
(#59) Test method test_is_complete_response() is missing any coverage information, own or at class level
(#63) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#71) Test method test_is_gradable_response() is missing any coverage information, own or at class level
(#75) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#85) Test method test_is_same_response() is missing any coverage information, own or at class level
(#90) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
(#110) Test method test_grading() is missing any coverage information, own or at class level
(#118) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
(#121) There should be a comma after the last array item in a multi-line array.
(#122) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#127) There should be a comma after the last array item in a multi-line array.
(#130) Test method test_get_correct_response() is missing any coverage information, own or at class level
(#138) Short array syntax must be used to define arrays
(#139) There should be a comma after the last array item in a multi-line array.
(#143) Test method test_get_question_summary() is missing any coverage information, own or at class level
(#156) Test method test_summarise_response() is missing any coverage information, own or at class level
(#161) Short array syntax must be used to define arrays
(#166) Test method test_classify_response() is missing any coverage information, own or at class level
(#173) Short array syntax must be used to define arrays
(#178) Short array syntax must be used to define arrays
(#183) Short array syntax must be used to define arrays
(#184) There should be a comma after the last array item in a multi-line array.
(#185) Short array syntax must be used to define arrays
(#190) Short array syntax must be used to define arrays
(#192) There should be a comma after the last array item in a multi-line array.
question/type/ddmatch/tests/questiontype_test.php
(#22) Whitespace found at end of line
(#24) Whitespace found at end of line
(#90) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#96) There should be a comma after the last array item in a multi-line array.
(#97) Short array syntax must be used to define arrays
(#102) There should be a comma after the last array item in a multi-line array.
(#103) Short array syntax must be used to define arrays
(#108) There should be a comma after the last array item in a multi-line array.
(#109) Short array syntax must be used to define arrays
(#114) There should be a comma after the last array item in a multi-line array.
(#120) Test method test_name() is missing any coverage information, own or at class level
(#124) Test method test_can_analyse_responses() is missing any coverage information, own or at class level
(#128) Test method test_get_random_guess_score() is missing any coverage information, own or at class level
(#133) Test method test_get_possible_responses() is missing any coverage information, own or at class level
(#136) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#141) There should be a comma after the last array item in a multi-line array.
(#142) Short array syntax must be used to define arrays
(#146) There should be a comma after the last array item in a multi-line array.
(#147) Short array syntax must be used to define arrays
(#151) There should be a comma after the last array item in a multi-line array.
question/type/ddmatch/tests/upgradelibnewqe_test.php
(#22) Whitespace found at end of line
(#24) Whitespace found at end of line
(#46) Test method test_ddmatch_deferredfeedback_history6220() is missing any coverage information, own or at class level
(#47) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#145) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#173) Short array syntax must be used to define arrays
(#186) Short array syntax must be used to define arrays
(#199) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
(#229) Short array syntax must be used to define arrays
(#237) Line exceeds maximum limit of 180 characters; contains 493 characters
(#238) Line exceeds maximum limit of 180 characters; contains 309 characters
(#239) Line exceeds maximum limit of 180 characters; contains 313 characters
(#241) Short array syntax must be used to define arrays
(#242) Short array syntax must be used to define arrays
(#248) Short array syntax must be used to define arrays
(#250) Short array syntax must be used to define arrays
(#256) Short array syntax must be used to define arrays
(#258) Short array syntax must be used to define arrays
(#264) Short array syntax must be used to define arrays
(#266) Short array syntax must be used to define arrays
(#272) Short array syntax must be used to define arrays
(#291) Test method test_ddmatch_deferredfeedback_history60() is missing any coverage information, own or at class level
(#292) Short array syntax must be used to define arrays
(#296) Line exceeds 132 characters; contains 143 characters
(#323) Short array syntax must be used to define arrays
(#336) Short array syntax must be used to define arrays
(#362) Short array syntax must be used to define arrays
(#365) Short array syntax must be used to define arrays
(#366) Short array syntax must be used to define arrays
(#373) Short array syntax must be used to define arrays
(#380) Short array syntax must be used to define arrays
(#387) Short array syntax must be used to define arrays
(#390) Line exceeds 132 characters; contains 134 characters
(#403) Short array syntax must be used to define arrays
(#414) Short array syntax must be used to define arrays
(#415) Short array syntax must be used to define arrays
(#428) Short array syntax must be used to define arrays
(#445) Short array syntax must be used to define arrays
(#453) Line exceeds maximum limit of 180 characters; contains 407 characters
(#454) Line exceeds maximum limit of 180 characters; contains 330 characters
(#455) Line exceeds maximum limit of 180 characters; contains 334 characters
(#457) Short array syntax must be used to define arrays
(#458) Short array syntax must be used to define arrays
(#464) Short array syntax must be used to define arrays
(#466) Short array syntax must be used to define arrays
(#472) Short array syntax must be used to define arrays
(#491) Test method test_ddmatch_deferredfeedback_history622220() is missing any coverage information, own or at class level
(#492) Short array syntax must be used to define arrays
(#523) Short array syntax must be used to define arrays
(#537) Short array syntax must be used to define arrays
(#554) Line exceeds 132 characters; contains 162 characters
(#558) Line exceeds 132 characters; contains 161 characters
(#566) Line exceeds 132 characters; contains 170 characters
(#574) Short array syntax must be used to define arrays
(#577) Short array syntax must be used to define arrays
(#578) Short array syntax must be used to define arrays
(#585) Short array syntax must be used to define arrays
(#592) Short array syntax must be used to define arrays
(#599) Short array syntax must be used to define arrays
(#602) Line exceeds 132 characters; contains 133 characters
(#615) Short array syntax must be used to define arrays
(#626) Short array syntax must be used to define arrays
(#627) Short array syntax must be used to define arrays
(#640) Short array syntax must be used to define arrays
(#653) Short array syntax must be used to define arrays
(#666) Short array syntax must be used to define arrays
(#679) Short array syntax must be used to define arrays
(#692) Short array syntax must be used to define arrays
(#709) Short array syntax must be used to define arrays
(#717) Line exceeds maximum limit of 180 characters; contains 407 characters
(#718) Line exceeds maximum limit of 180 characters; contains 330 characters
(#719) Line exceeds maximum limit of 180 characters; contains 333 characters
(#721) Short array syntax must be used to define arrays
(#722) Short array syntax must be used to define arrays
(#728) Short array syntax must be used to define arrays
(#730) Short array syntax must be used to define arrays
(#736) Short array syntax must be used to define arrays
(#738) Short array syntax must be used to define arrays
(#744) Short array syntax must be used to define arrays
(#746) Short array syntax must be used to define arrays
(#752) Short array syntax must be used to define arrays
(#754) Short array syntax must be used to define arrays
(#760) Short array syntax must be used to define arrays
(#762) Short array syntax must be used to define arrays
(#768) Short array syntax must be used to define arrays
(#773) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/ddmatch/tests/walkthrough_test.php
(#23) Whitespace found at end of line
(#25) Whitespace found at end of line
(#51) Test method test_deferred_feedback_unanswered() is missing any coverage information, own or at class level
(#60) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#79) There should be a comma after the last array item in a multi-line array.
(#106) Test method test_deferred_feedback_partial_answer() is missing any coverage information, own or at class level
(#115) Short array syntax must be used to define arrays
(#132) Short array syntax must be used to define arrays
(#133) There should be a comma after the last array item in a multi-line array.
(#160) Test method test_interactive_correct_no_submit() is missing any coverage information, own or at class level
(#164) Short array syntax must be used to define arrays
(#173) Short array syntax must be used to define arrays
(#192) Short array syntax must be used to define arrays
(#194) There should be a comma after the last array item in a multi-line array.
(#212) Test method test_interactive_partial_no_submit() is missing any coverage information, own or at class level
(#216) Short array syntax must be used to define arrays
(#225) Short array syntax must be used to define arrays
(#244) Short array syntax must be used to define arrays
(#246) There should be a comma after the last array item in a multi-line array.
(#264) Test method test_interactive_with_invalid() is missing any coverage information, own or at class level
(#268) Short array syntax must be used to define arrays
(#277) Short array syntax must be used to define arrays
(#296) Short array syntax must be used to define arrays
(#298) There should be a comma after the last array item in a multi-line array.
(#314) Short array syntax must be used to define arrays
(#316) There should be a comma after the last array item in a multi-line array.
(#331) Test method test_ddmatch_with_tricky_html_choices() is missing any coverage information, own or at class level
(#335) Short array syntax must be used to define arrays
(#340) Short array syntax must be used to define arrays
(#345) Short array syntax must be used to define arrays
(#351) Short array syntax must be used to define arrays
(#367) Short array syntax must be used to define arrays
(#368) There should be a comma after the last array item in a multi-line array.
(#383) Test method test_ddmatch_clear_wrong() is missing any coverage information, own or at class level
(#387) Short array syntax must be used to define arrays
(#396) Short array syntax must be used to define arrays
(#415) Short array syntax must be used to define arrays
(#417) There should be a comma after the last array item in a multi-line array.
(#439) Short array syntax must be used to define arrays
(#441) There should be a comma after the last array item in a multi-line array.
(#457) Short array syntax must be used to define arrays
(#459) There should be a comma after the last array item in a multi-line array.
(#481) Short array syntax must be used to define arrays
(#483) There should be a comma after the last array item in a multi-line array.
question/type/ddmatch/version.php
(#18) Whitespace found at end of line
(#20) Whitespace found at end of line
(#22) Whitespace found at end of line
(#32) Short array syntax must be used to define arrays
(#35) File must end with a newline character

Javascript coding style problems

(4 errors, 9 warnings)

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

question/type/ddmatch/amd/src/dragdrop.js
(#406) 'numChoices' is not defined. (no-undef)
(#489) Expected space(s) after "if". (keyword-spacing)
(#489) Empty block statement. (no-empty)
(#489) Missing space before opening brace. (space-before-blocks)
(#490) Expected space(s) before "else". (keyword-spacing)
(#490) Expected space(s) after "else". (keyword-spacing)
(#491) There should be no space after this paren. (space-in-parens)
(#491) There should be no space before this paren. (space-in-parens)
(#492) Operator '+' must be spaced. (space-infix-ops)
(#496) Trailing spaces not allowed. (no-trailing-spaces)
(#497) Trailing spaces not allowed. (no-trailing-spaces)
(#549) There should be no space before this paren. (space-in-parens)
(#794) Trailing spaces not allowed. (no-trailing-spaces)

CSS problems

(75 errors, 5 warnings)

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

question/type/ddmatch/styles.css
(#192) Expected empty line before at-rule (at-rule-empty-line-before)
(#176) Expected newline before "}" (block-closing-brace-newline-before)
(#177) Expected newline before "}" (block-closing-brace-newline-before)
(#178) Expected newline before "}" (block-closing-brace-newline-before)
(#179) Expected newline before "}" (block-closing-brace-newline-before)
(#193) Expected newline before "}" (block-closing-brace-newline-before)
(#194) Expected newline before "}" (block-closing-brace-newline-before)
(#176) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#177) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#178) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#179) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#193) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#194) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#176) Expected newline after "{" (block-opening-brace-newline-after)
(#177) Expected newline after "{" (block-opening-brace-newline-after)
(#178) Expected newline after "{" (block-opening-brace-newline-after)
(#179) Expected newline after "{" (block-opening-brace-newline-after)
(#193) Expected newline after "{" (block-opening-brace-newline-after)
(#194) Expected newline after "{" (block-opening-brace-newline-after)
(#176) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#177) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#178) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#179) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#193) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#194) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#105) Expected single space before "{" (block-opening-brace-space-before)
(#176) Expected single space before "{" (block-opening-brace-space-before)
(#177) Expected single space before "{" (block-opening-brace-space-before)
(#178) Expected single space before "{" (block-opening-brace-space-before)
(#179) Expected single space before "{" (block-opening-brace-space-before)
(#180) Expected single space before "{" (block-opening-brace-space-before)
(#193) Expected single space before "{" (block-opening-brace-space-before)
(#194) Expected single space before "{" (block-opening-brace-space-before)
(#232) Expected single space before "{" (block-opening-brace-space-before)
(#148) Expected "#EEE" to be "#eee" (color-hex-case)
(#149) Expected "#BBB" to be "#bbb" (color-hex-case)
(#162) Expected "#EEE" to be "#eee" (color-hex-case)
(#163) Expected "#BBB" to be "#bbb" (color-hex-case)
(#179) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#16) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#70) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#74) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#91) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#106) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#107) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#112) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#143) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#176) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#177) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#178) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#179) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#179) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#193) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#194) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#106) Unexpected !important (declaration-no-important)
(#107) Unexpected !important (declaration-no-important)
(#179) Unexpected !important (declaration-no-important)
(#181) Unexpected !important (declaration-no-important)
(#187) Unexpected !important (declaration-no-important)
(#103) Unexpected unit (length-zero-no-unit)
(#35) Expected indentation of 4 spaces (indentation)
(#98) Expected indentation of 4 spaces (indentation)
(#193) Expected indentation of 4 spaces (indentation)
(#194) Expected indentation of 4 spaces (indentation)
(#195) Expected indentation of 4 spaces (indentation)
(#199) Expected indentation of 4 spaces (indentation)
(#196) Expected indentation of 8 spaces (indentation)
(#197) Expected indentation of 8 spaces (indentation)
(#198) Expected indentation of 8 spaces (indentation)
(#200) Expected indentation of 4 spaces (indentation)
(#204) Expected indentation of 4 spaces (indentation)
(#201) Expected indentation of 8 spaces (indentation)
(#202) Expected indentation of 8 spaces (indentation)
(#203) Expected indentation of 8 spaces (indentation)
(#216) Expected indentation of 4 spaces (indentation)
(#217) Expected indentation of 4 spaces (indentation)
(#218) Expected indentation of 4 spaces (indentation)
(#219) Expected indentation of 4 spaces (indentation)
(#220) Expected indentation of 4 spaces (indentation)
(#221) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(34 errors, 35 warnings)

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

question/type/ddmatch/backup/moodle1/lib.php
(#17) No one-line description found in phpdocs for file
(#32) There is no description in phpdocs for function get_question_subpaths
(#41) Phpdocs for function moodle1_qtype_ddmatch_handler::process_question has incomplete parameters list
question/type/ddmatch/backup/moodle2/backup_qtype_ddmatch_plugin.class.php
(#17) No one-line description found in phpdocs for file
(#80) Inline phpdocs tag {@link get_components_and_fileareas} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
question/type/ddmatch/backup/moodle2/restore_qtype_ddmatch_plugin.class.php
(#185) Function restore_qtype_ddmatch_plugin::recode_response is not documented
(#17) No one-line description found in phpdocs for file
(#29) No one-line description found in phpdocs for class restore_qtype_ddmatch_plugin
(#72) Phpdocs for function restore_qtype_ddmatch_plugin::process_matchoptions has incomplete parameters list
(#118) Phpdocs for function restore_qtype_ddmatch_plugin::process_match has incomplete parameters list
(#195) Phpdocs for function restore_qtype_ddmatch_plugin::recode_legacy_state_answer has incomplete parameters list
(#162) Inline phpdocs tag {@link xml_writer::xml_safe_utf8()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
question/type/ddmatch/db/upgrade.php
(#29) Function xmldb_qtype_ddmatch_upgrade is not documented
question/type/ddmatch/db/upgradelib.php
(#46) Function qtype_ddmatch_qe2_attempt_updater::question_summary is not documented
(#69) Function qtype_ddmatch_qe2_attempt_updater::right_answer is not documented
(#77) Function qtype_ddmatch_qe2_attempt_updater::explode_answer is not documented
(#90) Function qtype_ddmatch_qe2_attempt_updater::make_summary is not documented
(#98) Function qtype_ddmatch_qe2_attempt_updater::lookup_choice is not documented
(#111) Function qtype_ddmatch_qe2_attempt_updater::response_summary is not documented
(#139) Function qtype_ddmatch_qe2_attempt_updater::was_answered is not documented
(#149) Function qtype_ddmatch_qe2_attempt_updater::set_first_step_data_elements is not documented
(#166) Function qtype_ddmatch_qe2_attempt_updater::supply_missing_first_step_data is not documented
(#173) Function qtype_ddmatch_qe2_attempt_updater::set_data_elements_for_step is not documented
(#39) Variable qtype_ddmatch_qe2_attempt_updater::$stems is not documented
(#40) Variable qtype_ddmatch_qe2_attempt_updater::$choices is not documented
(#41) Variable qtype_ddmatch_qe2_attempt_updater::$right is not documented
(#42) Variable qtype_ddmatch_qe2_attempt_updater::$stemorder is not documented
(#43) Variable qtype_ddmatch_qe2_attempt_updater::$choiceorder is not documented
(#44) Variable qtype_ddmatch_qe2_attempt_updater::$flippedchoiceorder is not documented
(#29) No one-line description found in phpdocs for class qtype_ddmatch_qe2_attempt_updater
question/type/ddmatch/edit_ddmatch_form.php
(#38) Function qtype_ddmatch_edit_form::get_per_answer_fields is not documented
(#79) Function qtype_ddmatch_edit_form::data_preprocessing is not documented
(#128) Function qtype_ddmatch_edit_form::validation is not documented
(#162) Function qtype_ddmatch_edit_form::qtype is not documented
question/type/ddmatch/lib.php
(#29) Function qtype_ddmatch_pluginfile is not documented
question/type/ddmatch/question.php
(#40) Function qtype_ddmatch_question::get_question_summary is not documented
(#57) Function qtype_ddmatch_question::summarise_response is not documented
(#78) Function qtype_ddmatch_question::check_file_access is not documented
(#98) Function qtype_ddmatch_question::get_field_name is not documented
(#32) No one-line description found in phpdocs for class qtype_ddmatch_question
question/type/ddmatch/questiontype.php
(#41) Function qtype_ddmatch::get_question_options is not documented
(#51) Function qtype_ddmatch::save_question_options is not documented
(#120) Function qtype_ddmatch::initialise_question_instance is not documented
(#147) Function qtype_ddmatch::make_hint is not documented
(#151) Function qtype_ddmatch::delete_question is not documented
(#160) Function qtype_ddmatch::get_random_guess_score is not documented
(#165) Function qtype_ddmatch::get_possible_responses is not documented
(#189) Function qtype_ddmatch::move_files is not documented
(#208) Function qtype_ddmatch::delete_files is not documented
(#227) Phpdocs for function qtype_ddmatch::export_to_xml has incomplete parameters list
(#261) Phpdocs for function qtype_ddmatch::import_from_xml has incomplete parameters list
question/type/ddmatch/renderer.php
(#83) Function qtype_ddmatch_renderer::specific_feedback is not documented
(#87) Function qtype_ddmatch_renderer::correct_response is not documented
(#179) Function qtype_ddmatch_renderer::construct_stem_cell is not documented
(#185) Function qtype_ddmatch_renderer::construct_choice_cell_select is not documented
(#190) Function qtype_ddmatch_renderer::construct_choice_cell_dragdrop is not documented
(#41) Phpdocs for function qtype_ddmatch_renderer::formulation_and_controls has incomplete parameters list
(#68) Phpdocs for function qtype_ddmatch_renderer::format_choices has incomplete parameters list
(#116) Phpdocs for function qtype_ddmatch_renderer::construct_questiontext has incomplete parameters list
(#128) Phpdocs for function qtype_ddmatch_renderer::construct_answerblock has incomplete parameters list
(#227) Phpdocs for function qtype_ddmatch_renderer::construct_available_dragdrop_choices has incomplete parameters list
question/type/ddmatch/tests/helper.php
(#38) Function qtype_ddmatch_test_helper::get_test_questions is not documented
question/type/ddmatch/tests/question_test.php
(#20) Package qtype is not valid
question/type/ddmatch/tests/questiontype_test.php
(#61) Function questiontype_test::get_test_question_data is not documented
(#20) Package qtype is not valid
question/type/ddmatch/tests/upgradelibnewqe_test.php
(#17) No one-line description found in phpdocs for file
question/type/ddmatch/tests/walkthrough_test.php
(#17) No one-line description found in phpdocs for file
(#21) Package qtype is not valid
question/type/ddmatch/version.php
(#17) No one-line description found in phpdocs for file

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]


Gherkin .feature problems

(1 errors, 0 warnings)

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

question/type/ddmatch/tests/behat/backup_and_restore.feature
(#28) Wrong indentation for "scenario tag", expected indentation level of 2, but got 0