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

(970 errors, 234 warnings)

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

question/type/matrix/backup/moodle1/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#12) Opening brace should be on the same line as the declaration
(#24) Opening brace should be on the same line as the declaration
(#41) Opening brace should be on the same line as the declaration
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) This comment is 79% valid code; is this commented out code?
(#44) No space found before comment text; expected "// $this->write_xml('matrix', $matrix, array('rows/row/id', 'cols/col/id'));" but found "//$this->write_xml('matrix', $matrix, array('rows/row/id', 'cols/col/id'));"
(#53) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#60) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#67) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
question/type/matrix/backup/moodle2/backup_qtype_matrix_plugin.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#15) Opening brace should be on the same line as the declaration
(#16) Inline comments must end in full-stops, exclamation marks, or question marks
(#18) Inline comments must end in full-stops, exclamation marks, or question marks
(#21) Inline comments must start with a capital letter, digit or 3-dots sequence
(#21) Inline comments must end in full-stops, exclamation marks, or question marks
(#24) Inline comments must end in full-stops, exclamation marks, or question marks
(#26) Whitespace found at end of line
(#27) Variable "matrix_cols" must not contain underscores.
(#28) Variable "matrix_col" must not contain underscores.
(#29) Whitespace found at end of line
(#30) Variable "matrix_rows" must not contain underscores.
(#31) Variable "matrix_row" must not contain underscores.
(#32) Whitespace found at end of line
(#33) Variable "matrix_weights" must not contain underscores.
(#34) Variable "matrix_weight" must not contain underscores.
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Variable "matrix_cols" must not contain underscores.
(#40) Variable "matrix_cols" must not contain underscores.
(#40) Variable "matrix_col" must not contain underscores.
(#41) Whitespace found at end of line
(#42) Variable "matrix_rows" must not contain underscores.
(#43) Variable "matrix_rows" must not contain underscores.
(#43) Variable "matrix_row" must not contain underscores.
(#44) Whitespace found at end of line
(#45) Variable "matrix_weights" must not contain underscores.
(#46) Variable "matrix_weights" must not contain underscores.
(#46) Variable "matrix_weight" must not contain underscores.
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Variable "matrix_col" must not contain underscores.
(#51) Variable "matrix_row" must not contain underscores.
(#53) Variable "weight_sql" must not contain underscores.
(#53) The use of the AS keyword to alias tables is bad for cross-db
(#53) Line exceeds 132 characters; contains 157 characters
(#54) Variable "weight_sql" must not contain underscores.
(#55) Variable "matrix_weight" must not contain underscores.
(#55) Variable "weight_sql" must not contain underscores.
(#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/matrix/backup/moodle2/restore_qtype_matrix_plugin.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#8) Whitespace found at end of line
(#20) Opening brace should be on the same line as the declaration
(#24) Inline comments must start with a capital letter, digit or 3-dots sequence
(#24) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Whitespace found at end of line
(#48) Opening brace should be on the same line as the declaration
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) This comment is 64% valid code; is this commented out code?
(#50) No space found before comment text; expected "// $newquestionid = $this->get_new_parentid('question');" but found "//$newquestionid = $this->get_new_parentid('question');"
(#60) Opening brace should be on the same line as the declaration
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) No space found before comment text; expected "// todo: check import of version moodle1 data" but found "//todo: check import of version moodle1 data"
(#83) Opening brace should be on the same line as the declaration
(#87) Variable "GLOBALS" must be all lower-case
(#91) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#98) Variable "GLOBALS" must be all lower-case
(#107) Opening brace should be on the same line as the declaration
(#111) Variable "GLOBALS" must be all lower-case
(#115) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#122) Variable "GLOBALS" must be all lower-case
(#131) Opening brace should be on the same line as the declaration
(#154) Opening brace should be on the same line as the declaration
(#157) Variable "row_id" must not contain underscores.
(#158) Variable "new_rowid" must not contain underscores.
(#158) Variable "row_id" must not contain underscores.
(#159) Variable "new_row" must not contain underscores.
(#160) Variable "col_id" must not contain underscores.
(#161) Variable "new_colid" must not contain underscores.
(#161) Variable "col_id" must not contain underscores.
(#162) Variable "new_row" must not contain underscores.
(#162) Variable "new_colid" must not contain underscores.
(#164) Variable "new_rowid" must not contain underscores.
(#164) Variable "new_row" must not contain underscores.
(#171) Opening brace should be on the same line as the declaration
(#172) Variable "recodedResponse" must be all lower-case
(#173) Variable "responseKey" must be all lower-case
(#173) Variable "responseVal" must be all lower-case
(#174) Variable "responseKey" must be all lower-case
(#175) Variable "recodedResponse" must be all lower-case
(#175) Variable "responseVal" must be all lower-case
(#176) Variable "responseKey" must be all lower-case
(#177) Variable "responseKeyNoCell" must be all lower-case
(#177) Variable "responseKey" must be all lower-case
(#178) Variable "responseKeyIDs" must be all lower-case
(#178) Variable "responseKeyNoCell" must be all lower-case
(#179) Inline comments must start with a capital letter, digit or 3-dots sequence
(#179) Inline comments must end in full-stops, exclamation marks, or question marks
(#179) This comment is 85% valid code; is this commented out code?
(#179) No space found before comment text; expected "// $this->get_mappingid('row', $responseKeyIDs[0]);" but found "//$this->get_mappingid('row', $responseKeyIDs[0]);"
(#180) Variable "newRowID" must be all lower-case
(#180) Variable "GLOBALS" must be all lower-case
(#180) Variable "responseKeyIDs" must be all lower-case
(#181) Inline comments must start with a capital letter, digit or 3-dots sequence
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) This comment is 80% valid code; is this commented out code?
(#181) No space found before comment text; expected "// $this->get_mappingid('col', $responseVal);" but found "//$this->get_mappingid('col', $responseVal);"
(#182) Variable "newColID" must be all lower-case
(#182) Variable "GLOBALS" must be all lower-case
(#182) Variable "responseVal" must be all lower-case
(#182) Variable "GLOBALS" must be all lower-case
(#182) Variable "responseVal" must be all lower-case
(#183) Variable "responseKeyIDs" must be all lower-case
(#184) Variable "recodedResponse" must be all lower-case
(#184) Variable "newRowID" must be all lower-case
(#184) Variable "newColID" must be all lower-case
(#185) Variable "responseKeyIDs" must be all lower-case
(#186) Variable "recodedResponse" must be all lower-case
(#186) Variable "newRowID" must be all lower-case
(#186) Variable "newColID" must be all lower-case
(#186) Variable "newColID" must be all lower-case
(#188) Variable "recodedResponse" must be all lower-case
(#188) Variable "responseKey" must be all lower-case
(#188) Variable "responseVal" must be all lower-case
(#191) Variable "recodedResponse" must be all lower-case
(#191) Variable "responseKey" must be all lower-case
(#191) Variable "responseVal" must be all lower-case
(#194) Variable "recodedResponse" must be all lower-case
(#203) Opening brace should be on the same line as the declaration
(#206) Variable "GLOBALS" must be all lower-case
(#206) Inline comments must start with a capital letter, digit or 3-dots sequence
(#206) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) This comment is 75% valid code; is this commented out code?
(#206) No space found before comment text; expected "// $this->get_mappingid('row', $id)) {" but found "//$this->get_mappingid('row', $id)) {"
(#217) Opening brace should be on the same line as the declaration
question/type/matrix/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Variable "newField" must be all lower-case
(#35) Variable "newField" must be all lower-case
(#36) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#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
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Variable "newField" must be all lower-case
(#49) Variable "newField" must be all lower-case
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/matrix/edit_matrix_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#7) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#10) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#14) Whitespace found at end of line
(#15) Whitespace found at end of line
(#16) Whitespace found at end of line
(#21) No space found before comment text; expected "// How many elements are added each time somebody click the add row/add column button." but found "//How many elements are added each time somebody click the add row/add column button."
(#39) Whitespace found at end of line
(#43) Visibility must be declared on method "qtype"
(#44) Opening brace should be on the same line as the declaration
(#48) Visibility must be declared on method "definition_inner"
(#49) Opening brace should be on the same line as the declaration
(#58) Inline comments must start with a capital letter, digit or 3-dots sequence
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Visibility must be declared on method "definition_after_data"
(#76) Opening brace should be on the same line as the declaration
(#83) Visibility must be declared on method "set_data"
(#84) Opening brace should be on the same line as the declaration
(#85) Variable "is_new" must not contain underscores.
(#86) Variable "is_new" must not contain underscores.
(#114) Variable "row_index" must not contain underscores.
(#116) Variable "col_index" must not contain underscores.
(#118) Variable "cell_name_multiple_answers" must not contain underscores.
(#118) Variable "row_index" must not contain underscores.
(#118) Variable "col_index" must not contain underscores.
(#119) Variable "cell_name_single_answer" must not contain underscores.
(#119) Variable "row_index" must not contain underscores.
(#119) Variable "col_index" must not contain underscores.
(#122) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#124) Variable "cell_name_multiple_answers" must not contain underscores.
(#125) Variable "cell_name_single_answer" must not contain underscores.
(#125) Variable "col_index" must not contain underscores.
(#130) Variable "col_index" must not contain underscores.
(#132) Variable "row_index" must not contain underscores.
(#141) Visibility must be declared on method "validation"
(#142) Opening brace should be on the same line as the declaration
(#162) Variable "grading_errors" must not contain underscores.
(#164) Variable "grading_errors" must not contain underscores.
(#169) Opening brace should be on the same line as the declaration
(#174) Opening brace should be on the same line as the declaration
(#178) Inline comments must start with a capital letter, digit or 3-dots sequence
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) No space found before comment text; expected "// elements" but found "//elements"
(#180) Opening brace should be on the same line as the declaration
(#181) Inline comments must start with a capital letter, digit or 3-dots sequence
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) Opening brace should be on the same line as the declaration
(#197) Inline comments must start with a capital letter, digit or 3-dots sequence
(#198) Variable "default_grading" must not contain underscores.
(#199) Variable "default_grading_name" must not contain underscores.
(#199) Variable "default_grading" must not contain underscores.
(#205) Line exceeds 132 characters; contains 146 characters
(#210) Variable "default_grading_name" must not contain underscores.
(#214) Visibility must be declared on method "add_matrix"
(#215) Opening brace should be on the same line as the declaration
(#219) Variable "cols_count" must not contain underscores.
(#220) Variable "rows_count" must not contain underscores.
(#231) Variable "cols_count" must not contain underscores.
(#258) Variable "rows_count" must not contain underscores.
(#265) Variable "question_popup" must not contain underscores.
(#266) Variable "question_popup" must not contain underscores.
(#272) Variable "cols_count" must not contain underscores.
(#274) Variable "cell_content" must not contain underscores.
(#275) Variable "cell_content" must not contain underscores.
(#275) Variable "cell_content" must not contain underscores.
(#275) Variable "cell_content" must not contain underscores.
(#276) Variable "cell_content" must not contain underscores.
(#282) Variable "feedback_popup" must not contain underscores.
(#283) Variable "feedback_popup" must not contain underscores.
(#299) Variable "cols_count" must not contain underscores.
(#307) Variable "matrix_group" must not contain underscores.
(#311) Variable "refresh_button" must not contain underscores.
(#315) Variable "refresh_button" must not contain underscores.
(#316) Variable "matrix_group" must not contain underscores.
(#319) Variable "refresh_button" must not contain underscores.
(#323) Variable "refresh_button" must not contain underscores.
(#324) Variable "matrix_group" must not contain underscores.
(#327) Variable "cols_count" must not contain underscores.
(#335) Opening brace should be on the same line as the declaration
(#337) Whitespace found at end of line within string
(#338) Whitespace found at end of line within string
(#339) Whitespace found at end of line within string
(#342) Whitespace found at end of line within string
(#361) Whitespace found at end of line within string
(#366) Whitespace found at end of line within string
(#367) Whitespace found at end of line within string
(#370) Whitespace found at end of line within string
(#371) Whitespace found at end of line within string
(#372) Whitespace found at end of line within string
(#378) Whitespace found at end of line
(#382) Opening brace should be on the same line as the declaration
(#390) Variable "add_cols" must not contain underscores.
(#391) Variable "add_cols" must not contain underscores.
(#400) Whitespace found at end of line
(#404) Opening brace should be on the same line as the declaration
(#409) Opening brace should be on the same line as the declaration
(#418) Variable "add_rows" must not contain underscores.
(#419) Variable "add_rows" must not contain underscores.
(#427) Whitespace found at end of line
(#431) Opening brace should be on the same line as the declaration
(#436) Whitespace found at end of line
(#440) Opening brace should be on the same line as the declaration
(#442) Line exceeds 132 characters; contains 133 characters
(#446) Whitespace found at end of line
(#450) Opening brace should be on the same line as the declaration
(#455) Inline comments must start with a capital letter, digit or 3-dots sequence
(#455) Inline comments must end in full-stops, exclamation marks, or question marks
(#458) Opening brace should be on the same line as the declaration
(#463) Opening brace should be on the same line as the declaration
(#468) Opening brace should be on the same line as the declaration
(#473) Opening brace should be on the same line as the declaration
question/type/matrix/grading/qtype_matrix_grading_all.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#4) Whitespace found at end of line
(#6) Whitespace found at end of line
(#16) Opening brace should be on the same line as the declaration
(#21) Opening brace should be on the same line as the declaration
(#26) Whitespace found at end of line
(#32) Opening brace should be on the same line as the declaration
(#34) Expected "if (...) {\n"; found "if (...)\n {\n"
(#43) Whitespace found at end of line
(#50) Opening brace should be on the same line as the declaration
question/type/matrix/grading/qtype_matrix_grading_kany.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#4) Whitespace found at end of line
(#6) Whitespace found at end of line
(#15) Opening brace should be on the same line as the declaration
(#20) Opening brace should be on the same line as the declaration
(#25) Whitespace found at end of line
(#31) Opening brace should be on the same line as the declaration
(#40) Opening brace should be on the same line as the declaration
(#41) Variable "numberOfCorrectRows" must be all lower-case
(#45) Variable "numberOfCorrectRows" must be all lower-case
(#48) Variable "numberOfCorrectRows" must be all lower-case
(#50) Variable "numberOfCorrectRows" must be all lower-case
(#58) Whitespace found at end of line
(#65) Opening brace should be on the same line as the declaration
(#66) Variable "one_correct_answer" must not contain underscores.
(#74) Variable "one_correct_answer" must not contain underscores.
(#77) Variable "one_correct_answer" must not contain underscores.
(#81) Opening brace should be on the same line as the declaration
question/type/matrix/grading/qtype_matrix_grading_kprime.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#4) Whitespace found at end of line
(#6) Whitespace found at end of line
(#7) Whitespace found at end of line
(#8) Whitespace found at end of line
(#17) Opening brace should be on the same line as the declaration
(#22) Opening brace should be on the same line as the declaration
(#27) Whitespace found at end of line
(#33) Opening brace should be on the same line as the declaration
(#43) Whitespace found at end of line
(#46) Whitespace found at end of line
(#49) Opening brace should be on the same line as the declaration
(#59) Whitespace found at end of line
(#62) Whitespace found at end of line
(#69) Opening brace should be on the same line as the declaration
question/type/matrix/lang/de/qtype_matrix.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) No space found before comment text; expected "// gradings" but found "//gradings"
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) No space found before comment text; expected "// strings" but found "//strings"
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) No space found before comment text; expected "// form" but found "//form"
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) This comment is 67% valid code; is this commented out code?
(#46) No space found before comment text; expected "// $string['renderer'] = 'Renderer';" but found "//$string['renderer'] = 'Renderer';"
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) This comment is 67% valid code; is this commented out code?
(#57) No space found before comment text; expected "// $string['addmorerows'] = 'Add {$a} more rows';" but found "//$string['addmorerows'] = 'Add {$a} more rows';"
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) This comment is 67% valid code; is this commented out code?
(#67) No space found before comment text; expected "// $string['addmorecols'] = 'Add {$a} more columns';" but found "//$string['addmorecols'] = 'Add {$a} more columns';"
(#71) Inline comments must start with a capital letter, digit or 3-dots sequence
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) This comment is 67% valid code; is this commented out code?
(#71) No space found before comment text; expected "// $string['updatematrix'] = 'Update matrix to reflect new options';" but found "//$string['updatematrix'] = 'Update matrix to reflect new options';"
question/type/matrix/lang/en/qtype_matrix.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) No space found before comment text; expected "// gradings" but found "//gradings"
(#40) Inline comments must start with a capital letter, digit or 3-dots sequence
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) No space found before comment text; expected "// strings" but found "//strings"
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) No space found before comment text; expected "// form" but found "//form"
(#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
(#49) This comment is 67% valid code; is this commented out code?
(#49) No space found before comment text; expected "// $string['renderer'] = 'Renderer';" but found "//$string['renderer'] = 'Renderer';"
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) This comment is 67% valid code; is this commented out code?
(#60) No space found before comment text; expected "// $string['addmorerows'] = 'Add {$a} more rows';" but found "//$string['addmorerows'] = 'Add {$a} more rows';"
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) This comment is 67% valid code; is this commented out code?
(#70) No space found before comment text; expected "// $string['addmorecols'] = 'Add {$a} more columns';" but found "//$string['addmorecols'] = 'Add {$a} more columns';"
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) This comment is 67% valid code; is this commented out code?
(#74) No space found before comment text; expected "// $string['updatematrix'] = 'Update matrix to reflect new options';" but found "//$string['updatematrix'] = 'Update matrix to reflect new options';"
question/type/matrix/lang/fr/qtype_matrix.php
(#1) File has mixed line endings; this may cause incorrect results
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#1) Whitespace found at end of line
(#1) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3) Inline comments must end in full-stops, exclamation marks, or question marks
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#4) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#4) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#9) Whitespace found at end of line within string
(#10) Whitespace found at end of line within string
(#13) Inline comments must start with a capital letter, digit or 3-dots sequence
(#13) Inline comments must end in full-stops, exclamation marks, or question marks
(#13) No space found before comment text; expected "// gradings" but found "//gradings"
(#20) Inline comments must start with a capital letter, digit or 3-dots sequence
(#20) Inline comments must end in full-stops, exclamation marks, or question marks
(#20) No space found before comment text; expected "// strings" but found "//strings"
(#24) Inline comments must start with a capital letter, digit or 3-dots sequence
(#24) Inline comments must end in full-stops, exclamation marks, or question marks
(#24) Whitespace found at end of line
(#28) Whitespace found at end of line within string
(#29) Whitespace found at end of line within string
(#30) Whitespace found at end of line within string
(#31) Whitespace found at end of line within string
(#32) Whitespace found at end of line within string
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) This comment is 67% valid code; is this commented out code?
(#35) No space found before comment text; expected "// $string['renderer'] = 'Rendu';" but found "//$string['renderer'] = 'Rendu';"
(#38) Whitespace found at end of line within string
(#39) Whitespace found at end of line within string
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) This comment is 67% valid code; is this commented out code?
(#46) No space found before comment text; expected "// $string['addmorerows'] = 'Ajouter {$a} ligne(s) de plus';" but found "//$string['addmorerows'] = 'Ajouter {$a} ligne(s) de plus';"
(#49) Expected 1 space after "="; 2 found
(#49) Whitespace found at end of line within string
(#50) Whitespace found at end of line within string
(#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
(#56) This comment is 67% valid code; is this commented out code?
(#56) No space found before comment text; expected "// $string['addmorecols'] = 'Ajouter {$a} colonne(s) de plus';" but found "//$string['addmorecols'] = 'Ajouter {$a} colonne(s) de plus';"
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) This comment is 67% valid code; is this commented out code?
(#60) No space found before comment text; expected "// $string['updatematrix'] = 'Mettre la matrice à jour pour refléter les nouvelles options choisies';" but found "//$string['updatematrix'] = 'Mettre la matrice à jour pour refléter les nouvelles options choisies';"
question/type/matrix/libs/config.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#4) Whitespace found at end of line
(#11) Visibility must be declared on method "get"
(#12) Opening brace should be on the same line as the declaration
(#16) Visibility must be declared on method "show_kprime_gui"
(#17) Opening brace should be on the same line as the declaration
(#23) Visibility must be declared on method "allow_dnd_ui"
(#24) Opening brace should be on the same line as the declaration
question/type/matrix/libs/lang.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#12) Opening brace should be on the same line as the declaration
(#17) Opening brace should be on the same line as the declaration
(#22) Opening brace should be on the same line as the declaration
(#27) Opening brace should be on the same line as the declaration
(#32) Opening brace should be on the same line as the declaration
(#37) Opening brace should be on the same line as the declaration
(#42) Opening brace should be on the same line as the declaration
(#47) Opening brace should be on the same line as the declaration
(#52) Opening brace should be on the same line as the declaration
(#57) Opening brace should be on the same line as the declaration
(#62) Opening brace should be on the same line as the declaration
(#67) Opening brace should be on the same line as the declaration
question/type/matrix/libs/matrix_form_builder.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#10) Whitespace found at end of line
(#11) Visibility must be declared on method "__construct"
(#12) Line indented incorrectly; expected at least 8 spaces, found 7
(#13) Line indented incorrectly; expected 4 spaces, found 3
(#13) Closing brace indented incorrectly; expected 4 spaces, found 3
(#16) Opening brace should be on the same line as the declaration
(#22) Opening brace should be on the same line as the declaration
(#31) Opening brace should be on the same line as the declaration
(#37) Opening brace should be on the same line as the declaration
(#39) Variable "short_name" must not contain underscores.
(#40) Variable "short_name" must not contain underscores.
(#40) Variable "short_name" must not contain underscores.
(#41) Variable "short_name" must not contain underscores.
(#47) Opening brace should be on the same line as the declaration
(#49) Variable "short_name" must not contain underscores.
(#50) Variable "short_name" must not contain underscores.
(#50) Variable "short_name" must not contain underscores.
(#51) Variable "short_name" must not contain underscores.
(#57) Opening brace should be on the same line as the declaration
(#58) Variable "pop_count" must not contain underscores.
(#59) Variable "pop_count" must not contain underscores.
(#60) Variable "pop_count" must not contain underscores.
(#63) Line exceeds 132 characters; contains 151 characters
(#66) Line exceeds 132 characters; contains 154 characters
(#77) Opening brace should be on the same line as the declaration
(#81) Variable "appendName" must be all lower-case
(#82) Opening brace should be on the same line as the declaration
(#84) Variable "short_name" must not contain underscores.
(#85) Variable "short_name" must not contain underscores.
(#85) Variable "short_name" must not contain underscores.
(#86) Variable "short_name" must not contain underscores.
(#88) Variable "appendName" must be all lower-case
(#92) Opening brace should be on the same line as the declaration
(#94) Variable "short_name" must not contain underscores.
(#95) Variable "short_name" must not contain underscores.
(#95) Variable "short_name" must not contain underscores.
(#96) Variable "short_name" must not contain underscores.
(#102) Opening brace should be on the same line as the declaration
(#104) Variable "short_name" must not contain underscores.
(#105) Variable "short_name" must not contain underscores.
(#105) Variable "short_name" must not contain underscores.
(#106) Variable "short_name" must not contain underscores.
(#112) Opening brace should be on the same line as the declaration
(#118) Opening brace should be on the same line as the declaration
(#123) Opening brace should be on the same line as the declaration
(#125) Variable "short_name" must not contain underscores.
(#126) Variable "short_name" must not contain underscores.
(#126) Variable "short_name" must not contain underscores.
(#127) Variable "short_name" must not contain underscores.
(#133) Opening brace should be on the same line as the declaration
(#135) Variable "short_name" must not contain underscores.
(#136) Variable "short_name" must not contain underscores.
(#136) Variable "short_name" must not contain underscores.
(#137) Variable "short_name" must not contain underscores.
(#143) Opening brace should be on the same line as the declaration
(#147) Variable "appendName" must be all lower-case
(#148) Opening brace should be on the same line as the declaration
(#150) Variable "short_name" must not contain underscores.
(#151) Variable "short_name" must not contain underscores.
(#151) Variable "short_name" must not contain underscores.
(#152) Variable "short_name" must not contain underscores.
(#154) Variable "appendName" must be all lower-case
(#158) Opening brace should be on the same line as the declaration
(#160) Variable "short_name" must not contain underscores.
(#161) Variable "short_name" must not contain underscores.
(#161) Variable "short_name" must not contain underscores.
(#162) Variable "short_name" must not contain underscores.
(#168) Opening brace should be on the same line as the declaration
(#170) Variable "short_name" must not contain underscores.
(#171) Variable "short_name" must not contain underscores.
(#171) Variable "short_name" must not contain underscores.
(#172) Variable "short_name" must not contain underscores.
(#179) Opening brace should be on the same line as the declaration
(#181) Variable "short_name" must not contain underscores.
(#182) Variable "short_name" must not contain underscores.
(#182) Variable "short_name" must not contain underscores.
(#183) Variable "short_name" must not contain underscores.
(#189) Opening brace should be on the same line as the declaration
(#191) Variable "short_name" must not contain underscores.
(#192) Variable "short_name" must not contain underscores.
(#192) Variable "short_name" must not contain underscores.
(#193) Variable "short_name" must not contain underscores.
(#198) Line exceeds 132 characters; contains 138 characters
(#199) Opening brace should be on the same line as the declaration
(#207) Opening brace should be on the same line as the declaration
(#212) Opening brace should be on the same line as the declaration
(#217) Opening brace should be on the same line as the declaration
(#221) Variable "before_name" must not contain underscores.
(#222) Opening brace should be on the same line as the declaration
(#223) Variable "before_name" must not contain underscores.
(#226) Variable "elementName" must be all lower-case
(#226) Variable "dependentOn" must be all lower-case
(#227) Opening brace should be on the same line as the declaration
(#228) Variable "elementName" must be all lower-case
(#228) Variable "dependentOn" must be all lower-case
(#232) Opening brace should be on the same line as the declaration
(#236) Inline comments must start with a capital letter, digit or 3-dots sequence
(#236) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) Whitespace found at end of line
(#239) Opening brace should be on the same line as the declaration
(#244) Opening brace should be on the same line as the declaration
(#249) Opening brace should be on the same line as the declaration
(#254) Opening brace should be on the same line as the declaration
question/type/matrix/libs/question_matrix_store.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#4) Whitespace found at end of line
(#15) Inline comments must start with a capital letter, digit or 3-dots sequence
(#15) Inline comments must end in full-stops, exclamation marks, or question marks
(#15) No space found before comment text; expected "// question" but found "//question"
(#17) Variable "question_id" must not contain underscores.
(#18) Opening brace should be on the same line as the declaration
(#21) Variable "question_id" must not contain underscores.
(#27) Whitespace found at end of line
(#29) Opening brace should be on the same line as the declaration
(#30) Variable "is_new" must not contain underscores.
(#31) Variable "is_new" must not contain underscores.
(#40) Whitespace found at end of line
(#45) Opening brace should be on the same line as the declaration
(#49) Whitespace found at end of line
(#57) Variable "new_id" must not contain underscores.
(#58) Variable "new_id" must not contain underscores.
(#59) Variable "new_id" must not contain underscores.
(#64) Opening brace should be on the same line as the declaration
(#68) Whitespace found at end of line
(#69) Whitespace found at end of line
(#80) Visibility must be declared on method "delete_question"
(#80) Variable "question_id" must not contain underscores.
(#81) Opening brace should be on the same line as the declaration
(#82) Variable "question_id" must not contain underscores.
(#89) Inline doc block comments are not allowed; use "// Comment." instead
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) No space found before comment text; expected "// wheights" but found "//wheights"
(#95) Whitespace found at end of line within string
(#99) Variable "question_id" must not contain underscores.
(#103) Inline comments must start with a capital letter, digit or 3-dots sequence
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) No space found before comment text; expected "// rows" but found "//rows"
(#105) Whitespace found at end of line within string
(#108) Variable "question_id" must not contain underscores.
(#112) Inline comments must start with a capital letter, digit or 3-dots sequence
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) No space found before comment text; expected "// cols" but found "//cols"
(#114) Whitespace found at end of line within string
(#117) Variable "question_id" must not contain underscores.
(#121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) No space found before comment text; expected "// matrix" but found "//matrix"
(#124) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#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
(#129) No space found before comment text; expected "// row" but found "//row"
(#131) Variable "matrix_id" must not contain underscores.
(#132) Opening brace should be on the same line as the declaration
(#135) Variable "matrix_id" must not contain underscores.
(#156) Opening brace should be on the same line as the declaration
(#157) Variable "is_new" must not contain underscores.
(#158) Variable "is_new" must not contain underscores.
(#166) Opening brace should be on the same line as the declaration
(#180) Variable "new_id" must not contain underscores.
(#181) Variable "new_id" must not contain underscores.
(#182) Variable "new_id" must not contain underscores.
(#187) Opening brace should be on the same line as the declaration
(#190) Inline comments must end in full-stops, exclamation marks, or question marks
(#190) Whitespace found at end of line
(#203) Opening brace should be on the same line as the declaration
(#213) Inline comments must start with a capital letter, digit or 3-dots sequence
(#213) Inline comments must end in full-stops, exclamation marks, or question marks
(#213) No space found before comment text; expected "// cols" but found "//cols"
(#215) Variable "matrix_id" must not contain underscores.
(#216) Opening brace should be on the same line as the declaration
(#219) Variable "matrix_id" must not contain underscores.
(#220) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#237) Opening brace should be on the same line as the declaration
(#238) Variable "is_new" must not contain underscores.
(#239) Variable "is_new" must not contain underscores.
(#247) Opening brace should be on the same line as the declaration
(#261) Inline comments must start with a capital letter, digit or 3-dots sequence
(#261) Inline comments must end in full-stops, exclamation marks, or question marks
(#261) No space found before comment text; expected "// $x = 1 / 0;" but found "//$x = 1 / 0;"
(#262) Variable "new_id" must not contain underscores.
(#263) Variable "new_id" must not contain underscores.
(#264) Variable "new_id" must not contain underscores.
(#269) Opening brace should be on the same line as the declaration
(#272) Inline comments must end in full-stops, exclamation marks, or question marks
(#272) Whitespace found at end of line
(#279) Inline comments must start with a capital letter, digit or 3-dots sequence
(#279) Inline comments must end in full-stops, exclamation marks, or question marks
(#279) This comment is 80% valid code; is this commented out code?
(#279) No space found before comment text; expected "// var_dump($data);" but found "//var_dump($data);"
(#285) Opening brace should be on the same line as the declaration
(#295) Inline comments must start with a capital letter, digit or 3-dots sequence
(#295) Inline comments must end in full-stops, exclamation marks, or question marks
(#295) No space found before comment text; expected "// weights" but found "//weights"
(#297) Variable "question_id" must not contain underscores.
(#298) Opening brace should be on the same line as the declaration
(#302) Inline comments must start with a capital letter, digit or 3-dots sequence
(#302) No space found before comment text; expected "// todo: check AND?" but found "//todo: check AND?"
(#303) Whitespace found at end of line within string
(#305) Whitespace found at end of line within string
(#307) Line exceeds 132 characters; contains 138 characters
(#308) Variable "question_id" must not contain underscores.
(#310) Whitespace found at end of line within string
(#313) Variable "question_id" must not contain underscores.
(#318) Variable "question_id" must not contain underscores.
(#319) Opening brace should be on the same line as the declaration
(#328) Variable "question_id" must not contain underscores.
(#334) Opening brace should be on the same line as the declaration
(#342) Variable "new_id" must not contain underscores.
(#343) Variable "new_id" must not contain underscores.
question/type/matrix/qtype_matrix_grading.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#5) Whitespace found at end of line
(#12) Opening brace should be on the same line as the declaration
(#14) Expected "if (...) {\n"; found "if (...)\n {\n"
(#23) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#27) Expected "if (...) {\n"; found "if (...)\n {\n"
(#36) Opening brace should be on the same line as the declaration
(#41) Whitespace found at end of line
(#46) Opening brace should be on the same line as the declaration
(#48) Expected "if (...) {\n"; found "if (...)\n {\n"
(#54) "require_once" must be immediately followed by an open parenthesis
(#59) Opening brace should be on the same line as the declaration
(#66) Opening brace should be on the same line as the declaration
(#73) Whitespace found at end of line
(#81) Opening brace should be on the same line as the declaration
(#82) Variable "cell_name" must not contain underscores.
(#83) Expected "if (...) {\n"; found "if (...)\n {\n"
(#85) Variable "cell_name" must not contain underscores.
(#87) Expected "} else {\n"; found "}\n else\n {\n"
(#89) Variable "cell_name" must not contain underscores.
(#100) Whitespace found at end of line
(#104) Opening brace should be on the same line as the declaration
(#111) Opening brace should be on the same line as the declaration
(#119) Whitespace found at end of line
(#122) Whitespace found at end of line
(#125) Opening brace should be on the same line as the declaration
(#127) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#139) Whitespace found at end of line
(#143) Whitespace found at end of line
(#146) Opening brace should be on the same line as the declaration
(#151) Whitespace found at end of line
(#158) Opening brace should be on the same line as the declaration
(#162) Inline comments must start with a capital letter, digit or 3-dots sequence
(#162) Line indented incorrectly; expected at least 4 spaces, found 0
(#162) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#163) Line indented incorrectly; expected at least 4 spaces, found 0
(#163) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#164) Line indented incorrectly; expected at least 4 spaces, found 0
(#164) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#165) Line indented incorrectly; expected at least 4 spaces, found 0
(#165) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#166) Line indented incorrectly; expected at least 4 spaces, found 0
(#166) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#167) Line indented incorrectly; expected at least 4 spaces, found 0
(#167) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
(#168) Line indented incorrectly; expected at least 4 spaces, found 0
(#168) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#171) Opening brace should be on the same line as the declaration
(#176) Opening brace should be on the same line as the declaration
question/type/matrix/question.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#25) Member variable "use_dnd_ui" must not contain underscores.
(#30) Whitespace found at end of line
(#31) Whitespace found at end of line
(#40) Opening brace should be on the same line as the declaration
(#47) Whitespace found at end of line
(#48) Whitespace found at end of line
(#50) Whitespace found at end of line
(#52) Whitespace found at end of line
(#56) Opening brace should be on the same line as the declaration
(#58) Inline comments must start with a capital letter, digit or 3-dots sequence
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) This comment is 50% valid code; is this commented out code?
(#58) No space found before comment text; expected "// $key = $row;" but found "//$key = $row;"
(#60) Variable "row_id" must not contain underscores.
(#60) Variable "col_id" must not contain underscores.
(#62) Variable "row_id" must not contain underscores.
(#63) Variable "col_id" must not contain underscores.
(#65) Variable "row_id" must not contain underscores.
(#65) Variable "col_id" must not contain underscores.
(#76) Opening brace should be on the same line as the declaration
(#77) Variable "row_id" must not contain underscores.
(#78) Variable "col_id" must not contain underscores.
(#81) Variable "row_id" must not contain underscores.
(#81) Variable "col_id" must not contain underscores.
(#87) Whitespace found at end of line
(#91) Whitespace found at end of line
(#95) Opening brace should be on the same line as the declaration
(#96) Inline doc block comments are not allowed; use "// Comment." instead
(#100) Whitespace found at end of line
(#103) Whitespace found at end of line
(#109) Whitespace found at end of line
(#110) Whitespace found at end of line
(#111) Whitespace found at end of line
(#112) Whitespace found at end of line
(#115) Variable "response_multiple" must not contain underscores.
(#117) Variable "response_multiple" must not contain underscores.
(#121) Variable "response_multiple" must not contain underscores.
(#127) Variable "response_multiple" must not contain underscores.
(#136) Whitespace found at end of line
(#139) Whitespace found at end of line
(#143) Opening brace should be on the same line as the declaration
(#158) Whitespace found at end of line
(#159) Whitespace found at end of line
(#161) Whitespace found at end of line
(#162) Whitespace found at end of line
(#165) Visibility must be declared on method "start_attempt"
(#166) Opening brace should be on the same line as the declaration
(#168) Inline comments must start with a capital letter, digit or 3-dots sequence
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
(#175) Inline comments must start with a capital letter, digit or 3-dots sequence
(#175) Inline comments must end in full-stops, exclamation marks, or question marks
(#187) Whitespace found at end of line
(#189) Whitespace found at end of line
(#190) Whitespace found at end of line
(#195) Visibility must be declared on method "shuffle_authorized"
(#196) Opening brace should be on the same line as the declaration
(#208) Whitespace found at end of line
(#211) Visibility must be declared on method "shuffle_answers"
(#212) Opening brace should be on the same line as the declaration
(#221) Whitespace found at end of line
(#225) Opening brace should be on the same line as the declaration
(#231) Whitespace found at end of line
(#235) Opening brace should be on the same line as the declaration
(#240) Inline doc block comments are not allowed; use "// Comment." instead
(#241) Whitespace found at end of line
(#251) Inline doc block comments are not allowed; use "// Comment." instead
(#255) Variable "rows_removed" must not contain underscores.
(#256) Variable "row_key" must not contain underscores.
(#257) Variable "row_key" must not contain underscores.
(#258) Variable "rows_removed" must not contain underscores.
(#258) Variable "row_key" must not contain underscores.
(#261) Variable "rows_removed" must not contain underscores.
(#262) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#264) Inline doc block comments are not allowed; use "// Comment." instead
(#268) Variable "rows_added" must not contain underscores.
(#269) Variable "rows_keys" must not contain underscores.
(#270) Variable "rows_keys" must not contain underscores.
(#270) Variable "row_key" must not contain underscores.
(#271) Variable "row_key" must not contain underscores.
(#272) Variable "rows_added" must not contain underscores.
(#272) Variable "row_key" must not contain underscores.
(#276) Variable "rows_added" must not contain underscores.
(#278) Variable "rows_added" must not contain underscores.
(#278) Variable "row_key" must not contain underscores.
(#279) Variable "row_key" must not contain underscores.
(#296) Visibility must be declared on method "apply_attempt_state"
(#297) Opening brace should be on the same line as the declaration
(#298) Inline comments must start with a capital letter, digit or 3-dots sequence
(#298) Inline comments must end in full-stops, exclamation marks, or question marks
(#306) Inline comments must start with a capital letter, digit or 3-dots sequence
(#306) Inline comments must end in full-stops, exclamation marks, or question marks
(#311) Opening brace should be on the same line as the declaration
(#317) Opening brace should be on the same line as the declaration
(#328) Whitespace found at end of line
(#332) Whitespace found at end of line
(#334) Whitespace found at end of line
(#339) Opening brace should be on the same line as the declaration
(#353) Opening brace should be on the same line as the declaration
(#374) Opening brace should be on the same line as the declaration
(#375) Variable "is_gradable" must not contain underscores.
(#376) Variable "is_gradable" must not contain underscores.
(#384) Whitespace found at end of line
(#389) Opening brace should be on the same line as the declaration
(#392) Variable "row_index" must not contain underscores.
(#395) Variable "col_index" must not contain underscores.
(#402) Variable "col_index" must not contain underscores.
(#404) Variable "row_index" must not contain underscores.
(#421) Opening brace should be on the same line as the declaration
(#425) Variable "previous_value" must not contain underscores.
(#429) Variable "new_value" must not contain underscores.
(#430) Variable "new_value" must not contain underscores.
(#430) Variable "previous_value" must not contain underscores.
(#446) Opening brace should be on the same line as the declaration
(#471) Opening brace should be on the same line as the declaration
(#489) Opening brace should be on the same line as the declaration
(#501) Whitespace found at end of line
(#505) Opening brace should be on the same line as the declaration
(#520) Public method name "qtype_matrix_question::getIterator" must be in lower-case letters only
(#521) Opening brace should be on the same line as the declaration
question/type/matrix/questiontype.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#10) "require_once" must be immediately followed by an open parenthesis
(#22) Opening brace should be on the same line as the declaration
(#27) Opening brace should be on the same line as the declaration
(#32) Opening brace should be on the same line as the declaration
(#37) Opening brace should be on the same line as the declaration
(#41) Visibility must be declared on method "name"
(#42) Opening brace should be on the same line as the declaration
(#53) Visibility must be declared on method "delete_question_options"
(#53) Variable "question_id" must not contain underscores.
(#53) Variable "context_id" must not contain underscores.
(#54) Opening brace should be on the same line as the declaration
(#55) Variable "question_id" must not contain underscores.
(#60) Variable "question_id" must not contain underscores.
(#72) Visibility must be declared on method "delete_question"
(#72) Variable "question_id" must not contain underscores.
(#72) Variable "context_id" must not contain underscores.
(#73) Opening brace should be on the same line as the declaration
(#74) Variable "question_id" must not contain underscores.
(#82) Variable "question_id" must not contain underscores.
(#83) Variable "question_id" must not contain underscores.
(#83) Variable "context_id" must not contain underscores.
(#93) Visibility must be declared on method "is_manual_graded"
(#94) Opening brace should be on the same line as the declaration
(#99) Whitespace found at end of line
(#103) Visibility must be declared on method "get_question_options"
(#104) Opening brace should be on the same line as the declaration
(#106) Whitespace found at end of line
(#112) Line exceeds 132 characters; contains 167 characters
(#112) Inline comments must start with a capital letter, digit or 3-dots sequence
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) Visibility must be declared on method "retrieve_matrix"
(#128) Variable "question_id" must not contain underscores.
(#129) Opening brace should be on the same line as the declaration
(#132) Variable "question_id" must not contain underscores.
(#136) Variable "question_id" must not contain underscores.
(#140) Variable "matrix_id" must not contain underscores.
(#142) Variable "matrix_id" must not contain underscores.
(#143) Variable "matrix_id" must not contain underscores.
(#145) Variable "raw_weights" must not contain underscores.
(#145) Variable "question_id" must not contain underscores.
(#147) Inline comments must start with a capital letter, digit or 3-dots sequence
(#147) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) No space found before comment text; expected "// initialize weights" but found "//initialize weights"
(#147) Whitespace found at end of line
(#155) Inline comments must start with a capital letter, digit or 3-dots sequence
(#155) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) No space found before comment text; expected "// set non zero weights" but found "//set non zero weights"
(#156) Variable "raw_weights" must not contain underscores.
(#169) Opening brace should be on the same line as the declaration
(#186) Visibility must be declared on method "save_question_options"
(#187) Opening brace should be on the same line as the declaration
(#193) Variable "question_id" must not contain underscores.
(#194) Variable "make_copy" must not contain underscores.
(#196) Inline doc block comments are not allowed; use "// Comment." instead
(#199) Variable "question_id" must not contain underscores.
(#201) Variable "is_new" must not contain underscores.
(#202) Whitespace found at end of line
(#203) Variable "question_id" must not contain underscores.
(#209) Variable "is_new" must not contain underscores.
(#209) Variable "make_copy" must not contain underscores.
(#215) Variable "matrix_id" must not contain underscores.
(#217) Inline comments must start with a capital letter, digit or 3-dots sequence
(#221) Variable "row_id" must not contain underscores.
(#222) Variable "is_new" must not contain underscores.
(#222) Variable "row_id" must not contain underscores.
(#224) Variable "row_id" must not contain underscores.
(#225) Variable "matrix_id" must not contain underscores.
(#232) Empty IF statement detected
(#232) Variable "is_new" must not contain underscores.
(#233) Inline comments must start with a capital letter, digit or 3-dots sequence
(#233) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) No space found before comment text; expected "// noop" but found "//noop"
(#236) Variable "is_new" must not contain underscores.
(#236) Variable "make_copy" must not contain underscores.
(#245) Inline comments must start with a capital letter, digit or 3-dots sequence
(#249) Variable "col_id" must not contain underscores.
(#250) Variable "is_new" must not contain underscores.
(#250) Variable "col_id" must not contain underscores.
(#252) Variable "col_id" must not contain underscores.
(#253) Variable "matrix_id" must not contain underscores.
(#258) Empty IF statement detected
(#258) Variable "is_new" must not contain underscores.
(#259) Inline comments must start with a capital letter, digit or 3-dots sequence
(#259) Inline comments must end in full-stops, exclamation marks, or question marks
(#259) No space found before comment text; expected "// noop" but found "//noop"
(#262) Variable "col_id" must not contain underscores.
(#262) Variable "make_copy" must not contain underscores.
(#271) Inline doc block comments are not allowed; use "// Comment." instead
(#273) Whitespace found at end of line
(#274) Line exceeds maximum limit of 180 characters; contains 204 characters
(#276) Whitespace found at end of line
(#278) Variable "question_id" must not contain underscores.
(#280) Inline doc block comments are not allowed; use "// Comment." instead
(#282) Whitespace found at end of line
(#283) Whitespace found at end of line
(#284) Whitespace found at end of line
(#285) Whitespace found at end of line
(#287) Whitespace found at end of line
(#290) Whitespace found at end of line
(#291) Whitespace found at end of line
(#307) Variable "row_index" must not contain underscores.
(#307) Variable "row_id" must not contain underscores.
(#308) Variable "col_index" must not contain underscores.
(#308) Variable "col_id" must not contain underscores.
(#309) Variable "row_index" must not contain underscores.
(#309) Variable "col_index" must not contain underscores.
(#312) Variable "row_id" must not contain underscores.
(#313) Variable "col_id" must not contain underscores.
(#325) Whitespace found at end of line
(#327) Whitespace found at end of line
(#329) Whitespace found at end of line
(#331) Whitespace found at end of line
(#333) Whitespace found at end of line
(#335) Whitespace found at end of line
(#337) Whitespace found at end of line
(#342) Whitespace found at end of line
(#343) Whitespace found at end of line
(#348) Variable "from_multiple" must not contain underscores.
(#349) Opening brace should be on the same line as the declaration
(#352) Variable "row_count" must not contain underscores.
(#353) Variable "col_count" must not contain underscores.
(#355) Inline comments must start with a capital letter, digit or 3-dots sequence
(#355) Inline comments must end in full-stops, exclamation marks, or question marks
(#355) No space found before comment text; expected "// init" but found "//init"
(#356) Variable "row_count" must not contain underscores.
(#357) Variable "col_count" must not contain underscores.
(#362) Variable "from_multiple" must not contain underscores.
(#363) Variable "row_count" must not contain underscores.
(#364) Variable "col_count" must not contain underscores.
(#365) Variable "from_multiple" must not contain underscores.
(#371) Variable "row_count" must not contain underscores.
(#372) Variable "from_multiple" must not contain underscores.
(#384) Whitespace found at end of line
(#389) Opening brace should be on the same line as the declaration
(#409) Opening brace should be on the same line as the declaration
(#421) Inline comments must start with a capital letter, digit or 3-dots sequence
(#421) Inline comments must end in full-stops, exclamation marks, or question marks
(#423) Opening brace should be on the same line as the declaration
(#427) Inline comments must start with a capital letter, digit or 3-dots sequence
(#427) Inline comments must end in full-stops, exclamation marks, or question marks
(#443) Inline comments must start with a capital letter, digit or 3-dots sequence
(#443) Inline comments must end in full-stops, exclamation marks, or question marks
(#443) No space found before comment text; expected "// initial" but found "//initial"
(#448) Inline comments must start with a capital letter, digit or 3-dots sequence
(#448) Inline comments must end in full-stops, exclamation marks, or question marks
(#448) No space found before comment text; expected "// use_dnd_ui" but found "//use_dnd_ui"
(#452) Inline comments must start with a capital letter, digit or 3-dots sequence
(#452) Inline comments must end in full-stops, exclamation marks, or question marks
(#452) No space found before comment text; expected "// grademethod" but found "//grademethod"
(#459) Inline comments must start with a capital letter, digit or 3-dots sequence
(#459) Inline comments must end in full-stops, exclamation marks, or question marks
(#459) No space found before comment text; expected "// shuffleanswers" but found "//shuffleanswers"
(#465) Inline comments must start with a capital letter, digit or 3-dots sequence
(#465) Inline comments must end in full-stops, exclamation marks, or question marks
(#465) No space found before comment text; expected "// multiple" but found "//multiple"
(#473) Expected "} else {\n"; found "}else{\n"
(#477) Inline comments must start with a capital letter, digit or 3-dots sequence
(#477) Inline comments must end in full-stops, exclamation marks, or question marks
(#477) No space found before comment text; expected "// renderer" but found "//renderer"
(#480) Inline comments must start with a capital letter, digit or 3-dots sequence
(#480) Inline comments must end in full-stops, exclamation marks, or question marks
(#480) No space found before comment text; expected "// rows" but found "//rows"
(#487) Variable "rowsXML" must be all lower-case
(#489) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#489) Variable "rowsXML" must be all lower-case
(#489) Variable "rowXML" must be all lower-case
(#490) Variable "rowXML" must be all lower-case
(#493) Variable "rowXML" must be all lower-case
(#493) Commas (,) must be followed by white space.
(#495) Variable "rowXML" must be all lower-case
(#500) Variable "rowXML" must be all lower-case
(#500) Commas (,) must be followed by white space.
(#502) Variable "rowXML" must be all lower-case
(#509) Inline comments must start with a capital letter, digit or 3-dots sequence
(#509) Inline comments must end in full-stops, exclamation marks, or question marks
(#509) No space found before comment text; expected "// cols" but found "//cols"
(#515) Variable "colsXML" must be all lower-case
(#517) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#517) Variable "colsXML" must be all lower-case
(#517) Variable "colXML" must be all lower-case
(#518) Variable "colXML" must be all lower-case
(#520) Variable "colXML" must be all lower-case
(#520) Commas (,) must be followed by white space.
(#522) Variable "colXML" must be all lower-case
(#529) Inline comments must start with a capital letter, digit or 3-dots sequence
(#529) Inline comments must end in full-stops, exclamation marks, or question marks
(#529) No space found before comment text; expected "// weights" but found "//weights"
(#531) Variable "weights_of_rowsXML" must be all lower-case
(#531) Variable "weights_of_rowsXML" must not contain underscores.
(#532) Variable "row_index" must not contain underscores.
(#534) Expected "if (...) {\n"; found "if(...){\n"
(#535) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#535) Variable "weights_of_rowsXML" must be all lower-case
(#535) Variable "weights_of_rowsXML" must not contain underscores.
(#535) Variable "weights_of_rowXML" must be all lower-case
(#535) Variable "weights_of_rowXML" must not contain underscores.
(#536) Variable "col_index" must not contain underscores.
(#537) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#537) Variable "weights_of_rowXML" must be all lower-case
(#537) Variable "weights_of_rowXML" must not contain underscores.
(#537) Variable "weight_of_colXML" must be all lower-case
(#537) Variable "weight_of_colXML" must not contain underscores.
(#538) Variable "row_index" must not contain underscores.
(#538) Variable "col_index" must not contain underscores.
(#539) Variable "weight_of_colXML" must be all lower-case
(#539) Variable "weight_of_colXML" must not contain underscores.
(#540) Variable "col_index" must not contain underscores.
(#542) Variable "row_index" must not contain underscores.
(#544) Expected "} else {\n"; found "}else{\n"
(#545) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#545) Variable "weights_of_rowsXML" must be all lower-case
(#545) Variable "weights_of_rowsXML" must not contain underscores.
(#545) Variable "weights_of_rowXML" must be all lower-case
(#545) Variable "weights_of_rowXML" must not contain underscores.
(#546) Variable "col_index" must not contain underscores.
(#547) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#547) Variable "weights_of_rowXML" must be all lower-case
(#547) Variable "weights_of_rowXML" must not contain underscores.
(#547) Variable "weight_of_colXML" must be all lower-case
(#547) Variable "weight_of_colXML" must not contain underscores.
(#548) Expected "if (...) {\n"; found "if(...){\n"
(#548) Variable "weight_of_colXML" must be all lower-case
(#548) Variable "weight_of_colXML" must not contain underscores.
(#549) Variable "row_index" must not contain underscores.
(#549) Variable "col_index" must not contain underscores.
(#550) Expected 1 space after "="; 2 found
(#550) Variable "col_index" must not contain underscores.
(#552) Variable "col_index" must not contain underscores.
(#554) Variable "row_index" must not contain underscores.
(#573) Inline comments must start with a capital letter, digit or 3-dots sequence
(#573) Inline comments must end in full-stops, exclamation marks, or question marks
(#573) No space found before comment text; expected "// use_dnd_ui" but found "//use_dnd_ui"
(#576) Inline comments must start with a capital letter, digit or 3-dots sequence
(#576) Inline comments must end in full-stops, exclamation marks, or question marks
(#576) No space found before comment text; expected "// rows" but found "//rows"
(#577) Variable "rowId" must be all lower-case
(#578) Variable "rowId" must be all lower-case
(#590) Inline comments must start with a capital letter, digit or 3-dots sequence
(#590) Inline comments must end in full-stops, exclamation marks, or question marks
(#590) No space found before comment text; expected "// cols" but found "//cols"
(#591) Variable "colId" must be all lower-case
(#592) Variable "colId" must be all lower-case
(#601) Inline comments must start with a capital letter, digit or 3-dots sequence
(#601) Inline comments must end in full-stops, exclamation marks, or question marks
(#601) No space found before comment text; expected "// weights" but found "//weights"
(#602) Variable "rowId" must be all lower-case
(#602) Variable "weights_of_row" must not contain underscores.
(#603) Variable "rowId" must be all lower-case
(#605) Variable "weights_of_row" must not contain underscores.
(#605) Variable "colId" must be all lower-case
(#605) Variable "weight_of_col" must not contain underscores.
(#606) Variable "colId" must be all lower-case
(#607) Variable "weight_of_col" must not contain underscores.
(#612) Inline comments must start with a capital letter, digit or 3-dots sequence
(#612) Inline comments must end in full-stops, exclamation marks, or question marks
(#612) No space found before comment text; expected "// grademethod" but found "//grademethod"
(#616) Inline comments must start with a capital letter, digit or 3-dots sequence
(#616) Inline comments must end in full-stops, exclamation marks, or question marks
(#616) No space found before comment text; expected "// shuffleanswers" but found "//shuffleanswers"
(#620) Inline comments must start with a capital letter, digit or 3-dots sequence
(#620) Inline comments must end in full-stops, exclamation marks, or question marks
(#620) No space found before comment text; expected "// multiple" but found "//multiple"
(#622) Expected "if (...) {\n"; found "if(...){\n"
(#626) Inline comments must start with a capital letter, digit or 3-dots sequence
(#626) Inline comments must end in full-stops, exclamation marks, or question marks
(#626) No space found before comment text; expected "// renderer" but found "//renderer"
question/type/matrix/renderer.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#5) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#24) Opening brace should be on the same line as the declaration
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Variable "row_data" must not contain underscores.
(#55) Variable "row_data" must not contain underscores.
(#58) Variable "cell_name" must not contain underscores.
(#60) Variable "is_readonly" must not contain underscores.
(#61) Variable "is_checked" must not contain underscores.
(#64) Variable "cell_name" must not contain underscores.
(#64) Variable "is_checked" must not contain underscores.
(#64) Variable "is_readonly" must not contain underscores.
(#66) Variable "cell_name" must not contain underscores.
(#66) Variable "is_checked" must not contain underscores.
(#66) Variable "is_readonly" must not contain underscores.
(#72) Variable "row_data" must not contain underscores.
(#76) Variable "row_grade" must not contain underscores.
(#79) Variable "row_data" must not contain underscores.
(#79) Variable "row_grade" must not contain underscores.
(#81) Variable "row_data" must not contain underscores.
(#83) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) This comment is 100% valid code; is this commented out code?
(#83) No space found before comment text; expected "// $row_index++;" but found "//$row_index++;"
(#85) Variable "question_text" must not contain underscores.
(#86) Variable "question_text" must not contain underscores.
(#92) Opening brace should be on the same line as the declaration
(#108) Opening brace should be on the same line as the declaration
(#117) Opening brace should be on the same line as the declaration
question/type/matrix/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#7) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7) Inline comments must end in full-stops, exclamation marks, or question marks
(#14) Inline comments must start with a capital letter, digit or 3-dots sequence
(#14) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/matrix/simpletest/helper.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#16) Opening brace should be on the same line as the declaration
(#22) Whitespace found at end of line
(#25) Opening brace should be on the same line as the declaration
(#33) Whitespace found at end of line
(#36) Opening brace should be on the same line as the declaration
(#44) Whitespace found at end of line
(#47) Opening brace should be on the same line as the declaration
(#55) Whitespace found at end of line
(#58) Opening brace should be on the same line as the declaration
(#66) Whitespace found at end of line
(#69) Opening brace should be on the same line as the declaration
(#77) Whitespace found at end of line
(#80) Opening brace should be on the same line as the declaration
(#88) Whitespace found at end of line
(#91) Opening brace should be on the same line as the declaration
(#106) Expected "for (...) {\n"; found "for (...)\n {\n"
(#114) Expected "for (...) {\n"; found "for (...)\n {\n"
(#134) Whitespace found at end of line
(#137) Opening brace should be on the same line as the declaration
(#151) Expected "for (...) {\n"; found "for (...)\n {\n"
(#159) Expected "for (...) {\n"; found "for (...)\n {\n"
question/type/matrix/simpletest/testquestion.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#18) Opening brace should be on the same line as the declaration
(#44) Opening brace should be on the same line as the declaration
(#64) Opening brace should be on the same line as the declaration
(#71) Opening brace should be on the same line as the declaration
(#96) Opening brace should be on the same line as the declaration
(#111) Opening brace should be on the same line as the declaration
(#161) Variable "partial_grading" must not contain underscores.
(#162) Opening brace should be on the same line as the declaration
(#173) Variable "partial_grading" must not contain underscores.
(#175) Variable "partial_grading" must not contain underscores.
(#180) Variable "partial_grading" must not contain underscores.
(#189) Opening brace should be on the same line as the declaration
(#199) Opening brace should be on the same line as the declaration
(#216) Opening brace should be on the same line as the declaration
(#233) Opening brace should be on the same line as the declaration
(#250) Opening brace should be on the same line as the declaration
(#254) Inline comments must start with a capital letter, digit or 3-dots sequence
(#254) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) No space found before comment text; expected "// all correct" but found "//all correct"
(#260) Inline comments must start with a capital letter, digit or 3-dots sequence
(#260) Inline comments must end in full-stops, exclamation marks, or question marks
(#260) No space found before comment text; expected "// one correct one wrong" but found "//one correct one wrong"
(#266) Inline comments must start with a capital letter, digit or 3-dots sequence
(#266) Inline comments must end in full-stops, exclamation marks, or question marks
(#266) No space found before comment text; expected "// all wrong" but found "//all wrong"
(#283) Opening brace should be on the same line as the declaration
(#301) Opening brace should be on the same line as the declaration
question/type/matrix/simpletest/testquestiontype.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#19) Opening brace should be on the same line as the declaration
(#24) Opening brace should be on the same line as the declaration
(#29) Opening brace should be on the same line as the declaration
(#34) Opening brace should be on the same line as the declaration
(#45) This comment is 55% valid code; is this commented out code?
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Line indented incorrectly; expected at least 4 spaces, found 0
(#45) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#46) Line indented incorrectly; expected at least 4 spaces, found 0
(#46) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#47) Line indented incorrectly; expected at least 4 spaces, found 0
(#47) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#48) Line indented incorrectly; expected at least 4 spaces, found 0
(#48) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#49) Line indented incorrectly; expected at least 4 spaces, found 0
(#50) Line indented incorrectly; expected at least 4 spaces, found 0
(#50) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#51) Line indented incorrectly; expected at least 4 spaces, found 0
(#51) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#52) Line indented incorrectly; expected at least 4 spaces, found 0
(#52) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Line indented incorrectly; expected at least 4 spaces, found 0
(#53) Expected 1 space before comment text but found 4; use block comment if you need indentation

Javascript coding style problems

(3 errors, 44 warnings)

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

question/type/matrix/js/dnd.js
(#1) Comments should not begin with a lowercase character. (capitalized-comments)
(#26) Unexpected space before function parentheses. (space-before-function-paren)
(#28) Unexpected space before function parentheses. (space-before-function-paren)
(#30) Comments should not begin with a lowercase character. (capitalized-comments)
(#33) Unexpected space before function parentheses. (space-before-function-paren)
(#33) Identifier 'check_boxes' is not in camel case. (camelcase)
(#35) Identifier 'check_boxes' is not in camel case. (camelcase)
(#46) Identifier 'check_boxes' is not in camel case. (camelcase)
(#47) Comments should not begin with a lowercase character. (capitalized-comments)
(#49) Comments should not begin with a lowercase character. (capitalized-comments)
(#50) Comments should not begin with a lowercase character. (capitalized-comments)
(#51) Unexpected space before function parentheses. (space-before-function-paren)
(#66) Unexpected space before function parentheses. (space-before-function-paren)
(#68) Comments should not begin with a lowercase character. (capitalized-comments)
(#69) Comments should not begin with a lowercase character. (capitalized-comments)
(#73) Comments should not begin with a lowercase character. (capitalized-comments)
(#74) Comments should not begin with a lowercase character. (capitalized-comments)
(#75) Comments should not begin with a lowercase character. (capitalized-comments)
(#76) Comments should not begin with a lowercase character. (capitalized-comments)
(#77) Expected space or tab after '//' in comment. (spaced-comment)
(#79) Comments should not begin with a lowercase character. (capitalized-comments)
(#80) Comments should not begin with a lowercase character. (capitalized-comments)
(#81) Comments should not begin with a lowercase character. (capitalized-comments)
(#83) Comments should not begin with a lowercase character. (capitalized-comments)
(#84) Unexpected space before function parentheses. (space-before-function-paren)
(#86) Comments should not begin with a lowercase character. (capitalized-comments)
(#89) Comments should not begin with a lowercase character. (capitalized-comments)
(#90) Comments should not begin with a lowercase character. (capitalized-comments)
(#94) Comments should not begin with a lowercase character. (capitalized-comments)
(#95) Comments should not begin with a lowercase character. (capitalized-comments)
(#96) Comments should not begin with a lowercase character. (capitalized-comments)
(#97) Comments should not begin with a lowercase character. (capitalized-comments)
(#98) Comments should not begin with a lowercase character. (capitalized-comments)
(#101) Unexpected space before function parentheses. (space-before-function-paren)
(#101) Comments should not begin with a lowercase character. (capitalized-comments)
(#104) Comments should not begin with a lowercase character. (capitalized-comments)
(#105) Comments should not begin with a lowercase character. (capitalized-comments)
(#106) Comments should not begin with a lowercase character. (capitalized-comments)
(#107) Comments should not begin with a lowercase character. (capitalized-comments)
(#108) Unexpected space before function parentheses. (space-before-function-paren)
(#108) 'event' is defined but never used. (no-unused-vars)
(#108) 'ui' is defined but never used. (no-unused-vars)
(#113) Comments should not begin with a lowercase character. (capitalized-comments)
(#114) Comments should not begin with a lowercase character. (capitalized-comments)
(#120) Comments should not begin with a lowercase character. (capitalized-comments)
(#130) 'jQuery' is not defined. (no-undef)
(#132) Comments should not begin with a lowercase character. (capitalized-comments)

CSS problems

(331 errors, 41 warnings)

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

question/type/matrix/styles.css
(#180) Expected single space before "{" (block-opening-brace-space-before)
(#48) Expected "#EEEEEE" to be "#eeeeee" (color-hex-case)
(#137) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#152) Expected "#BBBBBB" to be "#bbbbbb" (color-hex-case)
(#48) Expected "#EEEEEE" to be "#EEE" (color-hex-length)
(#124) Expected "#000000" to be "#000" (color-hex-length)
(#132) Expected "#000000" to be "#000" (color-hex-length)
(#137) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#152) Expected "#BBBBBB" to be "#BBB" (color-hex-length)
(#159) Expected "#000000" to be "#000" (color-hex-length)
(#170) Expected "#000000" to be "#000" (color-hex-length)
(#136) Unexpected !important (declaration-no-important)
(#184) Unexpected unit (length-zero-no-unit)
(#180) Expected newline after "," (selector-list-comma-newline-after)
(#217) Expected newline after "," (selector-list-comma-newline-after)
(#8) Expected indentation of 4 spaces (indentation)
(#11) Expected indentation of 4 spaces (indentation)
(#14) Expected indentation of 4 spaces (indentation)
(#19) Expected indentation of 4 spaces (indentation)
(#20) Expected indentation of 4 spaces (indentation)
(#21) Expected indentation of 4 spaces (indentation)
(#22) Expected indentation of 4 spaces (indentation)
(#26) Expected indentation of 4 spaces (indentation)
(#27) Expected indentation of 4 spaces (indentation)
(#28) Expected indentation of 4 spaces (indentation)
(#31) Expected indentation of 4 spaces (indentation)
(#34) Expected indentation of 4 spaces (indentation)
(#37) Expected indentation of 4 spaces (indentation)
(#38) Expected indentation of 4 spaces (indentation)
(#39) Expected indentation of 4 spaces (indentation)
(#43) Expected indentation of 4 spaces (indentation)
(#46) Expected indentation of 4 spaces (indentation)
(#47) Expected indentation of 4 spaces (indentation)
(#48) Expected indentation of 4 spaces (indentation)
(#49) Expected indentation of 4 spaces (indentation)
(#50) Expected indentation of 4 spaces (indentation)
(#51) Expected indentation of 4 spaces (indentation)
(#52) Expected indentation of 4 spaces (indentation)
(#55) Expected indentation of 4 spaces (indentation)
(#58) Expected indentation of 4 spaces (indentation)
(#61) Expected indentation of 4 spaces (indentation)
(#64) Expected indentation of 4 spaces (indentation)
(#65) Expected indentation of 4 spaces (indentation)
(#68) Expected indentation of 4 spaces (indentation)
(#72) Expected indentation of 4 spaces (indentation)
(#75) Expected indentation of 4 spaces (indentation)
(#78) Expected indentation of 4 spaces (indentation)
(#81) Expected indentation of 4 spaces (indentation)
(#84) Expected indentation of 4 spaces (indentation)
(#87) Expected indentation of 4 spaces (indentation)
(#90) Expected indentation of 4 spaces (indentation)
(#93) Expected indentation of 4 spaces (indentation)
(#94) Expected indentation of 4 spaces (indentation)
(#97) Expected indentation of 4 spaces (indentation)
(#98) Expected indentation of 4 spaces (indentation)
(#99) Expected indentation of 4 spaces (indentation)
(#100) Expected indentation of 4 spaces (indentation)
(#105) Expected indentation of 4 spaces (indentation)
(#109) Expected indentation of 4 spaces (indentation)
(#110) Expected indentation of 4 spaces (indentation)
(#111) Expected indentation of 4 spaces (indentation)
(#112) Expected indentation of 4 spaces (indentation)
(#116) Expected indentation of 4 spaces (indentation)
(#117) Expected indentation of 4 spaces (indentation)
(#120) Expected indentation of 4 spaces (indentation)
(#121) Expected indentation of 4 spaces (indentation)
(#122) Expected indentation of 4 spaces (indentation)
(#123) Expected indentation of 4 spaces (indentation)
(#124) Expected indentation of 4 spaces (indentation)
(#125) Expected indentation of 4 spaces (indentation)
(#126) Expected indentation of 4 spaces (indentation)
(#127) Expected indentation of 4 spaces (indentation)
(#128) Expected indentation of 4 spaces (indentation)
(#131) Expected indentation of 4 spaces (indentation)
(#132) Expected indentation of 4 spaces (indentation)
(#135) Expected indentation of 4 spaces (indentation)
(#136) Expected indentation of 4 spaces (indentation)
(#137) Expected indentation of 4 spaces (indentation)
(#138) Expected indentation of 4 spaces (indentation)
(#139) Expected indentation of 4 spaces (indentation)
(#140) Expected indentation of 4 spaces (indentation)
(#143) Expected indentation of 4 spaces (indentation)
(#144) Expected indentation of 4 spaces (indentation)
(#145) Expected indentation of 4 spaces (indentation)
(#146) Expected indentation of 4 spaces (indentation)
(#147) Expected indentation of 4 spaces (indentation)
(#148) Expected indentation of 4 spaces (indentation)
(#149) Expected indentation of 4 spaces (indentation)
(#150) Expected indentation of 4 spaces (indentation)
(#151) Expected indentation of 4 spaces (indentation)
(#152) Expected indentation of 4 spaces (indentation)
(#153) Expected indentation of 4 spaces (indentation)
(#154) Expected indentation of 4 spaces (indentation)
(#155) Expected indentation of 4 spaces (indentation)
(#158) Expected indentation of 4 spaces (indentation)
(#159) Expected indentation of 4 spaces (indentation)
(#160) Expected indentation of 4 spaces (indentation)
(#161) Expected indentation of 4 spaces (indentation)
(#164) Expected indentation of 4 spaces (indentation)
(#165) Expected indentation of 4 spaces (indentation)
(#166) Expected indentation of 4 spaces (indentation)
(#169) Expected indentation of 4 spaces (indentation)
(#170) Expected indentation of 4 spaces (indentation)
(#173) Expected indentation of 4 spaces (indentation)
(#174) Expected indentation of 4 spaces (indentation)
(#175) Expected indentation of 4 spaces (indentation)
(#176) Expected indentation of 4 spaces (indentation)
(#177) Expected indentation of 4 spaces (indentation)
(#178) Expected indentation of 4 spaces (indentation)
(#181) Expected indentation of 4 spaces (indentation)
(#182) Expected indentation of 4 spaces (indentation)
(#183) Expected indentation of 4 spaces (indentation)
(#184) Expected indentation of 4 spaces (indentation)
(#191) Expected indentation of 4 spaces (indentation)
(#192) Expected indentation of 4 spaces (indentation)
(#195) Expected indentation of 4 spaces (indentation)
(#196) Expected indentation of 4 spaces (indentation)
(#199) Expected indentation of 4 spaces (indentation)
(#202) Expected indentation of 4 spaces (indentation)
(#205) Expected indentation of 4 spaces (indentation)
(#208) Expected indentation of 4 spaces (indentation)
(#209) Expected indentation of 4 spaces (indentation)
(#210) Expected indentation of 4 spaces (indentation)
(#211) Expected indentation of 4 spaces (indentation)
(#214) Expected indentation of 4 spaces (indentation)
(#215) 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)
(#224) Expected indentation of 4 spaces (indentation)
(#225) Expected indentation of 4 spaces (indentation)
(#226) Expected indentation of 4 spaces (indentation)
(#227) Expected indentation of 4 spaces (indentation)
(#228) Expected indentation of 4 spaces (indentation)
(#229) Expected indentation of 4 spaces (indentation)
(#230) Expected indentation of 4 spaces (indentation)
(#231) Expected indentation of 4 spaces (indentation)
(#232) Expected indentation of 4 spaces (indentation)
(#233) Expected indentation of 4 spaces (indentation)
(#236) Expected indentation of 4 spaces (indentation)
(#237) Expected indentation of 4 spaces (indentation)
(#240) Expected indentation of 4 spaces (indentation)
(#243) Expected indentation of 4 spaces (indentation)
(#247) Expected indentation of 4 spaces (indentation)
(#250) Expected indentation of 4 spaces (indentation)
(#253) Expected indentation of 4 spaces (indentation)
question/type/matrix/stylesheets/styles.less
(#10) Unexpected whitespace at end of line (no-eol-whitespace)
(#11) Unexpected whitespace at end of line (no-eol-whitespace)
question/type/matrix/stylesheets/css/base.css
(#42) Expected "#EEEEEE" to be "#eeeeee" (color-hex-case)
(#131) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#146) Expected "#BBBBBB" to be "#bbbbbb" (color-hex-case)
(#42) Expected "#EEEEEE" to be "#EEE" (color-hex-length)
(#118) Expected "#000000" to be "#000" (color-hex-length)
(#126) Expected "#000000" to be "#000" (color-hex-length)
(#131) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#146) Expected "#BBBBBB" to be "#BBB" (color-hex-length)
(#153) Expected "#000000" to be "#000" (color-hex-length)
(#164) Expected "#000000" to be "#000" (color-hex-length)
(#41) Unexpected !important (declaration-no-important)
(#66) Unexpected !important (declaration-no-important)
(#69) Unexpected !important (declaration-no-important)
(#72) Unexpected !important (declaration-no-important)
(#75) Unexpected !important (declaration-no-important)
(#130) Unexpected !important (declaration-no-important)
(#2) Expected indentation of 4 spaces (indentation)
(#5) Expected indentation of 4 spaces (indentation)
(#8) Expected indentation of 4 spaces (indentation)
(#13) Expected indentation of 4 spaces (indentation)
(#14) Expected indentation of 4 spaces (indentation)
(#15) Expected indentation of 4 spaces (indentation)
(#16) Expected indentation of 4 spaces (indentation)
(#20) Expected indentation of 4 spaces (indentation)
(#21) Expected indentation of 4 spaces (indentation)
(#22) Expected indentation of 4 spaces (indentation)
(#25) Expected indentation of 4 spaces (indentation)
(#28) Expected indentation of 4 spaces (indentation)
(#31) Expected indentation of 4 spaces (indentation)
(#32) Expected indentation of 4 spaces (indentation)
(#33) Expected indentation of 4 spaces (indentation)
(#37) Expected indentation of 4 spaces (indentation)
(#40) Expected indentation of 4 spaces (indentation)
(#41) Expected indentation of 4 spaces (indentation)
(#42) Expected indentation of 4 spaces (indentation)
(#43) Expected indentation of 4 spaces (indentation)
(#44) Expected indentation of 4 spaces (indentation)
(#45) Expected indentation of 4 spaces (indentation)
(#46) Expected indentation of 4 spaces (indentation)
(#49) Expected indentation of 4 spaces (indentation)
(#52) Expected indentation of 4 spaces (indentation)
(#55) Expected indentation of 4 spaces (indentation)
(#58) Expected indentation of 4 spaces (indentation)
(#59) Expected indentation of 4 spaces (indentation)
(#62) Expected indentation of 4 spaces (indentation)
(#66) Expected indentation of 4 spaces (indentation)
(#69) Expected indentation of 4 spaces (indentation)
(#72) Expected indentation of 4 spaces (indentation)
(#75) Expected indentation of 4 spaces (indentation)
(#78) Expected indentation of 4 spaces (indentation)
(#81) Expected indentation of 4 spaces (indentation)
(#84) Expected indentation of 4 spaces (indentation)
(#87) Expected indentation of 4 spaces (indentation)
(#88) Expected indentation of 4 spaces (indentation)
(#91) Expected indentation of 4 spaces (indentation)
(#92) Expected indentation of 4 spaces (indentation)
(#93) Expected indentation of 4 spaces (indentation)
(#94) Expected indentation of 4 spaces (indentation)
(#99) Expected indentation of 4 spaces (indentation)
(#103) Expected indentation of 4 spaces (indentation)
(#104) Expected indentation of 4 spaces (indentation)
(#105) Expected indentation of 4 spaces (indentation)
(#106) Expected indentation of 4 spaces (indentation)
(#110) Expected indentation of 4 spaces (indentation)
(#111) Expected indentation of 4 spaces (indentation)
(#114) Expected indentation of 4 spaces (indentation)
(#115) Expected indentation of 4 spaces (indentation)
(#116) Expected indentation of 4 spaces (indentation)
(#117) Expected indentation of 4 spaces (indentation)
(#118) Expected indentation of 4 spaces (indentation)
(#119) Expected indentation of 4 spaces (indentation)
(#120) Expected indentation of 4 spaces (indentation)
(#121) Expected indentation of 4 spaces (indentation)
(#122) Expected indentation of 4 spaces (indentation)
(#125) Expected indentation of 4 spaces (indentation)
(#126) Expected indentation of 4 spaces (indentation)
(#129) Expected indentation of 4 spaces (indentation)
(#130) Expected indentation of 4 spaces (indentation)
(#131) Expected indentation of 4 spaces (indentation)
(#132) Expected indentation of 4 spaces (indentation)
(#133) Expected indentation of 4 spaces (indentation)
(#134) Expected indentation of 4 spaces (indentation)
(#137) Expected indentation of 4 spaces (indentation)
(#138) Expected indentation of 4 spaces (indentation)
(#139) Expected indentation of 4 spaces (indentation)
(#140) Expected indentation of 4 spaces (indentation)
(#141) Expected indentation of 4 spaces (indentation)
(#142) Expected indentation of 4 spaces (indentation)
(#143) Expected indentation of 4 spaces (indentation)
(#144) Expected indentation of 4 spaces (indentation)
(#145) Expected indentation of 4 spaces (indentation)
(#146) Expected indentation of 4 spaces (indentation)
(#147) Expected indentation of 4 spaces (indentation)
(#148) Expected indentation of 4 spaces (indentation)
(#149) Expected indentation of 4 spaces (indentation)
(#152) Expected indentation of 4 spaces (indentation)
(#153) Expected indentation of 4 spaces (indentation)
(#154) Expected indentation of 4 spaces (indentation)
(#155) Expected indentation of 4 spaces (indentation)
(#158) Expected indentation of 4 spaces (indentation)
(#159) Expected indentation of 4 spaces (indentation)
(#160) Expected indentation of 4 spaces (indentation)
(#163) Expected indentation of 4 spaces (indentation)
(#164) Expected indentation of 4 spaces (indentation)
question/type/matrix/stylesheets/css/dndui.css
(#6) Expected indentation of 4 spaces (indentation)
(#7) Expected indentation of 4 spaces (indentation)
(#10) Expected indentation of 4 spaces (indentation)
(#11) Expected indentation of 4 spaces (indentation)
(#14) Expected indentation of 4 spaces (indentation)
(#17) Expected indentation of 4 spaces (indentation)
(#20) Expected indentation of 4 spaces (indentation)
(#23) Expected indentation of 4 spaces (indentation)
(#24) Expected indentation of 4 spaces (indentation)
(#25) Expected indentation of 4 spaces (indentation)
(#26) Expected indentation of 4 spaces (indentation)
(#29) Expected indentation of 4 spaces (indentation)
(#30) Expected indentation of 4 spaces (indentation)
(#33) Expected indentation of 4 spaces (indentation)
(#34) Expected indentation of 4 spaces (indentation)
(#35) Expected indentation of 4 spaces (indentation)
(#36) Expected indentation of 4 spaces (indentation)
(#39) Expected indentation of 4 spaces (indentation)
(#40) Expected indentation of 4 spaces (indentation)
(#41) Expected indentation of 4 spaces (indentation)
(#42) Expected indentation of 4 spaces (indentation)
(#43) Expected indentation of 4 spaces (indentation)
(#44) Expected indentation of 4 spaces (indentation)
(#45) Expected indentation of 4 spaces (indentation)
(#46) Expected indentation of 4 spaces (indentation)
(#47) Expected indentation of 4 spaces (indentation)
(#48) Expected indentation of 4 spaces (indentation)
(#51) Expected indentation of 4 spaces (indentation)
(#52) Expected indentation of 4 spaces (indentation)
(#55) Expected indentation of 4 spaces (indentation)
(#58) Expected indentation of 4 spaces (indentation)
(#62) Expected indentation of 4 spaces (indentation)
(#65) Expected indentation of 4 spaces (indentation)
(#68) Expected indentation of 4 spaces (indentation)
question/type/matrix/stylesheets/css/pix.css
(#2) Expected indentation of 4 spaces (indentation)
(#3) Expected indentation of 4 spaces (indentation)
(#4) Expected indentation of 4 spaces (indentation)
(#5) Expected indentation of 4 spaces (indentation)
(#8) Expected indentation of 4 spaces (indentation)
(#9) Expected indentation of 4 spaces (indentation)
(#10) Expected indentation of 4 spaces (indentation)
(#11) Expected indentation of 4 spaces (indentation)
(#14) Expected indentation of 4 spaces (indentation)
(#15) Expected indentation of 4 spaces (indentation)
(#16) Expected indentation of 4 spaces (indentation)
(#17) Expected indentation of 4 spaces (indentation)
(#20) Expected indentation of 4 spaces (indentation)
(#21) Expected indentation of 4 spaces (indentation)
(#22) Expected indentation of 4 spaces (indentation)
(#23) Expected indentation of 4 spaces (indentation)
(#26) Expected indentation of 4 spaces (indentation)
(#27) Expected indentation of 4 spaces (indentation)
(#28) Expected indentation of 4 spaces (indentation)
(#29) Expected indentation of 4 spaces (indentation)
(#30) Expected indentation of 4 spaces (indentation)
(#31) Expected indentation of 4 spaces (indentation)
(#32) Expected indentation of 4 spaces (indentation)
(#35) Expected indentation of 4 spaces (indentation)
(#36) Expected indentation of 4 spaces (indentation)
(#37) Expected indentation of 4 spaces (indentation)
(#38) Expected indentation of 4 spaces (indentation)
(#39) Expected indentation of 4 spaces (indentation)
question/type/matrix/stylesheets/css/styles_back.css
(#52) Expected "#EEEEEE" to be "#eeeeee" (color-hex-case)
(#172) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#188) Expected "#BBBBBB" to be "#bbbbbb" (color-hex-case)
(#52) Expected "#EEEEEE" to be "#EEE" (color-hex-length)
(#152) Expected "#000000" to be "#000" (color-hex-length)
(#166) Expected "#000000" to be "#000" (color-hex-length)
(#172) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#188) Expected "#BBBBBB" to be "#BBB" (color-hex-length)
(#202) Expected "#000000" to be "#000" (color-hex-length)
(#207) Expected "#000000" to be "#000" (color-hex-length)
(#50) Unexpected !important (declaration-no-important)
(#70) Unexpected !important (declaration-no-important)
(#71) Unexpected !important (declaration-no-important)
(#75) Unexpected !important (declaration-no-important)
(#76) Unexpected !important (declaration-no-important)
(#82) Unexpected !important (declaration-no-important)
(#86) Unexpected !important (declaration-no-important)
(#90) Unexpected !important (declaration-no-important)
(#94) Unexpected !important (declaration-no-important)
(#171) Unexpected !important (declaration-no-important)
(#121) Unexpected whitespace before "," (selector-list-comma-space-before)
question/type/matrix/stylesheets/less/base.less
(#63) Expected newline after "{" (block-opening-brace-newline-after)
(#68) Expected newline after "{" (block-opening-brace-newline-after)
(#79) Expected newline after "{" (block-opening-brace-newline-after)
(#116) Expected newline after "{" (block-opening-brace-newline-after)
(#127) Expected newline after "{" (block-opening-brace-newline-after)
(#68) Expected single space before "{" (block-opening-brace-space-before)
(#72) Expected single space before "{" (block-opening-brace-space-before)
(#73) Expected single space before "{" (block-opening-brace-space-before)
(#84) Expected single space before "{" (block-opening-brace-space-before)
(#85) Expected single space before "{" (block-opening-brace-space-before)
(#54) Expected "#EEEEEE" to be "#eeeeee" (color-hex-case)
(#189) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#207) Expected "#BBBBBB" to be "#bbbbbb" (color-hex-case)
(#54) Expected "#EEEEEE" to be "#EEE" (color-hex-length)
(#172) Expected "#000000" to be "#000" (color-hex-length)
(#181) Expected "#000000" to be "#000" (color-hex-length)
(#189) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#207) Expected "#BBBBBB" to be "#BBB" (color-hex-length)
(#215) Expected "#000000" to be "#000" (color-hex-length)
(#231) Expected "#000000" to be "#000" (color-hex-length)
(#52) Unexpected !important (declaration-no-important)
(#188) Unexpected !important (declaration-no-important)
(#93) Expected no more than 2 empty lines (max-empty-lines)
(#94) Expected no more than 2 empty lines (max-empty-lines)
(#95) Expected no more than 2 empty lines (max-empty-lines)
(#115) Expected no more than 2 empty lines (max-empty-lines)
(#126) Expected no more than 2 empty lines (max-empty-lines)
(#223) Expected no more than 2 empty lines (max-empty-lines)
(#63) Unexpected whitespace at end of line (no-eol-whitespace)
(#68) Unexpected whitespace at end of line (no-eol-whitespace)
(#79) Unexpected whitespace at end of line (no-eol-whitespace)
(#116) Unexpected whitespace at end of line (no-eol-whitespace)
(#127) Unexpected whitespace at end of line (no-eol-whitespace)
(#145) Unexpected whitespace before "," (selector-list-comma-space-before)
(#146) Expected indentation of 4 spaces (indentation)
(#147) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(256 errors, 26 warnings)

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

question/type/matrix/backup/moodle1/lib.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#11) Function moodle1_qtype_matrix_handler::create_id is not documented
(#5) Package is not specified for class moodle1_qtype_matrix_handler. It is also not specified in file-level phpdocs
question/type/matrix/backup/moodle2/backup_qtype_matrix_plugin.class.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#5) Package is not specified for class backup_qtype_matrix_plugin. It is also not specified in file-level phpdocs
question/type/matrix/backup/moodle2/restore_qtype_matrix_plugin.class.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#170) Function restore_qtype_matrix_plugin::recode_response is not documented
(#5) No one-line description found in phpdocs for class restore_qtype_matrix_plugin
(#57) Phpdocs for function restore_qtype_matrix_plugin::process_matrix has incomplete parameters list
(#80) Phpdocs for function restore_qtype_matrix_plugin::process_col has incomplete parameters list
(#104) Phpdocs for function restore_qtype_matrix_plugin::process_row has incomplete parameters list
(#128) Phpdocs for function restore_qtype_matrix_plugin::process_weight has incomplete parameters list
(#150) Phpdocs for function restore_qtype_matrix_plugin::recode_state_answer has incomplete parameters list
(#5) Package is not specified for class restore_qtype_matrix_plugin. It is also not specified in file-level phpdocs
question/type/matrix/classes/privacy/provider.php
(#29) Class provider is not documented
question/type/matrix/db/upgrade.php
(#2) Empty line found after PHP open tag
(#23) File-level phpdocs block is not found
(#23) Function xmldb_qtype_matrix_upgrade is not documented
(#23) Package is not specified for function xmldb_qtype_matrix_upgrade. It is also not specified in file-level phpdocs
question/type/matrix/edit_matrix_form.php
(#2) Empty line found after PHP open tag
(#43) Function qtype_matrix_edit_form::qtype is not documented
(#48) Function qtype_matrix_edit_form::definition_inner is not documented
(#83) Function qtype_matrix_edit_form::set_data is not documented
(#141) Function qtype_matrix_edit_form::validation is not documented
(#168) Function qtype_matrix_edit_form::col_count is not documented
(#173) Function qtype_matrix_edit_form::row_count is not documented
(#179) Function qtype_matrix_edit_form::add_multiple is not documented
(#193) Function qtype_matrix_edit_form::add_grading is not documented
(#214) Function qtype_matrix_edit_form::add_matrix is not documented
(#334) Function qtype_matrix_edit_form::get_javascript is not documented
(#408) Function qtype_matrix_edit_form::param_rows is not documented
(#457) Function qtype_matrix_edit_form::offsetExists is not documented
(#462) Function qtype_matrix_edit_form::offsetGet is not documented
(#467) Function qtype_matrix_edit_form::offsetSet is not documented
(#472) Function qtype_matrix_edit_form::offsetUnset is not documented
(#22) Constant qtype_matrix_edit_form::DEFAULT_REPEAT_ELEMENTS is not documented
(#23) Constant qtype_matrix_edit_form::PARAM_COLS is not documented
(#24) Constant qtype_matrix_edit_form::DEFAULT_COLS is not documented
(#25) Constant qtype_matrix_edit_form::PARAM_ADD_COLUMNS is not documented
(#26) Constant qtype_matrix_edit_form::PARAM_ROWS is not documented
(#27) Constant qtype_matrix_edit_form::DEFAULT_ROWS is not documented
(#28) Constant qtype_matrix_edit_form::PARAM_ADD_ROWS is not documented
(#29) Constant qtype_matrix_edit_form::PARAM_GRADE_METHOD is not documented
(#30) Constant qtype_matrix_edit_form::PARAM_MULTIPLE is not documented
(#31) Constant qtype_matrix_edit_form::DEFAULT_MULTIPLE is not documented
(#32) Constant qtype_matrix_edit_form::PARAM_USE_DND_UI is not documented
(#33) Constant qtype_matrix_edit_form::DEFAULT_USE_DND_UI is not documented
(#34) Constant qtype_matrix_edit_form::PARAM_SHUFFLE_ANSERS is not documented
(#35) Constant qtype_matrix_edit_form::DEFAULT_SHUFFLE_ANSWERS is not documented
(#12) No one-line description found in phpdocs for class qtype_matrix_edit_form
(#435) There is no description in phpdocs for function param_grade_method
(#445) There is no description in phpdocs for function param_multiple
(#3) File-level phpdocs block does not have @copyright tag
(#3) File-level phpdocs block does not have @license tag
(#12) Package is not specified for class qtype_matrix_edit_form. It is also not specified in file-level phpdocs
question/type/matrix/grading/qtype_matrix_grading_all.class.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#15) Function qtype_matrix_grading_all::get_name is not documented
(#20) Function qtype_matrix_grading_all::get_title is not documented
(#13) Constant qtype_matrix_grading_all::TYPE is not documented
(#3) No one-line description found in phpdocs for class qtype_matrix_grading_all
(#3) Package is not specified for class qtype_matrix_grading_all. It is also not specified in file-level phpdocs
question/type/matrix/grading/qtype_matrix_grading_kany.class.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#14) Function qtype_matrix_grading_kany::get_name is not documented
(#19) Function qtype_matrix_grading_kany::get_title is not documented
(#39) Function qtype_matrix_grading_kany::grade_question is not documented
(#80) Function qtype_matrix_grading_kany::validation is not documented
(#12) Constant qtype_matrix_grading_kany::TYPE is not documented
(#3) No one-line description found in phpdocs for class qtype_matrix_grading_kany
(#3) Package is not specified for class qtype_matrix_grading_kany. It is also not specified in file-level phpdocs
question/type/matrix/grading/qtype_matrix_grading_kprime.class.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#16) Function qtype_matrix_grading_kprime::get_name is not documented
(#21) Function qtype_matrix_grading_kprime::get_title is not documented
(#14) Constant qtype_matrix_grading_kprime::TYPE is not documented
(#3) Package is not specified for class qtype_matrix_grading_kprime. It is also not specified in file-level phpdocs
question/type/matrix/lang/de/qtype_matrix.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
question/type/matrix/lang/en/qtype_matrix.php
(#2) Empty line found after PHP open tag
(#5) File-level phpdocs block is not found
question/type/matrix/lang/fr/qtype_matrix.php
(#2) Empty line found after PHP open tag
(#4) File-level phpdocs block is not found
question/type/matrix/libs/config.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#11) Function config::get is not documented
(#16) Function config::show_kprime_gui is not documented
(#23) Function config::allow_dnd_ui is not documented
(#9) Constant config::COMPONENT is not documented
(#3) No one-line description found in phpdocs for class config
(#3) Package is not specified for class config. It is also not specified in file-level phpdocs
question/type/matrix/libs/lang.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#11) Function lang::get is not documented
(#16) Function lang::use_dnd_ui is not documented
(#21) Function lang::shuffle_answers is not documented
(#26) Function lang::must_define_1_by_1 is not documented
(#31) Function lang::multiple_allowed is not documented
(#36) Function lang::grade_method is not documented
(#41) Function lang::col_description is not documented
(#46) Function lang::row_feedback is not documented
(#51) Function lang::row_long is not documented
(#56) Function lang::true_ is not documented
(#61) Function lang::false_ is not documented
(#66) Function lang::one_answer_per_row is not documented
(#9) Constant lang::COMPONENT is not documented
(#3) Package is not specified for class lang. It is also not specified in file-level phpdocs
question/type/matrix/libs/matrix_form_builder.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#11) Function matrix_form_builder::__construct is not documented
(#15) Function matrix_form_builder::create_name is not documented
(#21) Function matrix_form_builder::create_javascript is not documented
(#30) Function matrix_form_builder::create_static is not documented
(#36) Function matrix_form_builder::create_text is not documented
(#46) Function matrix_form_builder::create_htmleditor is not documented
(#56) Function matrix_form_builder::create_htmlpopup is not documented
(#76) Function matrix_form_builder::create_hidden is not documented
(#81) Function matrix_form_builder::create_group is not documented
(#91) Function matrix_form_builder::create_header is not documented
(#101) Function matrix_form_builder::create_submit is not documented
(#111) Function matrix_form_builder::add_javascript is not documented
(#117) Function matrix_form_builder::add_static is not documented
(#122) Function matrix_form_builder::add_text is not documented
(#132) Function matrix_form_builder::add_htmleditor is not documented
(#142) Function matrix_form_builder::add_hidden is not documented
(#147) Function matrix_form_builder::add_group is not documented
(#157) Function matrix_form_builder::add_header is not documented
(#167) Function matrix_form_builder::add_selectyesno is not documented
(#178) Function matrix_form_builder::add_select is not documented
(#188) Function matrix_form_builder::add_submit is not documented
(#198) Function matrix_form_builder::add_help_button is not documented
(#206) Function matrix_form_builder::add_element is not documented
(#211) Function matrix_form_builder::set_default is not documented
(#216) Function matrix_form_builder::element_exists is not documented
(#221) Function matrix_form_builder::insert_element_before is not documented
(#226) Function matrix_form_builder::disabled_if is not documented
(#231) Function matrix_form_builder::register_no_submit_button is not documented
(#238) Function matrix_form_builder::offsetExists is not documented
(#243) Function matrix_form_builder::offsetGet is not documented
(#248) Function matrix_form_builder::offsetSet is not documented
(#253) Function matrix_form_builder::offsetUnset is not documented
(#9) Variable matrix_form_builder::$_form is not documented
(#3) Package is not specified for class matrix_form_builder. It is also not specified in file-level phpdocs
question/type/matrix/libs/question_matrix_store.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#17) Function question_matrix_store::get_matrix_by_question_id is not documented
(#28) Function question_matrix_store::save_matrix is not documented
(#63) Function question_matrix_store::update_matrix is not documented
(#80) Function question_matrix_store::delete_question is not documented
(#131) Function question_matrix_store::get_matrix_rows_by_matrix_id is not documented
(#155) Function question_matrix_store::save_matrix_row is not documented
(#165) Function question_matrix_store::insert_matrix_row is not documented
(#186) Function question_matrix_store::update_matrix_row is not documented
(#202) Function question_matrix_store::delete_matrix_row is not documented
(#215) Function question_matrix_store::get_matrix_cols_by_matrix_id is not documented
(#236) Function question_matrix_store::save_matrix_col is not documented
(#246) Function question_matrix_store::insert_matrix_col is not documented
(#268) Function question_matrix_store::update_matrix_col is not documented
(#284) Function question_matrix_store::delete_matrix_col is not documented
(#297) Function question_matrix_store::get_matrix_weights_by_question_id is not documented
(#318) Function question_matrix_store::delete_matrix_weights is not documented
(#333) Function question_matrix_store::insert_matrix_weight is not documented
(#9) Constant question_matrix_store::COMPONENT is not documented
(#10) Constant question_matrix_store::TABLE_QUESTION_MATRIX is not documented
(#11) Constant question_matrix_store::TABLE_QUESTION_MATRIX_ROWS is not documented
(#12) Constant question_matrix_store::TABLE_QUESTION_MATRIX_COLS is not documented
(#13) Constant question_matrix_store::TABLE_QUESTION_MATRIX_WEIGHTS is not documented
(#3) No one-line description found in phpdocs for class question_matrix_store
(#3) Package is not specified for class question_matrix_store. It is also not specified in file-level phpdocs
question/type/matrix/qtype_matrix_grading.class.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#11) Function qtype_matrix_grading::gradings is not documented
(#35) Function qtype_matrix_grading::default_grading is not documented
(#58) Function qtype_matrix_grading::get_name is not documented
(#65) Function qtype_matrix_grading::get_title is not documented
(#110) Function qtype_matrix_grading::cell_index is not documented
(#170) Function qtype_matrix_grading::col_count is not documented
(#175) Function qtype_matrix_grading::row_count is not documented
(#40) There is no description in phpdocs for function create
(#6) Not recommended phpdocs tag @abstract used
(#3) Package is not specified for class qtype_matrix_grading. It is also not specified in file-level phpdocs
question/type/matrix/question.php
(#2) Empty line found after PHP open tag
(#310) Function qtype_matrix_question::get_order is not documented
(#316) Function qtype_matrix_question::init_order is not documented
(#19) Variable qtype_matrix_question::$rows is not documented
(#20) Variable qtype_matrix_question::$cols is not documented
(#21) Variable qtype_matrix_question::$weights is not documented
(#22) Variable qtype_matrix_question::$grademethod is not documented
(#23) Variable qtype_matrix_question::$multiple is not documented
(#24) Variable qtype_matrix_question::$shuffleanswers is not documented
(#25) Variable qtype_matrix_question::$use_dnd_ui is not documented
(#17) Constant qtype_matrix_question::KEY_ROWS_ORDER is not documented
(#35) There is no description in phpdocs for function grading
(#68) There is no description in phpdocs for function key
(#207) There is no description in phpdocs for function shuffle_answers
(#46) Phpdocs for function qtype_matrix_question::weight has incomplete parameters list
(#385) Phpdocs for function qtype_matrix_question::summarise_response has incomplete parameters list
(#3) File-level phpdocs block does not have @copyright tag
(#3) File-level phpdocs block does not have @license tag
(#191) Not recommended phpdocs tag @global used
(#191) Not recommended phpdocs tag @global used
(#159) Inline phpdocs tag {@link question_attempt} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#163) Inline phpdocs tag {@link get_num_variants()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#284) Inline phpdocs tag {@link question_attempt} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#284) Inline phpdocs tag {@link question_attempt} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#330) Inline phpdocs tag {@link grade_response()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#349) Inline phpdocs tag {@link question_attempt_step::get_qt_data()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#385) Inline phpdocs tag {@link grade_response()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#415) Inline phpdocs tag {@link question_attempt_step::get_qt_data()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#464) Inline phpdocs tag {@link question_state} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#467) Inline phpdocs tag {@link question_attempt_step::get_qt_data()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#482) Inline phpdocs tag {@link question_attempt::get_field_prefix()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#11) Package is not specified for class qtype_matrix_question. It is also not specified in file-level phpdocs
question/type/matrix/questiontype.php
(#2) Empty line found after PHP open tag
(#21) Function qtype_matrix::get_string is not documented
(#26) Function qtype_matrix::gradings is not documented
(#31) Function qtype_matrix::grading is not documented
(#36) Function qtype_matrix::defaut_grading is not documented
(#41) Function qtype_matrix::name is not documented
(#128) Function qtype_matrix::retrieve_matrix is not documented
(#422) Function qtype_matrix::extra_question_fields is not documented
(#90) There is no description in phpdocs for function is_manual_graded
(#98) There is no description in phpdocs for function get_question_options
(#432) Phpdocs for function qtype_matrix::import_from_xml has incomplete parameters list
(#565) Phpdocs for function qtype_matrix::export_to_xml has incomplete parameters list
(#3) File-level phpdocs block does not have @copyright tag
(#3) File-level phpdocs block does not have @license tag
(#346) Invalid phpdocs tag @result used
(#181) Inline phpdocs tag {@link save_question()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#13) Package is not specified for class qtype_matrix. It is also not specified in file-level phpdocs
question/type/matrix/renderer.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#91) Function qtype_matrix_renderer::matrix_header is not documented
(#107) Function qtype_matrix_renderer::checkbox is not documented
(#116) Function qtype_matrix_renderer::radio is not documented
(#7) Package is not specified for class qtype_matrix_renderer. It is also not specified in file-level phpdocs
question/type/matrix/settings.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
question/type/matrix/simpletest/helper.php
(#2) Empty line found after PHP open tag
(#15) Function qtype_matrix_test_helper::get_test_questions is not documented
(#20) There is no description in phpdocs for function make_matrix_question_multiple
(#31) There is no description in phpdocs for function make_matrix_question_single
(#42) There is no description in phpdocs for function make_matrix_question_kprime
(#53) There is no description in phpdocs for function make_matrix_question_all
(#64) There is no description in phpdocs for function make_matrix_question_any
(#75) There is no description in phpdocs for function make_matrix_question_none
(#86) There is no description in phpdocs for function make_matrix_question_weighted
(#132) There is no description in phpdocs for function make_matrix_question
(#3) File-level phpdocs block does not have @copyright tag
(#3) File-level phpdocs block does not have @license tag
(#8) Package is not specified for class qtype_matrix_test_helper. It is also not specified in file-level phpdocs
question/type/matrix/simpletest/testquestion.php
(#2) Empty line found after PHP open tag
(#17) Function qtype_matrix_question_test::test_is_complete_response is not documented
(#43) Function qtype_matrix_question_test::test_get_correct_response is not documented
(#63) Function qtype_matrix_question_test::test_get_question_summary is not documented
(#70) Function qtype_matrix_question_test::test_summarise_response is not documented
(#95) Function qtype_matrix_question_test::test_is_same_response is not documented
(#110) Function qtype_matrix_question_test::test_grading is not documented
(#161) Function qtype_matrix_question_test::question_grading_pass is not documented
(#183) There is no description in phpdocs for function make_question
(#193) There is no description in phpdocs for function make_answer_correct
(#210) There is no description in phpdocs for function make_answer_incorrect
(#227) There is no description in phpdocs for function make_answer_partial
(#244) There is no description in phpdocs for function make_answer_multiple_partial
(#277) There is no description in phpdocs for function make_answer_multiple_correct
(#295) There is no description in phpdocs for function make_answer_multiple_incorrect
(#3) File-level phpdocs block does not have @copyright tag
(#3) File-level phpdocs block does not have @license tag
(#10) Package is not specified for class qtype_matrix_question_test. It is also not specified in file-level phpdocs
question/type/matrix/simpletest/testquestiontype.php
(#2) Empty line found after PHP open tag
(#18) Function qtype_matrix_test::setUp is not documented
(#23) Function qtype_matrix_test::tearDown is not documented
(#28) Function qtype_matrix_test::test_name is not documented
(#33) Function qtype_matrix_test::test_cell_name is not documented
(#16) Variable qtype_matrix_test::$qtype is not documented
(#3) File-level phpdocs block does not have @copyright tag
(#3) File-level phpdocs block does not have @license tag
(#10) Package is not specified for class qtype_matrix_test. It is also not specified in file-level phpdocs
question/type/matrix/version.php
(#17) File-level phpdocs block is not found

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 "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]