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

(38 errors, 161 warnings)

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

grade/grading/form/rubric_ranges/backup/moodle2/backup_gradingform_rubric_ranges_plugin.class.php
(#52) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#114) Short array syntax must be used to define arrays
grade/grading/form/rubric_ranges/backup/moodle2/restore_gradingform_rubric_ranges_plugin.class.php
(#41) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
grade/grading/form/rubric_ranges/classes/grades/grader/gradingpanel/external/fetch.php
(#315) There must not be a space before the colon in a return type declaration
grade/grading/form/rubric_ranges/classes/privacy/provider.php
(#27) Import statements must not begin with a leading backslash
(#45) There must not be a space before the colon in a return type declaration
(#50) There should be a comma after the last array item in a multi-line array.
grade/grading/form/rubric_ranges/edit.php
(#41) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
grade/grading/form/rubric_ranges/edit_form.php
(#56) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#191) Short array syntax must be used to define arrays
grade/grading/form/rubric_ranges/lib.php
(#95) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#165) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#171) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#181) Short array syntax must be used to define arrays
(#195) Short array syntax must be used to define arrays
(#216) Short array syntax must be used to define arrays
(#229) Short array syntax must be used to define arrays
(#248) Short array syntax must be used to define arrays
(#273) Short array syntax must be used to define arrays
(#274) Short array syntax must be used to define arrays
(#280) Short array syntax must be used to define arrays
(#307) Short array syntax must be used to define arrays
(#309) There should be a comma after the last array item in a multi-line array.
(#332) Short array syntax must be used to define arrays
(#341) Short array syntax must be used to define arrays
(#345) Short array syntax must be used to define arrays
(#349) Short array syntax must be used to define arrays
(#352) Short array syntax must be used to define arrays
(#356) Short array syntax must be used to define arrays
(#388) Short array syntax must be used to define arrays
(#397) There should be a comma after the last array item in a multi-line array.
(#439) Short array syntax must be used to define arrays
(#446) Short array syntax must be used to define arrays
(#446) Short array syntax must be used to define arrays
(#450) Short array syntax must be used to define arrays
(#467) Short array syntax must be used to define arrays
(#467) Short array syntax must be used to define arrays
(#480) Short array syntax must be used to define arrays
(#497) Short array syntax must be used to define arrays
(#519) Short array syntax must be used to define arrays
(#523) There should be a comma after the last array item in a multi-line array.
(#590) Short array syntax must be used to define arrays
(#603) Short array syntax must be used to define arrays
(#640) Short array syntax must be used to define arrays
(#641) Short array syntax must be used to define arrays
(#642) Short array syntax must be used to define arrays
(#645) There should be a comma after the last array item in a multi-line array.
(#647) Short array syntax must be used to define arrays
(#682) Short array syntax must be used to define arrays
(#689) Short array syntax must be used to define arrays
(#711) Short array syntax must be used to define arrays
(#717) Short array syntax must be used to define arrays
(#771) Short array syntax must be used to define arrays
(#772) Short array syntax must be used to define arrays
(#782) Short array syntax must be used to define arrays
(#794) Short array syntax must be used to define arrays
(#796) Short array syntax must be used to define arrays
(#817) Short array syntax must be used to define arrays
(#824) Short array syntax must be used to define arrays
(#828) There should be a comma after the last array item in a multi-line array.
(#831) There should be a comma after the last array item in a multi-line array.
(#835) Short array syntax must be used to define arrays
(#849) Short array syntax must be used to define arrays
(#854) There should be a comma after the last array item in a multi-line array.
(#858) Short array syntax must be used to define arrays
(#883) Short array syntax must be used to define arrays
(#899) Short array syntax must be used to define arrays
(#934) Short array syntax must be used to define arrays
(#969) Short array syntax must be used to define arrays
(#970) Short array syntax must be used to define arrays
(#970) Short array syntax must be used to define arrays
(#991) Short array syntax must be used to define arrays
(#1001) Short array syntax must be used to define arrays
(#1002) Short array syntax must be used to define arrays
(#1015) Short array syntax must be used to define arrays
(#1079) Short array syntax must be used to define arrays
(#1082) Short array syntax must be used to define arrays
(#1085) Short array syntax must be used to define arrays
(#1085) Short array syntax must be used to define arrays
(#1087) There should be a comma after the last array item in a multi-line array.
(#1105) Short array syntax must be used to define arrays
(#1111) Short array syntax must be used to define arrays
(#1133) Short array syntax must be used to define arrays
(#1137) Short array syntax must be used to define arrays
grade/grading/form/rubric_ranges/preview.php
(#46) Short array syntax must be used to define arrays
grade/grading/form/rubric_ranges/print.php
(#39) Short array syntax must be used to define arrays
grade/grading/form/rubric_ranges/renderer.php
(#53) Short array syntax must be used to define arrays
(#58) There should be a comma after the last array item in a multi-line array.
(#61) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#93) There should be a comma after the last array item in a multi-line array.
(#97) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#149) There should be a comma after the last array item in a multi-line array.
(#163) Short array syntax must be used to define arrays
(#169) Short array syntax must be used to define arrays
(#171) There should be a comma after the last array item in a multi-line array.
(#179) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#215) There should be a comma after the last array item in a multi-line array.
(#218) Short array syntax must be used to define arrays
(#220) Short array syntax must be used to define arrays
(#224) Short array syntax must be used to define arrays
(#231) Short array syntax must be used to define arrays
(#240) Short array syntax must be used to define arrays
(#244) There should be a comma after the last array item in a multi-line array.
(#265) Short array syntax must be used to define arrays
(#274) Short array syntax must be used to define arrays
(#287) Short array syntax must be used to define arrays
(#289) Short array syntax must be used to define arrays
(#292) Short array syntax must be used to define arrays
(#296) Short array syntax must be used to define arrays
(#330) Short array syntax must be used to define arrays
(#336) Short array syntax must be used to define arrays
(#348) Short array syntax must be used to define arrays
(#350) There should be a comma after the last array item in a multi-line array.
(#356) Short array syntax must be used to define arrays
(#358) Short array syntax must be used to define arrays
(#362) There should be a comma after the last array item in a multi-line array.
(#366) Short array syntax must be used to define arrays
(#372) There should be a comma after the last array item in a multi-line array.
(#377) Short array syntax must be used to define arrays
(#381) Short array syntax must be used to define arrays
(#390) Short array syntax must be used to define arrays
(#394) There should be a comma after the last array item in a multi-line array.
(#404) Short array syntax must be used to define arrays
(#407) There should be a comma after the last array item in a multi-line array.
(#411) Short array syntax must be used to define arrays
(#440) Short array syntax must be used to define arrays
(#441) There should be a comma after the last array item in a multi-line array.
(#446) Short array syntax must be used to define arrays
(#454) Short array syntax must be used to define arrays
(#467) Short array syntax must be used to define arrays
(#471) Short array syntax must be used to define arrays
(#475) There should be a comma after the last array item in a multi-line array.
(#478) Short array syntax must be used to define arrays
(#537) Short array syntax must be used to define arrays
(#541) Short array syntax must be used to define arrays
(#550) Short array syntax must be used to define arrays
(#554) There should be a comma after the last array item in a multi-line array.
(#557) Short array syntax must be used to define arrays
(#582) Short array syntax must be used to define arrays
(#584) Short array syntax must be used to define arrays
(#585) Short array syntax must be used to define arrays
(#587) Short array syntax must be used to define arrays
(#588) Short array syntax must be used to define arrays
(#595) Short array syntax must be used to define arrays
(#597) Short array syntax must be used to define arrays
(#598) Short array syntax must be used to define arrays
(#601) Short array syntax must be used to define arrays
(#603) Short array syntax must be used to define arrays
(#611) Short array syntax must be used to define arrays
(#628) Short array syntax must be used to define arrays
(#652) Short array syntax must be used to define arrays
(#792) Short array syntax must be used to define arrays
(#838) Short array syntax must be used to define arrays
(#842) Short array syntax must be used to define arrays
(#844) There should be a comma after the last array item in a multi-line array.
(#849) Short array syntax must be used to define arrays
grade/grading/form/rubric_ranges/tests/coverage.php
(#37) You must use "/**" style comments for a member variable comment
grade/grading/form/rubric_ranges/tests/generator/criterion.php
(#39) Expected "int" but found "integer" for @var tag in member variable comment
(#42) Expected "int" but found "integer" for @var tag in member variable comment
(#73) There should be a comma after the last array item in a multi-line array.
grade/grading/form/rubric_ranges/tests/generator/lib.php
(#197) There should be a comma after the last array item in a multi-line array.
(#230) There should be a comma after the last array item in a multi-line array.
grade/grading/form/rubric_ranges/tests/generator/rubric_ranges.php
(#82) There should be a comma after the last array item in a multi-line array.
grade/grading/form/rubric_ranges/tests/generator_test.php
(#84) There should be a comma after the last array item in a multi-line array.
(#199) There should be a comma after the last array item in a multi-line array.
(#283) There should be a comma after the last array item in a multi-line array.
grade/grading/form/rubric_ranges/tests/grades/grader/gradingpanel/external/fetch_test.php
(#237) Expected 0 spaces after "execute_and_assert_fetch"; 1 found

Javascript coding style problems

(181 errors, 310 warnings)

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

grade/grading/form/rubric_ranges/js/rubric_ranges.js
(#1) Identifier 'gradingform_rubric_ranges' is not in camel case. (camelcase)
(#1) There should be no space after '{'. (object-curly-spacing)
(#1) Extra space after key 'name'. (key-spacing)
(#1) Extra space after key 'Y'. (key-spacing)
(#9) Missing semicolon. (semi)
(#10) Operator '+' must be spaced. (space-infix-ops)
(#10) Operator '+' must be spaced. (space-infix-ops)
(#15) Operator '+' must be spaced. (space-infix-ops)
(#15) Operator '+' must be spaced. (space-infix-ops)
(#15) Missing semicolon. (semi)
(#16) Operator '+' must be spaced. (space-infix-ops)
(#16) Operator '+' must be spaced. (space-infix-ops)
(#16) Unexpected space before function parentheses. (space-before-function-paren)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) There should be no space after this paren. (space-in-parens)
(#24) Unexpected space before function parentheses. (space-before-function-paren)
(#25) Missing semicolon. (semi)
(#39) Missing semicolon. (semi)
(#40) 'Y' is assigned a value but never used. (no-unused-vars)
(#40) Missing semicolon. (semi)
(#45) Unexpected space before function parentheses. (space-before-function-paren)
(#47) This line has a length of 138. Maximum allowed is 132. (max-len)
(#49) Missing semicolon. (semi)
(#52) Missing semicolon. (semi)
(#54) Unexpected space before function parentheses. (space-before-function-paren)
(#56) Missing semicolon. (semi)
(#58) Missing semicolon. (semi)
(#60) Missing semicolon. (semi)
(#62) Identifier 'bottom_range' is not in camel case. (camelcase)
(#68) Missing semicolon. (semi)
(#70) Missing semicolon. (semi)
(#72) Identifier 'top_range' is not in camel case. (camelcase)
(#78) Missing semicolon. (semi)
(#80) Missing semicolon. (semi)
(#86) Unexpected space before function parentheses. (space-before-function-paren)
(#86) 'index' is defined but never used. (no-unused-vars)
(#92) Missing semicolon. (semi)
(#95) Missing semicolon. (semi)
(#96) Expected { after 'while' condition. (curly)
(#96) Missing semicolon. (semi)
(#97) Expected { after 'if' condition. (curly)
(#97) Missing semicolon. (semi)
(#106) Missing semicolon. (semi)
(#114) 'chb' is not defined. (no-undef)
(#114) Missing semicolon. (semi)
(#115) 'chb' is not defined. (no-undef)
(#116) 'chb' is not defined. (no-undef)
(#116) Missing semicolon. (semi)
(#117) Missing semicolon. (semi)
(#120) Comments should not begin with a lowercase character. (capitalized-comments)
(#123) This line has a length of 134. Maximum allowed is 132. (max-len)
(#123) Missing semicolon. (semi)
(#130) Missing semicolon. (semi)
(#131) Comments should not begin with a lowercase character. (capitalized-comments)
(#134) A space is required after ','. (comma-spacing)
(#134) Missing semicolon. (semi)
(#138) Missing semicolon. (semi)
grade/grading/form/rubric_ranges/js/rubricrangeseditor.js
(#1) Identifier 'gradingform_rubric_rangeseditor' is not in camel case. (camelcase)
(#1) Extra space after key 'templates'. (key-spacing)
(#1) Extra space after key 'eventhandler'. (key-spacing)
(#1) Extra space after key 'name'. (key-spacing)
(#1) Extra space after key 'Y'. (key-spacing)
(#7) Missing semicolon. (semi)
(#8) Missing semicolon. (semi)
(#10) Extra space after key 'criterion'. (key-spacing)
(#11) Extra space after key 'level'. (key-spacing)
(#12) Missing semicolon. (semi)
(#13) Missing semicolon. (semi)
(#14) Missing semicolon. (semi)
(#15) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#15) 'YUI' is not defined. (no-undef)
(#15) Unexpected space before function parentheses. (space-before-function-paren)
(#18) Missing semicolon. (semi)
(#19) Missing semicolon. (semi)
(#24) Missing semicolon. (semi)
(#25) Missing semicolon. (semi)
(#26) Expected { after 'if' condition. (curly)
(#26) Missing semicolon. (semi)
(#27) This line has a length of 159. Maximum allowed is 132. (max-len)
(#27) Operator '+' must be spaced. (space-infix-ops)
(#27) Operator '+' must be spaced. (space-infix-ops)
(#28) Missing semicolon. (semi)
(#29) Comments should not begin with a lowercase character. (capitalized-comments)
(#31) Missing semicolon. (semi)
(#32) Missing semicolon. (semi)
(#34) Operator '+' must be spaced. (space-infix-ops)
(#34) Operator '+' must be spaced. (space-infix-ops)
(#34) There should be no space after this paren. (space-in-parens)
(#35) Missing semicolon. (semi)
(#36) Missing semicolon. (semi)
(#38) Operator '+' must be spaced. (space-infix-ops)
(#38) Operator '+' must be spaced. (space-infix-ops)
(#38) There should be no space after this paren. (space-in-parens)
(#38) Requires a space after '{'. (block-spacing)
(#38) Statement inside of curly braces should be on next line. (brace-style)
(#38) Requires a space before '}'. (block-spacing)
(#38) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#38) Missing semicolon. (semi)
(#39) Missing semicolon. (semi)
(#44) 'key' declared on line 47 column 13 is used outside of binding context. (block-scoped-var)
(#51) Expected space(s) after "if". (keyword-spacing)
(#51) There should be no space after this paren. (space-in-parens)
(#51) 'key' declared on line 47 column 13 is used outside of binding context. (block-scoped-var)
(#51) There should be no space before this paren. (space-in-parens)
(#53) Expected space(s) after "if". (keyword-spacing)
(#53) Expected { after 'if' condition. (curly)
(#55) Missing semicolon. (semi)
(#57) Comments should not begin with a lowercase character. (capitalized-comments)
(#61) Expected { after 'if' condition. (curly)
(#61) Missing semicolon. (semi)
(#62) Missing semicolon. (semi)
(#72) Comments should not begin with a lowercase character. (capitalized-comments)
(#74) Missing semicolon. (semi)
(#78) Missing semicolon. (semi)
(#79) Missing semicolon. (semi)
(#82) Comments should not begin with a lowercase character. (capitalized-comments)
(#84) Missing semicolon. (semi)
(#86) Expected { after 'if' condition. (curly)
(#86) Missing semicolon. (semi)
(#87) Missing semicolon. (semi)
(#91) Missing semicolon. (semi)
(#92) Missing semicolon. (semi)
(#94) Missing semicolon. (semi)
(#96) Comments should not begin with a lowercase character. (capitalized-comments)
(#97) Missing semicolon. (semi)
(#98) Missing semicolon. (semi)
(#100) Comments should not begin with a lowercase character. (capitalized-comments)
(#102) Missing semicolon. (semi)
(#103) Expected { after 'if' condition. (curly)
(#104) Expected { after 'if' condition. (curly)
(#108) Missing semicolon. (semi)
(#109) Comments should not begin with a lowercase character. (capitalized-comments)
(#111) Operator '+' must be spaced. (space-infix-ops)
(#111) Operator '+' must be spaced. (space-infix-ops)
(#111) Missing semicolon. (semi)
(#112) Missing semicolon. (semi)
(#113) Missing semicolon. (semi)
(#115) Operator '+' must be spaced. (space-infix-ops)
(#115) Operator '+' must be spaced. (space-infix-ops)
(#115) Missing semicolon. (semi)
(#116) Missing semicolon. (semi)
(#117) Missing semicolon. (semi)
(#120) Expected { after 'if' condition. (curly)
(#120) Missing semicolon. (semi)
(#122) Comments should not begin with a lowercase character. (capitalized-comments)
(#124) Missing semicolon. (semi)
(#125) Expected { after 'if' condition. (curly)
(#125) Missing semicolon. (semi)
(#127) This line has a length of 172. Maximum allowed is 132. (max-len)
(#127) Missing semicolon. (semi)
(#128) Missing semicolon. (semi)
(#131) Expected { after 'if' condition. (curly)
(#132) Comments should not begin with a lowercase character. (capitalized-comments)
(#133) Missing semicolon. (semi)
(#134) Missing semicolon. (semi)
(#136) Missing semicolon. (semi)
(#137) Missing semicolon. (semi)
(#140) Comments should not begin with a lowercase character. (capitalized-comments)
(#143) Missing semicolon. (semi)
(#144) This line has a length of 146. Maximum allowed is 132. (max-len)
(#144) Expected { after 'if' condition. (curly)
(#144) Missing semicolon. (semi)
(#145) Expected { after 'else'. (curly)
(#145) Missing semicolon. (semi)
(#146) Operator '-' must be spaced. (space-infix-ops)
(#146) A space is required after ','. (comma-spacing)
(#146) Operator '+' must be spaced. (space-infix-ops)
(#146) Missing semicolon. (semi)
(#147) A space is required after ','. (comma-spacing)
(#147) Operator '+' must be spaced. (space-infix-ops)
(#147) Missing semicolon. (semi)
(#148) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#150) Comments should not begin with a lowercase character. (capitalized-comments)
(#152) Comments should not begin with a lowercase character. (capitalized-comments)
(#153) Missing semicolon. (semi)
(#154) Missing semicolon. (semi)
(#156) Missing semicolon. (semi)
(#157) Missing semicolon. (semi)
(#160) Comments should not begin with a lowercase character. (capitalized-comments)
(#161) Statement inside of curly braces should be on next line. (brace-style)
(#161) Expected { after 'if' condition. (curly)
(#161) Expected { after 'else'. (curly)
(#161) This line has 3 statements. Maximum allowed is 2. (max-statements-per-line)
(#161) Missing semicolon. (semi)
(#161) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#162) Missing semicolon. (semi)
(#164) Comments should not begin with a lowercase character. (capitalized-comments)
(#165) Function has a complexity of 39. Maximum allowed is 20. (complexity)
(#166) Missing semicolon. (semi)
(#167) Missing semicolon. (semi)
(#168) Expected { after 'if' condition. (curly)
(#169) Missing semicolon. (semi)
(#171) Operator '-' must be spaced. (space-infix-ops)
(#171) Missing semicolon. (semi)
(#172) Expected { after 'if' condition. (curly)
(#173) Identifier 'elements_str' is not in camel case. (camelcase)
(#173) Missing semicolon. (semi)
(#174) Operator '>' must be spaced. (space-infix-ops)
(#175) Identifier 'elements_str' is not in camel case. (camelcase)
(#175) Operator '+' must be spaced. (space-infix-ops)
(#175) Operator '+' must be spaced. (space-infix-ops)
(#175) Operator '+' must be spaced. (space-infix-ops)
(#175) Operator '+' must be spaced. (space-infix-ops)
(#175) Operator '+' must be spaced. (space-infix-ops)
(#175) Operator '+' must be spaced. (space-infix-ops)
(#175) Missing semicolon. (semi)
(#177) Identifier 'elements_str' is not in camel case. (camelcase)
(#177) Operator '+' must be spaced. (space-infix-ops)
(#177) Operator '+' must be spaced. (space-infix-ops)
(#177) Missing semicolon. (semi)
(#179) Comments should not begin with a lowercase character. (capitalized-comments)
(#182) There should be no space before this paren. (space-in-parens)
(#183) Operator '+' must be spaced. (space-infix-ops)
(#183) Operator '+' must be spaced. (space-infix-ops)
(#184) Operator '+' must be spaced. (space-infix-ops)
(#184) Operator '+' must be spaced. (space-infix-ops)
(#186) Identifier 'dialog_options' is not in camel case. (camelcase)
(#187) Extra space after key 'scope'. (key-spacing)
(#188) Extra space after key 'callbackargs'. (key-spacing)
(#189) Extra space after key 'callback'. (key-spacing)
(#193) 'levelsscores' declared on line 262 column 29 is used outside of binding context. (block-scoped-var)
(#193) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#193) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#193) Missing semicolon. (semi)
(#194) 'parentel' declared on line 263 column 13 is used outside of binding context. (block-scoped-var)
(#194) Operator '+' must be spaced. (space-infix-ops)
(#194) Operator '+' must be spaced. (space-infix-ops)
(#194) Missing semicolon. (semi)
(#195) 'parentel' declared on line 263 column 13 is used outside of binding context. (block-scoped-var)
(#195) Expected { after 'if' condition. (curly)
(#195) 'parentel' declared on line 263 column 13 is used outside of binding context. (block-scoped-var)
(#195) 'parentel' declared on line 263 column 13 is used outside of binding context. (block-scoped-var)
(#195) Missing semicolon. (semi)
(#196) 'parentel' declared on line 263 column 13 is used outside of binding context. (block-scoped-var)
(#197) 'lastcriterion' declared on line 268 column 17 is used outside of binding context. (block-scoped-var)
(#197) 'parentel' declared on line 263 column 13 is used outside of binding context. (block-scoped-var)
(#197) 'parentel' declared on line 263 column 13 is used outside of binding context. (block-scoped-var)
(#197) Operator '-' must be spaced. (space-infix-ops)
(#197) Missing semicolon. (semi)
(#198) This line has a length of 138. Maximum allowed is 132. (max-len)
(#198) Multiple spaces found before 'parentel'. (no-multi-spaces)
(#198) 'parentel' declared on line 263 column 13 is used outside of binding context. (block-scoped-var)
(#198) 'parentel' declared on line 263 column 13 is used outside of binding context. (block-scoped-var)
(#198) Operator '-' must be spaced. (space-infix-ops)
(#198) Missing semicolon. (semi)
(#199) This line has a length of 157. Maximum allowed is 132. (max-len)
(#199) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#199) Operator '=' must be spaced. (space-infix-ops)
(#199) Missing whitespace after semicolon. (semi-spacing)
(#199) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#199) Operator '<' must be spaced. (space-infix-ops)
(#199) 'lastcriterion' declared on line 268 column 17 is used outside of binding context. (block-scoped-var)
(#199) Missing whitespace after semicolon. (semi-spacing)
(#199) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#199) Expected { after 'for' condition. (curly)
(#199) 'levelsscores' declared on line 262 column 29 is used outside of binding context. (block-scoped-var)
(#199) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#199) 'lastcriterion' declared on line 268 column 17 is used outside of binding context. (block-scoped-var)
(#199) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#199) Missing semicolon. (semi)
(#201) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#201) Missing whitespace after semicolon. (semi-spacing)
(#201) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#201) Operator '<' must be spaced. (space-infix-ops)
(#201) Missing whitespace after semicolon. (semi-spacing)
(#201) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#201) Expected { after 'for' condition. (curly)
(#201) 'levelsscores' declared on line 262 column 29 is used outside of binding context. (block-scoped-var)
(#201) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#201) 'levelsscores' declared on line 262 column 29 is used outside of binding context. (block-scoped-var)
(#201) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#201) Operator '-' must be spaced. (space-infix-ops)
(#201) Operator '+' must be spaced. (space-infix-ops)
(#201) Missing semicolon. (semi)
(#202) 'levelsstr' declared on line 278 column 13 is used outside of binding context. (block-scoped-var)
(#203) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#203) Operator '=' must be spaced. (space-infix-ops)
(#203) Missing whitespace after semicolon. (semi-spacing)
(#203) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#203) Operator '<' must be spaced. (space-infix-ops)
(#203) 'levelsscores' declared on line 262 column 29 is used outside of binding context. (block-scoped-var)
(#203) Missing whitespace after semicolon. (semi-spacing)
(#203) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#204) 'levelsstr' declared on line 278 column 13 is used outside of binding context. (block-scoped-var)
(#205) Operator '+' must be spaced. (space-infix-ops)
(#205) Operator '+' must be spaced. (space-infix-ops)
(#205) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#206) 'levelsscores' declared on line 262 column 29 is used outside of binding context. (block-scoped-var)
(#206) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#207) 'levidx' declared on line 262 column 49 is used outside of binding context. (block-scoped-var)
(#209) 'newcriterion' declared on line 286 column 13 is used outside of binding context. (block-scoped-var)
(#209) ["criterion"] is better written in dot notation. (dot-notation)
(#209) 'levelsstr' declared on line 278 column 13 is used outside of binding context. (block-scoped-var)
(#209) Missing semicolon. (semi)
(#210) 'parentel' declared on line 263 column 13 is used outside of binding context. (block-scoped-var)
(#210) 'newcriterion' declared on line 286 column 13 is used outside of binding context. (block-scoped-var)
(#210) Operator '+' must be spaced. (space-infix-ops)
(#210) Missing semicolon. (semi)
(#211) Operator '+' must be spaced. (space-infix-ops)
(#211) Operator '+' must be spaced. (space-infix-ops)
(#211) Operator '+' must be spaced. (space-infix-ops)
(#211) Operator '+' must be spaced. (space-infix-ops)
(#211) Operator '+' must be spaced. (space-infix-ops)
(#211) Operator '+' must be spaced. (space-infix-ops)
(#211) Missing semicolon. (semi)
(#213) Missing semicolon. (semi)
(#214) Missing semicolon. (semi)
(#218) Comments should not begin with a lowercase character. (capitalized-comments)
(#219) 'lastisranged' declared on line 198 column 17 is used outside of binding context. (block-scoped-var)
(#220) Missing semicolon. (semi)
(#225) Read-only global 'parent' should not be modified. (no-global-assign)
(#225) Operator '+' must be spaced. (space-infix-ops)
(#225) Operator '+' must be spaced. (space-infix-ops)
(#225) Operator '+' must be spaced. (space-infix-ops)
(#225) Operator '+' must be spaced. (space-infix-ops)
(#225) Missing semicolon. (semi)
(#227) Unexpected space before function parentheses. (space-before-function-paren)
(#231) ["level"] is better written in dot notation. (dot-notation)
(#232) Operator '+' must be spaced. (space-infix-ops)
(#236) Missing semicolon. (semi)
(#238) Missing semicolon. (semi)
(#239) Missing semicolon. (semi)
(#240) Operator '-' must be spaced. (space-infix-ops)
(#240) Missing semicolon. (semi)
(#243) 'el' is not defined. (no-undef)
(#243) Operator '+' must be spaced. (space-infix-ops)
(#243) Operator '+' must be spaced. (space-infix-ops)
(#243) Operator '+' must be spaced. (space-infix-ops)
(#243) Missing semicolon. (semi)
(#244) 'el' is not defined. (no-undef)
(#244) Expected { after 'if' condition. (curly)
(#244) 'el' is not defined. (no-undef)
(#244) 'el' is not defined. (no-undef)
(#244) 'el' is not defined. (no-undef)
(#244) Missing semicolon. (semi)
(#245) Missing semicolon. (semi)
(#248) 'el' is not defined. (no-undef)
(#248) Operator '+' must be spaced. (space-infix-ops)
(#248) Operator '+' must be spaced. (space-infix-ops)
(#248) Operator '+' must be spaced. (space-infix-ops)
(#248) Missing semicolon. (semi)
(#249) 'el' is not defined. (no-undef)
(#249) Expected { after 'if' condition. (curly)
(#249) 'el' is not defined. (no-undef)
(#249) 'el' is not defined. (no-undef)
(#249) 'el' is not defined. (no-undef)
(#249) Missing semicolon. (semi)
(#250) Missing semicolon. (semi)
(#254) Operator '+' must be spaced. (space-infix-ops)
(#254) Operator '+' must be spaced. (space-infix-ops)
(#254) Operator '+' must be spaced. (space-infix-ops)
(#254) Missing semicolon. (semi)
(#255) Missing semicolon. (semi)
(#257) Identifier 'dialog_options' is not in camel case. (camelcase)
(#257) ["message"] is better written in dot notation. (dot-notation)
(#257) Missing semicolon. (semi)
(#262) 'levelsscores' is already defined. (no-redeclare)
(#262) 'levelsscores' declared on line 193 column 13 is used outside of binding context. (block-scoped-var)
(#262) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#262) 'levidx' is already defined. (no-redeclare)
(#262) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#262) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#263) 'parentel' is already defined. (no-redeclare)
(#263) 'parentel' declared on line 194 column 13 is used outside of binding context. (block-scoped-var)
(#263) Operator '+' must be spaced. (space-infix-ops)
(#263) Operator '+' must be spaced. (space-infix-ops)
(#264) 'parentel' declared on line 194 column 13 is used outside of binding context. (block-scoped-var)
(#264) Statement inside of curly braces should be on next line. (brace-style)
(#264) 'parentel' declared on line 194 column 13 is used outside of binding context. (block-scoped-var)
(#264) 'parentel' declared on line 194 column 13 is used outside of binding context. (block-scoped-var)
(#264) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#266) Operator '+' must be spaced. (space-infix-ops)
(#266) Operator '+' must be spaced. (space-infix-ops)
(#266) Operator '+' must be spaced. (space-infix-ops)
(#268) 'lastcriterion' is already defined. (no-redeclare)
(#268) 'lastcriterion' declared on line 197 column 17 is used outside of binding context. (block-scoped-var)
(#269) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#269) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#269) 'lastcriterion' declared on line 197 column 17 is used outside of binding context. (block-scoped-var)
(#269) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#270) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#270) 'lastcriterion' declared on line 197 column 17 is used outside of binding context. (block-scoped-var)
(#270) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#272) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#272) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#272) 'lastcriterion' declared on line 197 column 17 is used outside of binding context. (block-scoped-var)
(#272) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#273) 'levelsscores' declared on line 193 column 13 is used outside of binding context. (block-scoped-var)
(#273) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#273) 'lastcriterion' declared on line 197 column 17 is used outside of binding context. (block-scoped-var)
(#273) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#277) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#277) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#277) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#277) Statement inside of curly braces should be on next line. (brace-style)
(#277) 'levelsscores' declared on line 193 column 13 is used outside of binding context. (block-scoped-var)
(#277) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#277) 'levelsscores' declared on line 193 column 13 is used outside of binding context. (block-scoped-var)
(#277) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#277) Operator '-' must be spaced. (space-infix-ops)
(#277) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#278) 'levelsstr' is already defined. (no-redeclare)
(#278) 'levelsstr' declared on line 202 column 13 is used outside of binding context. (block-scoped-var)
(#279) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#279) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#279) 'levelsscores' declared on line 193 column 13 is used outside of binding context. (block-scoped-var)
(#279) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#280) 'levelsstr' declared on line 202 column 13 is used outside of binding context. (block-scoped-var)
(#281) Operator '+' must be spaced. (space-infix-ops)
(#281) Operator '+' must be spaced. (space-infix-ops)
(#281) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#282) 'levelsscores' declared on line 193 column 13 is used outside of binding context. (block-scoped-var)
(#282) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#283) 'levidx' declared on line 193 column 33 is used outside of binding context. (block-scoped-var)
(#286) 'newcriterion' is already defined. (no-redeclare)
(#286) 'newcriterion' declared on line 209 column 13 is used outside of binding context. (block-scoped-var)
(#287) 'levelsstr' declared on line 202 column 13 is used outside of binding context. (block-scoped-var)
(#289) 'parentel' declared on line 194 column 13 is used outside of binding context. (block-scoped-var)
(#289) 'newcriterion' declared on line 209 column 13 is used outside of binding context. (block-scoped-var)
(#289) Operator '+' must be spaced. (space-infix-ops)
(#290) Operator '+' must be spaced. (space-infix-ops)
(#290) Operator '+' must be spaced. (space-infix-ops)
(#290) Operator '+' must be spaced. (space-infix-ops)
(#290) Operator '+' must be spaced. (space-infix-ops)
(#290) Operator '+' must be spaced. (space-infix-ops)
(#290) Operator '+' must be spaced. (space-infix-ops)
(#294) This line has a length of 134. Maximum allowed is 132. (max-len)
(#294) Operator '+' must be spaced. (space-infix-ops)
(#294) Operator '+' must be spaced. (space-infix-ops)
(#294) Operator '+' must be spaced. (space-infix-ops)
(#294) Operator '+' must be spaced. (space-infix-ops)
(#294) Operator '+' must be spaced. (space-infix-ops)
(#294) Operator '+' must be spaced. (space-infix-ops)
(#294) A space is required after ','. (comma-spacing)
(#298) Operator '+' must be spaced. (space-infix-ops)
(#298) Operator '+' must be spaced. (space-infix-ops)
(#298) Operator '+' must be spaced. (space-infix-ops)
(#298) Operator '+' must be spaced. (space-infix-ops)
(#298) Operator '+' must be spaced. (space-infix-ops)
(#298) Operator '+' must be spaced. (space-infix-ops)
(#298) Operator '+' must be spaced. (space-infix-ops)
(#298) Missing semicolon. (semi)
(#299) Missing semicolon. (semi)
(#301) Identifier 'dialog_options' is not in camel case. (camelcase)
(#301) ["message"] is better written in dot notation. (dot-notation)
(#301) Missing semicolon. (semi)
(#305) Comments should not begin with a lowercase character. (capitalized-comments)
(#309) Missing semicolon. (semi)
(#311) Comments should not begin with a lowercase character. (capitalized-comments)
(#312) Unexpected space before function parentheses. (space-before-function-paren)
(#312) Identifier 'elements_str' is not in camel case. (camelcase)
(#313) Missing semicolon. (semi)
(#314) Operator '=' must be spaced. (space-infix-ops)
(#314) Missing whitespace after semicolon. (semi-spacing)
(#314) Operator '<' must be spaced. (space-infix-ops)
(#314) Missing whitespace after semicolon. (semi-spacing)
(#316) Operator '%' must be spaced. (space-infix-ops)
(#316) Operator '?' must be spaced. (space-infix-ops)
(#316) Operator ':' must be spaced. (space-infix-ops)
(#316) Operator '==' must be spaced. (space-infix-ops)
(#316) Operator '?' must be spaced. (space-infix-ops)
(#316) Operator ':' must be spaced. (space-infix-ops)
(#316) Operator '==' must be spaced. (space-infix-ops)
(#316) Operator '-' must be spaced. (space-infix-ops)
(#316) Operator '?' must be spaced. (space-infix-ops)
(#316) Operator ':' must be spaced. (space-infix-ops)
(#316) Missing semicolon. (semi)
(#318) Function declared in a loop contains unsafe references to variable(s) 'i'. (no-loop-func)
(#318) Requires a space after '{'. (block-spacing)
(#318) Statement inside of curly braces should be on next line. (brace-style)
(#318) Expected { after 'if' condition. (curly)
(#318) Requires a space before '}'. (block-spacing)
(#318) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#318) Missing semicolon. (semi)
(#320) Expected { after 'if' condition. (curly)
(#320) Operator '/' must be spaced. (space-infix-ops)
(#320) Operator '+' must be spaced. (space-infix-ops)
(#320) Missing semicolon. (semi)
(#322) Missing semicolon. (semi)
(#324) Comments should not begin with a lowercase character. (capitalized-comments)
(#325) Unexpected space before function parentheses. (space-before-function-paren)
(#325) Identifier 'elements_str' is not in camel case. (camelcase)
(#326) Missing semicolon. (semi)
(#327) There should be no space after this paren. (space-in-parens)
(#328) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#329) Expected { after 'if' condition. (curly)
(#329) Operator '+' must be spaced. (space-infix-ops)
(#330) There should be no space before this paren. (space-in-parens)
(#331) Missing semicolon. (semi)
(#332) Missing semicolon. (semi)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 0 warnings)

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


Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

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