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

(458 errors, 153 warnings)

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

mod/assign/submission/random/backup/moodle2/backup_assignsubmission_random_subplugin.class.php
(#19) Whitespace found at end of line
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#39) Whitespace found at end of line
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#48) Short array syntax must be used to define arrays
(#48) Commas (,) must be followed by white space.
(#48) Commas (,) must be followed by white space.
(#48) Line exceeds 132 characters; contains 142 characters
(#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
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) This comment is 44% valid code; is this commented out code?
(#57) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#62) Short array syntax must be used to define arrays
(#62) Commas (,) must be followed by white space.
(#63) Whitespace found at end of line
(#67) Whitespace found at end of line
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) This comment is 67% valid code; is this commented out code?
(#68) Line indented incorrectly; expected at least 8 spaces, found 0
(#68) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Line indented incorrectly; expected at least 8 spaces, found 0
(#69) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#69) Whitespace found at end of line
(#72) Whitespace found at end of line
mod/assign/submission/random/backup/moodle2/restore_assignsubmission_random_subplugin.class.php
(#19) Whitespace found at end of line
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) 76 slashes comments are not allowed; use "// Comment." instead
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) 76 slashes comments are not allowed; use "// Comment." instead
(#44) Short array syntax must be used to define arrays
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) 76 slashes comments are not allowed; use "// Comment." instead
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) 76 slashes comments are not allowed; use "// Comment." instead
(#59) Docblock tag "@global" is not recommended.
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Short array syntax must be used to define arrays
(#73) Expected "if (...) {\n"; found "if(...) {\n"
(#76) Whitespace found at end of line
mod/assign/submission/random/db/access.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#25) Short array syntax must be used to define arrays
(#25) File must end with a newline character
mod/assign/submission/random/db/upgrade.php
(#35) Expected "if (...) {\n"; found "if (...){\n"
(#37) Spaces must be used to indent lines; tabs are not allowed
(#37) Tab found within whitespace
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Line indented incorrectly; expected at least 8 spaces, found 1
(#48) Whitespace found at end of line
mod/assign/submission/random/lang/en/assignsubmission_random.php
(#26) Whitespace found at end of line
(#27) Whitespace found at end of line
(#42) File must end with a newline character
mod/assign/submission/random/lang/fr/assignsubmission_random.php
(#26) Whitespace found at end of line
(#27) Whitespace found at end of line
mod/assign/submission/random/lang/sk/assignsubmission_random.php
(#26) Whitespace found at end of line
(#27) Whitespace found at end of line
(#42) File must end with a newline character
mod/assign/submission/random/lang/vi/assignsubmission_random.php
(#26) Whitespace found at end of line
(#27) Whitespace found at end of line
mod/assign/submission/random/lib.php
(#18) Whitespace found at end of line
(#20) Whitespace found at end of line
(#21) Whitespace found at end of line
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Docblock tag "@global" is not recommended.
(#46) Whitespace found at end of line
(#47) Whitespace found at end of line
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Whitespace found at end of line
(#59) Usage of ELSEIF not allowed; use ELSE IF instead
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Whitespace found at end of line
(#84) File must end with a newline character
mod/assign/submission/random/locallib.php
(#19) Whitespace found at end of line
(#20) Whitespace found at end of line
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#40) Whitespace found at end of line
(#47) Line indented incorrectly; expected at least 4 spaces, found 3
(#53) Whitespace found at end of line
(#54) Whitespace found at end of line
(#64) Short array syntax must be used to define arrays
(#65) Whitespace found at end of line
(#66) Commas (,) must be followed by white space.
(#66) Whitespace found at end of line
(#67) Commas (,) must be followed by white space.
(#68) Commas (,) must be followed by white space.
(#68) Commas (,) must be followed by white space.
(#69) Whitespace found at end of line
(#69) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#70) Whitespace found at end of line
(#71) Commas (,) must be followed by white space.
(#71) Whitespace found at end of line
(#72) Commas (,) must be followed by white space.
(#73) Commas (,) must be followed by white space.
(#73) Commas (,) must be followed by white space.
(#75) Whitespace found at end of line
(#80) Variable "default_values" must not contain underscores.
(#80) Whitespace found at end of line
(#83) Whitespace found at end of line
(#86) Short array syntax must be used to define arrays
(#86) Expected 1 space before "=>"; 0 found
(#86) Expected 1 space after "=>"; 0 found
(#86) Expected 1 space before "=>"; 0 found
(#86) Expected 1 space after "=>"; 0 found
(#86) Line exceeds 132 characters; contains 147 characters
(#88) Variable "default_values" must not contain underscores.
(#89) Whitespace found at end of line
(#92) Short array syntax must be used to define arrays
(#92) Expected 1 space before "=>"; 0 found
(#92) Expected 1 space after "=>"; 0 found
(#92) Expected 1 space before "=>"; 0 found
(#92) Expected 1 space after "=>"; 0 found
(#92) Line exceeds 132 characters; contains 148 characters
(#94) Variable "default_values" must not contain underscores.
(#95) Whitespace found at end of line
(#97) Whitespace found at end of line
(#105) Whitespace found at end of line
(#108) Whitespace found at end of line
(#110) Short array syntax must be used to define arrays
(#110) Expected 1 space before "=>"; 0 found
(#110) Expected 1 space after "=>"; 0 found
(#110) Expected 1 space before "=>"; 0 found
(#110) Expected 1 space after "=>"; 0 found
(#110) Line exceeds 132 characters; contains 154 characters
(#113) Short array syntax must be used to define arrays
(#113) Expected 1 space before "=>"; 0 found
(#113) Expected 1 space after "=>"; 0 found
(#113) Expected 1 space before "=>"; 0 found
(#113) Expected 1 space after "=>"; 0 found
(#113) Line exceeds 132 characters; contains 155 characters
(#115) Whitespace found at end of line
(#117) Whitespace found at end of line
(#121) Whitespace found at end of line
(#122) Whitespace found at end of line
(#125) Whitespace found at end of line
(#126) Inline comments must start with a capital letter, digit or 3-dots sequence
(#126) This comment is 61% valid code; is this commented out code?
(#129) Whitespace found at end of line
(#130) Whitespace found at end of line
(#131) Whitespace found at end of line
(#134) Whitespace found at end of line
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) Variable "plugin_random" must not contain underscores.
(#136) Short array syntax must be used to define arrays
(#136) Line exceeds 132 characters; contains 158 characters
(#137) Whitespace found at end of line
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Expected "if (...) {\n"; found "if(...) {\n"
(#140) Variable "plugin_random" must not contain underscores.
(#141) Whitespace found at end of line
(#142) Inline comments must start with a capital letter, digit or 3-dots sequence
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) Whitespace found at end of line
(#148) Inline comments must start with a capital letter, digit or 3-dots sequence
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) Expected "if (...) {\n"; found "if(...) {\n"
(#151) Inline comments must start with a capital letter, digit or 3-dots sequence
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#153) Variable "file_array_db" must not contain underscores.
(#153) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#154) Line exceeds 132 characters; contains 138 characters
(#154) Whitespace found at end of line
(#156) Variable "records_value" must not contain underscores.
(#157) Inline control structures are not allowed
(#157) Variable "records_value" must not contain underscores.
(#157) Inline comments must start with a capital letter, digit or 3-dots sequence
(#157) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) Variable "file_array_db" must not contain underscores.
(#158) Variable "records_value" must not contain underscores.
(#161) Whitespace found at end of line
(#162) Inline comments must start with a capital letter, digit or 3-dots sequence
(#163) Variable "user_groups" must not contain underscores.
(#165) Inline comments must start with a capital letter, digit or 3-dots sequence
(#165) Whitespace found at end of line
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) Expected "if (...) {\n"; found "if (...){\n"
(#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
(#171) Variable "user_groups" must not contain underscores.
(#173) Inline comments must start with a capital letter, digit or 3-dots sequence
(#173) Inline comments must end in full-stops, exclamation marks, or question marks
(#174) Expected "if (...) {\n"; found "if (...){\n"
(#174) Variable "user_groups" must not contain underscores.
(#174) Logical operator "or" is prohibited; use "||" instead
(#174) Variable "user_groups" must not contain underscores.
(#175) Line exceeds 132 characters; contains 140 characters
(#180) Short array syntax must be used to define arrays
(#180) Variable "user_groups" must not contain underscores.
(#180) Line exceeds 132 characters; contains 175 characters
(#181) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#184) Inline comments must start with a capital letter, digit or 3-dots sequence
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#185) Short array syntax must be used to define arrays
(#185) Line exceeds 132 characters; contains 158 characters
(#187) Whitespace found at end of line
(#188) Expected "if (...) {\n"; found "if(...) {\n"
(#189) Inline comments must start with a capital letter, digit or 3-dots sequence
(#190) Inline comments must end in full-stops, exclamation marks, or question marks
(#191) Spaces must be used to indent lines; tabs are not allowed
(#191) Tab found within whitespace
(#191) Variable "file_array" must not contain underscores.
(#191) Short array syntax must be used to define arrays
(#196) Variable "file_array" must not contain underscores.
(#197) Whitespace found at end of line
(#198) Whitespace found at end of line
(#200) Spaces must be used to indent lines; tabs are not allowed
(#200) Tab found within whitespace
(#200) Inline comments must start with a capital letter, digit or 3-dots sequence
(#200) Line indented incorrectly; expected at least 20 spaces, found 19
(#201) Spaces must be used to indent lines; tabs are not allowed
(#201) Tab found within whitespace
(#201) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) Line indented incorrectly; expected at least 20 spaces, found 19
(#202) Spaces must be used to indent lines; tabs are not allowed
(#202) Tab found within whitespace
(#202) Line indented incorrectly; expected at least 20 spaces, found 19
(#202) Variable "file_array_diff" must not contain underscores.
(#202) Variable "file_array" must not contain underscores.
(#202) Variable "file_array_db" must not contain underscores.
(#203) Spaces must be used to indent lines; tabs are not allowed
(#203) Tab found within whitespace
(#203) Whitespace found at end of line
(#204) Spaces must be used to indent lines; tabs are not allowed
(#204) Tab found within whitespace
(#204) Line indented incorrectly; expected at least 20 spaces, found 19
(#204) Variable "file_select" must not contain underscores.
(#205) Spaces must be used to indent lines; tabs are not allowed
(#205) Tab found within whitespace
(#205) Line indented incorrectly; expected 20 spaces, found 19
(#205) Expected "if (...) {\n"; found "if(...) {\n"
(#205) Variable "file_array_diff" must not contain underscores.
(#206) Inline comments must start with a capital letter, digit or 3-dots sequence
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#208) Variable "file_array_diff" must not contain underscores.
(#208) Inline comments must start with a capital letter, digit or 3-dots sequence
(#208) Inline comments must end in full-stops, exclamation marks, or question marks
(#209) Variable "file_select" must not contain underscores.
(#209) Variable "file_array_diff" must not contain underscores.
(#210) Spaces must be used to indent lines; tabs are not allowed
(#210) Tab found within whitespace
(#210) Line indented incorrectly; expected 20 spaces, found 19
(#211) Inline comments must start with a capital letter, digit or 3-dots sequence
(#214) Inline comments must end in full-stops, exclamation marks, or question marks
(#215) Variable "item_random" must not contain underscores.
(#215) Variable "file_array" must not contain underscores.
(#215) Expected 1 space before "-"; 0 found
(#215) Expected 1 space after "-"; 0 found
(#216) Variable "file_select" must not contain underscores.
(#216) Variable "file_array" must not contain underscores.
(#216) Variable "item_random" must not contain underscores.
(#217) Closing brace indented incorrectly; expected 19 spaces, found 20
(#219) Spaces must be used to indent lines; tabs are not allowed
(#219) Tab found within whitespace
(#219) Line indented incorrectly; expected 20 spaces, found 19
(#219) Expected "if (...) {\n"; found "if(...) {\n"
(#219) Variable "file_select" must not contain underscores.
(#220) Spaces must be used to indent lines; tabs are not allowed
(#220) Tab found within whitespace
(#220) Inline comments must start with a capital letter, digit or 3-dots sequence
(#220) Line indented incorrectly; expected at least 24 spaces, found 23
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
(#222) Expected "if (...) {\n"; found "if (...){ \n"
(#222) Whitespace found at end of line
(#223) Short array syntax must be used to define arrays
(#223) Variable "user_groups" must not contain underscores.
(#223) Line exceeds maximum limit of 180 characters; contains 183 characters
(#225) Short array syntax must be used to define arrays
(#225) Line exceeds 132 characters; contains 166 characters
(#226) Line indented incorrectly; expected 25 spaces, found 24
(#227) Whitespace found at end of line
(#228) Line indented incorrectly; expected 25 spaces, found 24
(#228) Expected "if (...) {\n"; found "if(...) {\n"
(#229) Line exceeds 132 characters; contains 139 characters
(#229) Inline comments must start with a capital letter, digit or 3-dots sequence
(#229) Line indented incorrectly; expected at least 29 spaces, found 28
(#230) Inline comments must end in full-stops, exclamation marks, or question marks
(#230) Line indented incorrectly; expected at least 29 spaces, found 28
(#231) Spaces must be used to indent lines; tabs are not allowed
(#231) Tab found within whitespace
(#231) Line indented incorrectly; expected at least 29 spaces, found 27
(#231) Variable "data_insert" must not contain underscores.
(#232) Line indented incorrectly; expected at least 29 spaces, found 28
(#232) Variable "data_insert" must not contain underscores.
(#233) Line indented incorrectly; expected at least 29 spaces, found 28
(#233) Variable "data_insert" must not contain underscores.
(#234) Line indented incorrectly; expected at least 29 spaces, found 28
(#234) Variable "data_insert" must not contain underscores.
(#234) Variable "file_select" must not contain underscores.
(#235) Line indented incorrectly; expected at least 29 spaces, found 28
(#235) Variable "data_insert" must not contain underscores.
(#237) Line indented incorrectly; expected 29 spaces, found 28
(#237) Expected "if (...) {\n"; found "if (...){ \n"
(#237) Whitespace found at end of line
(#238) Line indented incorrectly; expected at least 33 spaces, found 32
(#238) Variable "data_insert" must not contain underscores.
(#239) Line indented incorrectly; expected at least 33 spaces, found 32
(#239) Variable "data_insert" must not contain underscores.
(#239) Variable "user_groups" must not contain underscores.
(#241) Line indented incorrectly; expected 29 spaces, found 28
(#242) Line indented incorrectly; expected at least 33 spaces, found 32
(#242) Variable "data_insert" must not contain underscores.
(#243) Line indented incorrectly; expected at least 33 spaces, found 32
(#243) Variable "data_insert" must not contain underscores.
(#244) Line indented incorrectly; expected 29 spaces, found 28
(#246) Line indented incorrectly; expected at least 29 spaces, found 28
(#246) Variable "data_insert" must not contain underscores.
(#247) Line indented incorrectly; expected 25 spaces, found 24
(#247) Whitespace found at end of line
(#248) Spaces must be used to indent lines; tabs are not allowed
(#248) Tab found within whitespace
(#248) Line indented incorrectly; expected 20 spaces, found 19
(#250) Whitespace found at end of line
(#251) Whitespace found at end of line
(#252) Whitespace found at end of line
(#253) Expected "if (...) {\n"; found "if(...) { \n"
(#253) Variable "plugin_random" must not contain underscores.
(#253) Whitespace found at end of line
(#256) Expected "if (...) {\n"; found "if(...) {\n"
(#260) Line exceeds 132 characters; contains 142 characters
(#261) Variable "url_list_in" must not contain underscores.
(#261) Short array syntax must be used to define arrays
(#264) Line exceeds 132 characters; contains 180 characters
(#265) Variable "url_list_in" must not contain underscores.
(#266) Whitespace found at end of line
(#267) Whitespace found at end of line
(#268) Whitespace found at end of line
(#269) Line exceeds 132 characters; contains 143 characters
(#270) Variable "url_list_out" must not contain underscores.
(#270) Short array syntax must be used to define arrays
(#273) Line exceeds maximum limit of 180 characters; contains 181 characters
(#274) Variable "url_list_out" must not contain underscores.
(#275) Whitespace found at end of line
(#276) Whitespace found at end of line
(#278) Expected "if (...) {\n"; found "if(...) {\n"
(#278) Variable "url_list_in" must not contain underscores.
(#278) Variable "url_list_out" must not contain underscores.
(#279) Line exceeds 132 characters; contains 144 characters
(#279) Inline comments must start with a capital letter, digit or 3-dots sequence
(#279) This comment is 67% valid code; is this commented out code?
(#279) No space found before comment text; expected "// $o .= "<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js'></script>\n";" but found "//$o .= "<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js'></script>\n";"
(#288) Line exceeds 132 characters; contains 177 characters
(#294) Expected "if (...) {\n"; found "if(...) {\n"
(#294) Variable "url_list_in" must not contain underscores.
(#295) Variable "url_list_in" must not contain underscores.
(#299) Commas (,) must be followed by white space.
(#299) Variable "url_list_in" must not contain underscores.
(#303) Whitespace found at end of line
(#304) Expected "if (...) {\n"; found "if(...) {\n"
(#304) Variable "url_list_out" must not contain underscores.
(#305) Variable "url_list_out" must not contain underscores.
(#309) Commas (,) must be followed by white space.
(#309) Variable "url_list_out" must not contain underscores.
(#314) Expected "if (...) {\n"; found "if(...) {\n"
(#314) Variable "url_list_in" must not contain underscores.
(#314) Variable "url_list_out" must not contain underscores.
(#320) Expected "} else {\n"; found "}\n else\n { \n"
(#321) Whitespace found at end of line
(#322) Short array syntax must be used to define arrays
(#322) Line exceeds 132 characters; contains 153 characters
(#323) Inline control structures are not allowed
(#325) Inline control structures are not allowed
(#327) Expected "if (...) {\n"; found "if(...) {\n"
(#328) Line exceeds 132 characters; contains 168 characters
(#328) Whitespace found at end of line
(#329) Commas (,) must be followed by white space.
(#329) Commas (,) must be followed by white space.
(#329) Commas (,) must be followed by white space.
(#329) Line exceeds maximum limit of 180 characters; contains 183 characters
(#338) Line indented incorrectly; expected at least 4 spaces, found 3
(#345) Line indented incorrectly; expected 4 spaces, found 3
(#347) Whitespace found at end of line
(#351) Variable "url_assignment" must not contain underscores.
(#352) Variable "url_solution" must not contain underscores.
(#354) Expected "if (...) {\n"; found "if (...){ \n"
(#354) Whitespace found at end of line
(#355) Short array syntax must be used to define arrays
(#355) Line exceeds 132 characters; contains 162 characters
(#357) Short array syntax must be used to define arrays
(#357) Line exceeds 132 characters; contains 147 characters
(#358) Line indented incorrectly; expected 9 spaces, found 8
(#359) Whitespace found at end of line
(#360) Line indented incorrectly; expected 9 spaces, found 8
(#360) Expected "if (...) {\n"; found "if(...) {\n"
(#361) Line indented incorrectly; expected 13 spaces, found 12
(#361) Expected "if (...) {\n"; found "if(...) {\n"
(#362) Line indented incorrectly; expected at least 17 spaces, found 16
(#362) Variable "url_assignment" must not contain underscores.
(#362) Line exceeds 132 characters; contains 165 characters
(#363) Line indented incorrectly; expected at least 17 spaces, found 16
(#363) Variable "url_solution" must not contain underscores.
(#363) Line exceeds 132 characters; contains 164 characters
(#364) Line indented incorrectly; expected 13 spaces, found 12
(#365) Line indented incorrectly; expected 13 spaces, found 12
(#365) Expected "if (...) {\n"; found "if(...) {\n"
(#366) Line indented incorrectly; expected at least 17 spaces, found 16
(#367) Line indented incorrectly; expected 17 spaces, found 16
(#367) Expected "if (...) {\n"; found "if(...) {\n"
(#367) Variable "url_assignment" must not contain underscores.
(#368) Line indented incorrectly; expected at least 21 spaces, found 20
(#368) Commas (,) must be followed by white space.
(#368) Variable "url_assignment" must not contain underscores.
(#368) Line exceeds maximum limit of 180 characters; contains 186 characters
(#369) Inline comments must end in full-stops, exclamation marks, or question marks
(#369) Line indented incorrectly; expected at least 21 spaces, found 20
(#369) Whitespace found at end of line
(#370) Line indented incorrectly; expected at least 21 spaces, found 20
(#370) Whitespace found at end of line
(#371) Line indented incorrectly; expected at least 21 spaces, found 20
(#372) Line indented incorrectly; expected 21 spaces, found 20
(#372) Expected "if (...) {\n"; found "if(...) {\n"
(#373) Line indented incorrectly; expected at least 25 spaces, found 24
(#373) Commas (,) must be followed by white space.
(#373) Variable "url_solution" must not contain underscores.
(#373) Line exceeds maximum limit of 180 characters; contains 188 characters
(#373) Whitespace found at end of line
(#374) Line indented incorrectly; expected 21 spaces, found 20
(#375) Line indented incorrectly; expected 17 spaces, found 16
(#375) Whitespace found at end of line
(#376) Line indented incorrectly; expected at least 17 spaces, found 16
(#376) Whitespace found at end of line
(#377) Line indented incorrectly; expected 13 spaces, found 12
(#378) Line indented incorrectly; expected 13 spaces, found 12
(#378) Expected "} else {\n"; found "}\n else {\n"
(#379) Line indented incorrectly; expected at least 17 spaces, found 16
(#379) Inline control structures are not allowed
(#379) Variable "url_assignment" must not contain underscores.
(#380) Variable "url_assignment" must not contain underscores.
(#380) Whitespace found at end of line
(#381) Line indented incorrectly; expected 13 spaces, found 12
(#382) Line indented incorrectly; expected 9 spaces, found 8
(#383) Line indented incorrectly; expected at least 9 spaces, found 8
(#384) Closing brace indented incorrectly; expected 3 spaces, found 4
(#384) Whitespace found at end of line
(#385) Whitespace found at end of line
(#393) Inline comments must start with a capital letter, digit or 3-dots sequence
(#393) Inline comments must end in full-stops, exclamation marks, or question marks
(#394) Short array syntax must be used to define arrays
(#394) Expected 1 space before "=>"; 0 found
(#394) Expected 1 space after "=>"; 0 found
(#398) Whitespace found at end of line
(#399) Inline comments must start with a capital letter, digit or 3-dots sequence
(#400) Whitespace found at end of line
(#401) Whitespace found at end of line
(#402) Whitespace found at end of line
(#406) Whitespace found at end of line
(#417) Whitespace found at end of line
(#419) Whitespace found at end of line
(#421) Whitespace found at end of line
(#429) Whitespace found at end of line
(#431) Inline comments must end in full-stops, exclamation marks, or question marks
(#432) Line exceeds maximum limit of 180 characters; contains 189 characters
(#433) Inline comments must end in full-stops, exclamation marks, or question marks
(#434) Line exceeds maximum limit of 180 characters; contains 196 characters
(#434) Whitespace found at end of line
(#435) Whitespace found at end of line
(#436) Inline comments must start with a capital letter, digit or 3-dots sequence
(#437) Whitespace found at end of line
(#438) Whitespace found at end of line
(#439) Variable "file_maxfilesubmissions" must not contain underscores.
(#440) Variable "file_maxfilesubmissions" must not contain underscores.
(#441) Variable "file_maxfilesubmissions" must not contain underscores.
(#442) Variable "file_maxfilesubmissions" must not contain underscores.
(#443) Variable "file_maxfilesubmissions" must not contain underscores.
(#444) Variable "file_maxfilesubmissions" must not contain underscores.
(#445) Variable "file_maxfilesubmissions" must not contain underscores.
(#445) Whitespace found at end of line
(#447) Variable "file_maxsubmissionsizebytes" must not contain underscores.
(#448) Variable "file_maxsubmissionsizebytes" must not contain underscores.
(#449) Variable "file_maxsubmissionsizebytes" must not contain underscores.
(#450) Variable "file_maxsubmissionsizebytes" must not contain underscores.
(#451) Variable "file_maxsubmissionsizebytes" must not contain underscores.
(#452) Variable "file_maxsubmissionsizebytes" must not contain underscores.
(#453) Variable "file_maxsubmissionsizebytes" must not contain underscores.
(#453) Whitespace found at end of line
(#454) Whitespace found at end of line
(#455) Inline comments must end in full-stops, exclamation marks, or question marks
(#456) Short array syntax must be used to define arrays
(#456) Expected 1 space before "=>"; 0 found
(#456) Expected 1 space after "=>"; 0 found
(#456) Expected 1 space before "=>"; 0 found
(#456) Expected 1 space after "=>"; 0 found
(#456) Expected 1 space before "=>"; 0 found
(#456) Expected 1 space after "=>"; 0 found
(#456) Expected 1 space before "=>"; 0 found
(#456) Expected 1 space after "=>"; 0 found
(#456) Line exceeds maximum limit of 180 characters; contains 187 characters
(#457) Inline comments must end in full-stops, exclamation marks, or question marks
(#458) Short array syntax must be used to define arrays
(#458) Expected 1 space before "=>"; 0 found
(#458) Expected 1 space after "=>"; 0 found
(#458) Expected 1 space before "=>"; 0 found
(#458) Expected 1 space after "=>"; 0 found
(#458) Expected 1 space before "=>"; 0 found
(#458) Expected 1 space after "=>"; 0 found
(#458) Expected 1 space before "=>"; 0 found
(#458) Expected 1 space after "=>"; 0 found
(#458) Line exceeds maximum limit of 180 characters; contains 193 characters
(#459) Inline comments must end in full-stops, exclamation marks, or question marks
(#460) Short array syntax must be used to define arrays
(#460) Expected 1 space before "=>"; 0 found
(#460) Expected 1 space after "=>"; 0 found
(#460) Expected 1 space before "=>"; 0 found
(#460) Expected 1 space after "=>"; 0 found
(#460) Expected 1 space before "=>"; 0 found
(#460) Expected 1 space after "=>"; 0 found
(#460) Expected 1 space before "=>"; 0 found
(#460) Expected 1 space after "=>"; 0 found
(#460) Line exceeds maximum limit of 180 characters; contains 191 characters
(#461) Whitespace found at end of line
(#462) Inline comments must start with a capital letter, digit or 3-dots sequence
(#466) Whitespace found at end of line
(#469) Whitespace found at end of line
(#470) Docblock tag "@global" is not recommended.
(#479) Whitespace found at end of line
(#481) Inline comments must end in full-stops, exclamation marks, or question marks
(#483) Inline comments must end in full-stops, exclamation marks, or question marks
(#483) Whitespace found at end of line
(#487) Whitespace found at end of line
(#488) Whitespace found at end of line
(#489) Inline comments must end in full-stops, exclamation marks, or question marks
(#494) Whitespace found at end of line
(#495) Inline comments must end in full-stops, exclamation marks, or question marks
(#495) Whitespace found at end of line
(#496) Variable "mdl_assignsubmission_file" must not contain underscores.
(#497) Inline comments must end in full-stops, exclamation marks, or question marks
(#497) Whitespace found at end of line
(#498) Variable "mdl_assignsubmission_file" must not contain underscores.
(#499) Variable "mdl_assignsubmission_file" must not contain underscores.
(#500) Inline comments must start with a capital letter, digit or 3-dots sequence
(#500) No space found before comment text; expected "// $mdl_assignsubmission_file->numfiles = $oldsubmission->numfiles;" but found "//$mdl_assignsubmission_file->numfiles = $oldsubmission->numfiles;"
(#502) Whitespace found at end of line
(#504) Inline comments must start with a capital letter, digit or 3-dots sequence
(#504) This comment is 64% valid code; is this commented out code?
(#504) No space found before comment text; expected "// $mdl_assignsubmission_file->numfiles = count($files);" but found "//$mdl_assignsubmission_file->numfiles = count($files);"
(#506) Inline comments must end in full-stops, exclamation marks, or question marks
(#507) Variable "mdl_assignsubmission_file" must not contain underscores.
(#511) Whitespace found at end of line
(#512) Inline comments must end in full-stops, exclamation marks, or question marks
(#513) Line exceeds maximum limit of 180 characters; contains 232 characters
(#513) Whitespace found at end of line
(#515) Inline comments must end in full-stops, exclamation marks, or question marks
(#516) Short array syntax must be used to define arrays
(#516) Expected 1 space before "=>"; 0 found
(#516) Expected 1 space after "=>"; 0 found
(#516) Expected 1 space before "=>"; 0 found
(#516) Expected 1 space after "=>"; 0 found
(#516) Expected 1 space before "=>"; 0 found
(#516) Expected 1 space after "=>"; 0 found
(#516) Expected 1 space before "=>"; 0 found
(#516) Expected 1 space after "=>"; 0 found
(#516) Line exceeds maximum limit of 180 characters; contains 189 characters
(#520) Whitespace found at end of line
(#521) Inline comments must start with a capital letter, digit or 3-dots sequence
(#522) Whitespace found at end of line
(#523) Whitespace found at end of line
(#524) Whitespace found at end of line
(#525) Inline comments must start with a capital letter, digit or 3-dots sequence
(#527) Whitespace found at end of line
(#539) Whitespace found at end of line
(#543) Inline comments must start with a capital letter, digit or 3-dots sequence
(#543) Inline comments must end in full-stops, exclamation marks, or question marks
(#544) Short array syntax must be used to define arrays
(#544) Expected 1 space before "=>"; 0 found
(#544) Expected 1 space after "=>"; 0 found
(#544) Expected 1 space before "=>"; 0 found
(#544) Expected 1 space after "=>"; 0 found
(#544) Line exceeds 132 characters; contains 138 characters
(#567) Whitespace found at end of line
(#573) Whitespace found at end of line
(#597) Whitespace found at end of line
(#602) Short array syntax must be used to define arrays
(#602) Expected 1 space before "=>"; 0 found
(#602) Expected 1 space after "=>"; 0 found
(#602) Expected 1 space before "=>"; 0 found
(#602) Expected 1 space after "=>"; 0 found
(#604) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#613) Whitespace found at end of line
(#615) Expected "if (...) {\n"; found "if(...) {\n"
(#619) Variable "is_open" must not contain underscores.
(#621) Expected "if (...) {\n"; found "if(...) {\n"
(#621) Short array syntax must be used to define arrays
(#621) Expected 1 space before "=>"; 0 found
(#621) Expected 1 space after "=>"; 0 found
(#621) Expected 1 space before "=>"; 0 found
(#621) Expected 1 space after "=>"; 0 found
(#625) Variable "is_open" must not contain underscores.
(#627) Variable "is_open" must not contain underscores.
(#629) Variable "is_open" must not contain underscores.
(#631) Variable "is_open" must not contain underscores.
(#636) Variable "is_open" must not contain underscores.
(#638) Inline comments must start with a capital letter, digit or 3-dots sequence
(#639) Whitespace found at end of line
(#640) Whitespace found at end of line
(#649) Short array syntax must be used to define arrays
(#649) Commas (,) must be followed by white space.
mod/assign/submission/random/settings.php
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
mod/assign/submission/random/version.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#26) Spaces must be used for alignment; tabs are not allowed
(#26) Tab found within whitespace
(#26) Inline comments must start with a capital letter, digit or 3-dots sequence
(#26) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(10 errors, 0 warnings)

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

mod/assign/submission/random/backup/moodle2/restore_assignsubmission_random_subplugin.class.php
(#34) Found comment starting with three or more slashes
(#36) Found comment starting with three or more slashes
(#53) Found comment starting with three or more slashes
(#55) Found comment starting with three or more slashes
mod/assign/submission/random/lib.php
(#17) No one-line description found in phpdocs for file
mod/assign/submission/random/locallib.php
(#596) There is no description in phpdocs for function is_graded
(#610) There is no description in phpdocs for function can_view_random
(#422) Phpdocs for function assign_submission_random::upgrade_settings has incomplete parameters list
(#596) Phpdocs for function assign_submission_random::is_graded has incomplete parameters list
(#610) Phpdocs for function assign_submission_random::can_view_random has incomplete parameters list

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(0 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]


Gherkin .feature problems

(0 errors, 0 warnings)

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