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

(15 errors, 52 warnings)

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

course/format/grid/format.php
(#103) Inline comments must start with a capital letter, digit or 3-dots sequence
course/format/grid/js/gf_colourpopup.php
(#49) Member variable "_hiddenLabel" must be all lower-case
(#59) Public method name "MoodleQuickForm_gfcolourpopup::setHiddenLabel" must be in lower-case letters only
(#59) Variable "hiddenLabel" must be all lower-case
(#60) Variable "hiddenLabel" must be all lower-case
(#63) Public method name "MoodleQuickForm_gfcolourpopup::toHtml" must be in lower-case letters only
(#81) Line exceeds 132 characters; contains 141 characters
(#107) Method name "_generateId" should not be prefixed with an underscore to indicate visibility
(#107) Public method name "MoodleQuickForm_gfcolourpopup::_generateId" must be in lower-case letters only
(#121) Public method name "MoodleQuickForm_gfcolourpopup::setHelpButton" must be in lower-case letters only
(#130) Public method name "MoodleQuickForm_gfcolourpopup::getHelpButton" must be in lower-case letters only
(#141) Public method name "MoodleQuickForm_gfcolourpopup::getElementTemplateType" must be in lower-case letters only
course/format/grid/lib.php
(#35) This comment is 41% valid code; is this commented out code?
(#59) Line exceeds 132 characters; contains 143 characters
(#394) Line exceeds 132 characters; contains 136 characters
(#1013) Line exceeds 132 characters; contains 140 characters
(#1144) Line exceeds 132 characters; contains 154 characters
(#1276) Line exceeds 132 characters; contains 146 characters
(#1278) Line exceeds 132 characters; contains 145 characters
(#1280) Line exceeds 132 characters; contains 138 characters
(#1282) Line exceeds 132 characters; contains 137 characters
(#1284) Line exceeds 132 characters; contains 134 characters
(#1286) Line exceeds 132 characters; contains 133 characters
(#1288) Line exceeds 132 characters; contains 146 characters
(#1290) Line exceeds 132 characters; contains 145 characters
(#1296) Line exceeds 132 characters; contains 138 characters
(#1298) Line exceeds 132 characters; contains 137 characters
(#1387) Line exceeds 132 characters; contains 138 characters
(#1399) Line exceeds 132 characters; contains 139 characters
(#1411) Line exceeds 132 characters; contains 133 characters
(#1435) Line exceeds 132 characters; contains 134 characters
(#1447) Line exceeds 132 characters; contains 134 characters
(#1489) Line exceeds 132 characters; contains 140 characters
(#1493) Line exceeds 132 characters; contains 141 characters
(#1497) Line exceeds 132 characters; contains 135 characters
(#1501) Line exceeds 132 characters; contains 134 characters
(#1505) Line exceeds 132 characters; contains 136 characters
(#1509) Line exceeds 132 characters; contains 136 characters
(#1860) Line exceeds 132 characters; contains 134 characters
(#1994) Line exceeds 132 characters; contains 135 characters
(#1998) Line exceeds 132 characters; contains 137 characters
(#2163) Line exceeds 132 characters; contains 139 characters
(#2199) Line exceeds 132 characters; contains 145 characters
(#2213) Line exceeds 132 characters; contains 133 characters
(#2279) This comment is 56% valid code; is this commented out code?
(#2299) This comment is 56% valid code; is this commented out code?
(#2329) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2445) Line exceeds 132 characters; contains 152 characters
(#2465) Line exceeds 132 characters; contains 135 characters
(#2533) Line exceeds 132 characters; contains 141 characters
(#2733) Line exceeds 132 characters; contains 135 characters
(#2743) Line exceeds 132 characters; contains 135 characters
(#2755) Line exceeds 132 characters; contains 136 characters
(#2765) Line exceeds 132 characters; contains 135 characters
(#2770) Line exceeds 132 characters; contains 136 characters
course/format/grid/renderer.php
(#243) Line exceeds 132 characters; contains 158 characters
(#366) global $PAGE cannot be used in renderers. Use $this->page.
(#368) global $PAGE cannot be used in renderers. Use $this->page.
(#406) Line exceeds 132 characters; contains 137 characters
(#531) global $PAGE cannot be used in renderers. Use $this->page.
(#532) global $PAGE cannot be used in renderers. Use $this->page.
(#537) global $PAGE cannot be used in renderers. Use $this->page.
(#539) global $PAGE cannot be used in renderers. Use $this->page.
(#697) Line exceeds 132 characters; contains 134 characters
(#738) This comment is 50% valid code; is this commented out code?
(#789) Line exceeds 132 characters; contains 150 characters
(#838) Line exceeds 132 characters; contains 134 characters

Javascript coding style problems

(334 errors, 624 warnings)

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

course/format/grid/amd/src/tooltip.js
(#30) Missing JSDoc comment. (require-jsdoc)
(#31) Missing semicolon. (babel/semi)
(#34) Extra space after key 'WebkitTransition'. (key-spacing)
(#35) Extra space after key 'MozTransition'. (key-spacing)
(#36) Extra space after key 'OTransition'. (key-spacing)
(#37) Extra space after key 'transition'. (key-spacing)
(#38) Missing semicolon. (babel/semi)
(#42) There should be no space after '{'. (babel/object-curly-spacing)
(#42) There should be no space before '}'. (babel/object-curly-spacing)
(#42) Missing semicolon. (babel/semi)
(#46) Missing semicolon. (babel/semi)
(#46) Comments should not begin with a lowercase character (capitalized-comments)
(#50) Unexpected space before function parentheses. (space-before-function-paren)
(#51) Missing semicolon. (babel/semi)
(#52) Missing semicolon. (babel/semi)
(#53) Unexpected space before function parentheses. (space-before-function-paren)
(#53) Statement inside of curly braces should be on next line. (brace-style)
(#53) Missing semicolon. (babel/semi)
(#53) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#53) Missing semicolon. (babel/semi)
(#54) Unexpected space before function parentheses. (space-before-function-paren)
(#54) Statement inside of curly braces should be on next line. (brace-style)
(#54) Expected { after 'if' condition. (curly)
(#54) Missing semicolon. (babel/semi)
(#54) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#54) Missing semicolon. (babel/semi)
(#55) Missing semicolon. (babel/semi)
(#56) Missing semicolon. (babel/semi)
(#57) Missing semicolon. (babel/semi)
(#59) Unexpected space before function parentheses. (space-before-function-paren)
(#60) Missing semicolon. (babel/semi)
(#62) Expected { after 'if' condition. (curly)
(#62) Missing semicolon. (babel/semi)
(#67) Expected to return a value at the end of method 'handle'. (consistent-return)
(#67) Unexpected space before function parentheses. (space-before-function-paren)
(#68) Expected { after 'if' condition. (curly)
(#68) Missing semicolon. (babel/semi)
(#70) Missing semicolon. (babel/semi)
(#71) Missing semicolon. (babel/semi)
(#85) Unexpected space before function parentheses. (space-before-function-paren)
(#86) Multiple spaces found before '='. (no-multi-spaces)
(#86) Missing semicolon. (babel/semi)
(#87) Multiple spaces found before '='. (no-multi-spaces)
(#87) Missing semicolon. (babel/semi)
(#88) Multiple spaces found before '='. (no-multi-spaces)
(#88) Missing semicolon. (babel/semi)
(#89) Multiple spaces found before '='. (no-multi-spaces)
(#89) Missing semicolon. (babel/semi)
(#90) Missing semicolon. (babel/semi)
(#91) Multiple spaces found before '='. (no-multi-spaces)
(#91) Missing semicolon. (babel/semi)
(#92) Multiple spaces found before '='. (no-multi-spaces)
(#92) Missing semicolon. (babel/semi)
(#94) Missing semicolon. (babel/semi)
(#95) Missing semicolon. (babel/semi)
(#97) Multiple spaces found before '='. (no-multi-spaces)
(#97) Missing semicolon. (babel/semi)
(#99) Missing semicolon. (babel/semi)
(#115) Missing semicolon. (babel/semi)
(#117) Unexpected space before function parentheses. (space-before-function-paren)
(#118) Multiple spaces found before '='. (no-multi-spaces)
(#118) Missing semicolon. (babel/semi)
(#119) Multiple spaces found before '='. (no-multi-spaces)
(#119) Missing semicolon. (babel/semi)
(#120) Multiple spaces found before '='. (no-multi-spaces)
(#120) Missing semicolon. (babel/semi)
(#121) Multiple spaces found before '='. (no-multi-spaces)
(#121) Missing semicolon. (babel/semi)
(#122) Line 122 exceeds the maximum line length of 132. (max-len)
(#122) Missing semicolon. (babel/semi)
(#123) Multiple spaces found before '='. (no-multi-spaces)
(#123) There should be no space after '{'. (babel/object-curly-spacing)
(#123) There should be no space before '}'. (babel/object-curly-spacing)
(#123) Missing semicolon. (babel/semi)
(#126) Line 126 exceeds the maximum line length of 132. (max-len)
(#126) Missing semicolon. (babel/semi)
(#129) Missing semicolon. (babel/semi)
(#132) Missing semicolon. (babel/semi)
(#135) Missing semicolon. (babel/semi)
(#137) Multiple spaces found before '='. (no-multi-spaces)
(#137) Missing semicolon. (babel/semi)
(#138) Missing semicolon. (babel/semi)
(#140) Multiple spaces found before '+'. (no-multi-spaces)
(#140) Missing semicolon. (babel/semi)
(#141) Missing semicolon. (babel/semi)
(#145) Expected an assignment or function call and instead saw an expression. (babel/no-unused-expressions)
(#146) There should be no space after '{'. (babel/object-curly-spacing)
(#146) There should be no space before '}'. (babel/object-curly-spacing)
(#147) Missing semicolon. (babel/semi)
(#148) Missing semicolon. (babel/semi)
(#150) Unexpected space before function parentheses. (space-before-function-paren)
(#151) Missing semicolon. (babel/semi)
(#152) Missing semicolon. (babel/semi)
(#154) Unexpected space before function parentheses. (space-before-function-paren)
(#155) Missing semicolon. (babel/semi)
(#161) Missing semicolon. (babel/semi)
(#164) Missing semicolon. (babel/semi)
(#165) Missing semicolon. (babel/semi)
(#167) Unexpected space before function parentheses. (space-before-function-paren)
(#168) Multiple spaces found before '='. (no-multi-spaces)
(#168) Missing semicolon. (babel/semi)
(#169) Missing semicolon. (babel/semi)
(#171) Expected an assignment or function call and instead saw an expression. (babel/no-unused-expressions)
(#171) Unexpected space before function parentheses. (space-before-function-paren)
(#172) Expected { after 'if' condition. (curly)
(#172) Missing semicolon. (babel/semi)
(#173) Missing semicolon. (babel/semi)
(#175) Missing semicolon. (babel/semi)
(#176) Missing semicolon. (babel/semi)
(#178) Unexpected space before function parentheses. (space-before-function-paren)
(#180) Missing semicolon. (babel/semi)
(#183) Missing semicolon. (babel/semi)
(#184) Missing semicolon. (babel/semi)
(#188) Missing semicolon. (babel/semi)
(#192) Missing semicolon. (babel/semi)
(#193) Missing semicolon. (babel/semi)
(#196) Missing semicolon. (babel/semi)
(#198) Missing semicolon. (babel/semi)
(#200) Expected { after 'if' condition. (curly)
(#200) Function expected no return value. (consistent-return)
(#200) Missing semicolon. (babel/semi)
(#202) Unexpected space before function parentheses. (space-before-function-paren)
(#203) Expected { after 'if' condition. (curly)
(#203) Missing semicolon. (babel/semi)
(#204) Missing semicolon. (babel/semi)
(#205) Missing semicolon. (babel/semi)
(#207) Unexpected space before function parentheses. (space-before-function-paren)
(#209) Expected { after 'if' condition. (curly)
(#209) Missing semicolon. (babel/semi)
(#212) Missing semicolon. (babel/semi)
(#213) Missing semicolon. (babel/semi)
(#215) Unexpected space before function parentheses. (space-before-function-paren)
(#217) Missing semicolon. (babel/semi)
(#220) Missing semicolon. (babel/semi)
(#221) Missing semicolon. (babel/semi)
(#225) Missing semicolon. (babel/semi)
(#228) Expected { after 'if' condition. (curly)
(#228) Missing semicolon. (babel/semi)
(#230) Missing semicolon. (babel/semi)
(#232) Missing semicolon. (babel/semi)
(#234) Expected { after 'if' condition. (curly)
(#234) Function expected no return value. (consistent-return)
(#234) Missing semicolon. (babel/semi)
(#236) Unexpected space before function parentheses. (space-before-function-paren)
(#237) Expected { after 'if' condition. (curly)
(#237) Missing semicolon. (babel/semi)
(#238) Missing semicolon. (babel/semi)
(#239) Missing semicolon. (babel/semi)
(#241) Unexpected space before function parentheses. (space-before-function-paren)
(#242) Missing semicolon. (babel/semi)
(#245) Missing semicolon. (babel/semi)
(#247) Missing semicolon. (babel/semi)
(#248) Expected { after 'if' condition. (curly)
(#248) Missing semicolon. (babel/semi)
(#249) Missing semicolon. (babel/semi)
(#251) Missing semicolon. (babel/semi)
(#253) Missing semicolon. (babel/semi)
(#255) Missing semicolon. (babel/semi)
(#256) Missing semicolon. (babel/semi)
(#257) Missing semicolon. (babel/semi)
(#259) Expected { after 'if' condition. (curly)
(#259) Missing semicolon. (babel/semi)
(#263) Missing semicolon. (babel/semi)
(#265) Missing semicolon. (babel/semi)
(#266) Missing semicolon. (babel/semi)
(#267) Expected { after 'if' condition. (curly)
(#267) Missing semicolon. (babel/semi)
(#269) There should be no space after '{'. (babel/object-curly-spacing)
(#269) There should be no space before '}'. (babel/object-curly-spacing)
(#275) Missing semicolon. (babel/semi)
(#277) Expected an assignment or function call and instead saw an expression. (babel/no-unused-expressions)
(#277) Missing semicolon. (babel/semi)
(#278) Missing semicolon. (babel/semi)
(#280) Multiple spaces found before '='. (no-multi-spaces)
(#280) Missing semicolon. (babel/semi)
(#281) Multiple spaces found before '='. (no-multi-spaces)
(#281) Missing semicolon. (babel/semi)
(#282) Missing semicolon. (babel/semi)
(#285) Missing semicolon. (babel/semi)
(#286) Missing semicolon. (babel/semi)
(#288) Do not nest ternary expressions. (no-nested-ternary)
(#288) Multiple spaces found before ':'. (no-multi-spaces)
(#289) Do not nest ternary expressions. (no-nested-ternary)
(#289) Multiple spaces found before '&&'. (no-multi-spaces)
(#289) Multiple spaces found before '-'. (no-multi-spaces)
(#289) Multiple spaces found before '?'. (no-multi-spaces)
(#290) Do not nest ternary expressions. (no-nested-ternary)
(#290) Multiple spaces found before '&&'. (no-multi-spaces)
(#290) Multiple spaces found before '+'. (no-multi-spaces)
(#290) Multiple spaces found before '>'. (no-multi-spaces)
(#290) Multiple spaces found before '?'. (no-multi-spaces)
(#290) Multiple spaces found before ':'. (no-multi-spaces)
(#291) Multiple spaces found before '&&'. (no-multi-spaces)
(#291) Multiple spaces found before '-'. (no-multi-spaces)
(#291) Multiple spaces found before '<'. (no-multi-spaces)
(#291) Multiple spaces found before '?'. (no-multi-spaces)
(#291) Multiple spaces found before ':'. (no-multi-spaces)
(#292) Missing semicolon. (babel/semi)
(#296) Missing semicolon. (babel/semi)
(#299) Missing semicolon. (babel/semi)
(#301) Missing semicolon. (babel/semi)
(#303) Unexpected space before function parentheses. (space-before-function-paren)
(#304) Missing semicolon. (babel/semi)
(#305) Missing semicolon. (babel/semi)
(#306) Missing semicolon. (babel/semi)
(#308) Expected { after 'if' condition. (curly)
(#308) Missing semicolon. (babel/semi)
(#309) Missing semicolon. (babel/semi)
(#311) Expected an assignment or function call and instead saw an expression. (babel/no-unused-expressions)
(#315) Missing semicolon. (babel/semi)
(#317) Missing semicolon. (babel/semi)
(#319) Unexpected space before function parentheses. (space-before-function-paren)
(#320) Multiple spaces found before '='. (no-multi-spaces)
(#320) Missing semicolon. (babel/semi)
(#321) Multiple spaces found before '='. (no-multi-spaces)
(#321) Missing semicolon. (babel/semi)
(#322) Missing semicolon. (babel/semi)
(#324) Comments should not begin with a lowercase character (capitalized-comments)
(#325) Missing semicolon. (babel/semi)
(#326) Missing semicolon. (babel/semi)
(#328) Comments should not begin with a lowercase character (capitalized-comments)
(#329) Expected { after 'if' condition. (curly)
(#329) Multiple spaces found before 'marginTop'. (no-multi-spaces)
(#329) Multiple spaces found before '='. (no-multi-spaces)
(#329) Missing semicolon. (babel/semi)
(#330) Expected { after 'if' condition. (curly)
(#330) Missing semicolon. (babel/semi)
(#332) Multiple spaces found before '+='. (no-multi-spaces)
(#332) Missing semicolon. (babel/semi)
(#333) Missing semicolon. (babel/semi)
(#338) Unexpected space before function parentheses. (space-before-function-paren)
(#342) Missing semicolon. (babel/semi)
(#344) Missing semicolon. (babel/semi)
(#346) Missing semicolon. (babel/semi)
(#348) Comments should not begin with a lowercase character (capitalized-comments)
(#349) Multiple spaces found before '='. (no-multi-spaces)
(#349) Missing semicolon. (babel/semi)
(#350) Missing semicolon. (babel/semi)
(#353) Missing semicolon. (babel/semi)
(#356) Missing semicolon. (babel/semi)
(#358) Expected { after 'if' condition. (curly)
(#358) Missing semicolon. (babel/semi)
(#359) Expected { after 'else'. (curly)
(#359) Missing semicolon. (babel/semi)
(#361) Multiple spaces found before '='. (no-multi-spaces)
(#361) Missing semicolon. (babel/semi)
(#362) Multiple spaces found before '='. (no-multi-spaces)
(#362) Missing semicolon. (babel/semi)
(#363) Missing semicolon. (babel/semi)
(#365) Missing semicolon. (babel/semi)
(#366) Missing semicolon. (babel/semi)
(#367) Missing semicolon. (babel/semi)
(#369) Unexpected space before function parentheses. (space-before-function-paren)
(#372) Missing semicolon. (babel/semi)
(#373) Missing semicolon. (babel/semi)
(#375) Unexpected space before function parentheses. (space-before-function-paren)
(#376) Multiple spaces found before '='. (no-multi-spaces)
(#376) Missing semicolon. (babel/semi)
(#377) Missing semicolon. (babel/semi)
(#379) Missing semicolon. (babel/semi)
(#380) Missing semicolon. (babel/semi)
(#381) Missing semicolon. (babel/semi)
(#383) Unexpected space before function parentheses. (space-before-function-paren)
(#384) Missing semicolon. (babel/semi)
(#385) Missing semicolon. (babel/semi)
(#386) Multiple spaces found before '='. (no-multi-spaces)
(#386) Missing semicolon. (babel/semi)
(#388) Missing JSDoc comment. (require-jsdoc)
(#389) Expected { after 'if' condition. (curly)
(#389) Missing semicolon. (babel/semi)
(#393) Missing semicolon. (babel/semi)
(#395) Expected an assignment or function call and instead saw an expression. (babel/no-unused-expressions)
(#395) Missing semicolon. (babel/semi)
(#398) Missing semicolon. (babel/semi)
(#400) Expected { after 'if' condition. (curly)
(#400) Missing semicolon. (babel/semi)
(#402) Missing semicolon. (babel/semi)
(#404) Expected an assignment or function call and instead saw an expression. (babel/no-unused-expressions)
(#408) Missing semicolon. (babel/semi)
(#410) Missing semicolon. (babel/semi)
(#412) Function expected no return value. (consistent-return)
(#412) Missing semicolon. (babel/semi)
(#413) Missing semicolon. (babel/semi)
(#415) Unexpected space before function parentheses. (space-before-function-paren)
(#416) Missing semicolon. (babel/semi)
(#418) Missing semicolon. (babel/semi)
(#420) Missing semicolon. (babel/semi)
(#422) Unexpected space before function parentheses. (space-before-function-paren)
(#423) Missing semicolon. (babel/semi)
(#424) Missing semicolon. (babel/semi)
(#426) Unexpected space before function parentheses. (space-before-function-paren)
(#427) Multiple spaces found before '='. (no-multi-spaces)
(#427) Missing semicolon. (babel/semi)
(#429) Multiple spaces found before '='. (no-multi-spaces)
(#429) Missing semicolon. (babel/semi)
(#430) Missing semicolon. (babel/semi)
(#432) Multiple spaces found before '='. (no-multi-spaces)
(#432) Missing semicolon. (babel/semi)
(#433) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#434) Comments should not begin with a lowercase character (capitalized-comments)
(#435) There should be no space after '{'. (babel/object-curly-spacing)
(#435) There should be no space before '}'. (babel/object-curly-spacing)
(#435) Missing semicolon. (babel/semi)
(#437) Missing semicolon. (babel/semi)
(#440) Multiple spaces found before '='. (no-multi-spaces)
(#440) Do not nest ternary expressions. (no-nested-ternary)
(#440) There should be no space after '{'. (babel/object-curly-spacing)
(#440) There should be no space before '}'. (babel/object-curly-spacing)
(#440) Missing semicolon. (babel/semi)
(#441) Multiple spaces found before '='. (no-multi-spaces)
(#441) There should be no space after '{'. (babel/object-curly-spacing)
(#441) There should be no space before '}'. (babel/object-curly-spacing)
(#441) Missing semicolon. (babel/semi)
(#442) There should be no space after '{'. (babel/object-curly-spacing)
(#442) There should be no space before '}'. (babel/object-curly-spacing)
(#442) Missing semicolon. (babel/semi)
(#444) Missing semicolon. (babel/semi)
(#445) Missing semicolon. (babel/semi)
(#447) Unexpected space before function parentheses. (space-before-function-paren)
(#448) Do not nest ternary expressions. (no-nested-ternary)
(#448) There should be no space after '{'. (babel/object-curly-spacing)
(#448) Multiple spaces found before 'left'. (no-multi-spaces)
(#448) There should be no space before '}'. (babel/object-curly-spacing)
(#449) Do not nest ternary expressions. (no-nested-ternary)
(#449) Multiple spaces found before '?'. (no-multi-spaces)
(#449) There should be no space after '{'. (babel/object-curly-spacing)
(#449) There should be no space before '}'. (babel/object-curly-spacing)
(#450) Multiple spaces found before '?'. (no-multi-spaces)
(#450) There should be no space after '{'. (babel/object-curly-spacing)
(#450) There should be no space before '}'. (babel/object-curly-spacing)
(#451) Line 451 exceeds the maximum line length of 132. (max-len)
(#451) There should be no space after '{'. (babel/object-curly-spacing)
(#451) There should be no space before '}'. (babel/object-curly-spacing)
(#451) Missing semicolon. (babel/semi)
(#453) Missing semicolon. (babel/semi)
(#455) Unexpected space before function parentheses. (space-before-function-paren)
(#456) There should be no space after '{'. (babel/object-curly-spacing)
(#456) There should be no space before '}'. (babel/object-curly-spacing)
(#456) Missing semicolon. (babel/semi)
(#457) Expected { after 'if' condition. (curly)
(#457) Missing semicolon. (babel/semi)
(#459) Missing semicolon. (babel/semi)
(#460) Missing semicolon. (babel/semi)
(#463) Multiple spaces found before '='. (no-multi-spaces)
(#463) Missing semicolon. (babel/semi)
(#464) Missing semicolon. (babel/semi)
(#465) Comments should not begin with a lowercase character (capitalized-comments)
(#466) Missing semicolon. (babel/semi)
(#467) Comments should not begin with a lowercase character (capitalized-comments)
(#468) Missing semicolon. (babel/semi)
(#471) Multiple spaces found before '='. (no-multi-spaces)
(#471) Missing semicolon. (babel/semi)
(#472) Missing semicolon. (babel/semi)
(#473) Comments should not begin with a lowercase character (capitalized-comments)
(#474) Missing semicolon. (babel/semi)
(#475) Comments should not begin with a lowercase character (capitalized-comments)
(#476) Missing semicolon. (babel/semi)
(#480) Missing semicolon. (babel/semi)
(#481) Missing semicolon. (babel/semi)
(#483) Unexpected space before function parentheses. (space-before-function-paren)
(#484) Missing semicolon. (babel/semi)
(#485) Missing semicolon. (babel/semi)
(#486) Multiple spaces found before '='. (no-multi-spaces)
(#486) Missing semicolon. (babel/semi)
(#489) Multiple spaces found before 'o'. (no-multi-spaces)
(#489) Missing semicolon. (babel/semi)
(#491) Missing semicolon. (babel/semi)
(#492) Missing semicolon. (babel/semi)
(#494) Unexpected space before function parentheses. (space-before-function-paren)
(#495) Expected { after 'do'. (curly)
(#495) Unexpected use of '~'. (no-bitwise)
(#495) Unexpected use of '~'. (no-bitwise)
(#495) Missing semicolon. (babel/semi)
(#496) Missing semicolon. (babel/semi)
(#497) Missing semicolon. (babel/semi)
(#498) Missing semicolon. (babel/semi)
(#500) Unexpected space before function parentheses. (space-before-function-paren)
(#502) Missing semicolon. (babel/semi)
(#504) Missing semicolon. (babel/semi)
(#507) Missing semicolon. (babel/semi)
(#508) Missing semicolon. (babel/semi)
(#510) Unexpected space before function parentheses. (space-before-function-paren)
(#511) Missing semicolon. (babel/semi)
(#512) Missing semicolon. (babel/semi)
(#514) Unexpected space before function parentheses. (space-before-function-paren)
(#515) Missing semicolon. (babel/semi)
(#516) Missing semicolon. (babel/semi)
(#518) Unexpected space before function parentheses. (space-before-function-paren)
(#519) Missing semicolon. (babel/semi)
(#520) Missing semicolon. (babel/semi)
(#522) Unexpected space before function parentheses. (space-before-function-paren)
(#523) Missing semicolon. (babel/semi)
(#524) Missing semicolon. (babel/semi)
(#526) Unexpected space before function parentheses. (space-before-function-paren)
(#527) Missing semicolon. (babel/semi)
(#529) Missing semicolon. (babel/semi)
(#531) Missing semicolon. (babel/semi)
(#532) Missing semicolon. (babel/semi)
(#537) Missing semicolon. (babel/semi)
(#538) Expected { after 'if' condition. (curly)
(#538) Missing semicolon. (babel/semi)
(#539) Expected { after 'else'. (curly)
(#539) Missing semicolon. (babel/semi)
(#541) Expected an assignment or function call and instead saw an expression. (babel/no-unused-expressions)
(#541) Missing semicolon. (babel/semi)
(#543) Missing semicolon. (babel/semi)
(#545) Unexpected space before function parentheses. (space-before-function-paren)
(#546) Missing semicolon. (babel/semi)
(#547) Missing semicolon. (babel/semi)
(#548) Unexpected space before function parentheses. (space-before-function-paren)
(#549) Missing semicolon. (babel/semi)
(#551) Missing semicolon. (babel/semi)
(#553) Missing semicolon. (babel/semi)
(#554) Missing semicolon. (babel/semi)
(#555) Missing semicolon. (babel/semi)
(#556) Missing semicolon. (babel/semi)
(#557) Missing semicolon. (babel/semi)
(#558) Missing semicolon. (babel/semi)
(#564) Missing JSDoc comment. (require-jsdoc)
(#565) Unexpected space before function parentheses. (space-before-function-paren)
(#566) Multiple spaces found before '='. (no-multi-spaces)
(#566) Missing semicolon. (babel/semi)
(#567) Multiple spaces found before '='. (no-multi-spaces)
(#567) Missing semicolon. (babel/semi)
(#568) Missing semicolon. (babel/semi)
(#570) Expected { after 'if' condition. (curly)
(#570) Missing semicolon. (babel/semi)
(#571) Expected { after 'if' condition. (curly)
(#571) Missing semicolon. (babel/semi)
(#572) Expected { after 'if' condition. (curly)
(#572) Missing semicolon. (babel/semi)
(#573) Missing semicolon. (babel/semi)
(#576) Missing semicolon. (babel/semi)
(#578) Multiple spaces found before '='. (no-multi-spaces)
(#578) Missing semicolon. (babel/semi)
(#579) Missing semicolon. (babel/semi)
(#585) Unexpected space before function parentheses. (space-before-function-paren)
(#586) Missing semicolon. (babel/semi)
(#587) Missing semicolon. (babel/semi)
(#588) Missing semicolon. (babel/semi)
(#598) Missing semicolon. (babel/semi)
course/format/grid/format.js
(#43) Identifier 'get_config' is not in camel case. (camelcase)
(#45) Extra space after key 'container_node'. (key-spacing)
(#45) Identifier 'container_node' is not in camel case. (camelcase)
(#46) Extra space after key 'container_class'. (key-spacing)
(#46) Identifier 'container_class' is not in camel case. (camelcase)
(#47) Extra space after key 'section_node'. (key-spacing)
(#47) Identifier 'section_node' is not in camel case. (camelcase)
(#48) Extra space after key 'section_class'. (key-spacing)
(#48) Identifier 'section_class' is not in camel case. (camelcase)
(#52) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#60) Identifier 'swap_sections' is not in camel case. (camelcase)
(#62) Extra space after key 'COURSECONTENT'. (key-spacing)
(#63) Extra space after key 'SECTIONADDMENUS'. (key-spacing)
(#71) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#71) Expected JSDoc for 'sectionlist' but found 'response'. (valid-jsdoc)
(#71) Expected JSDoc for 'response' but found 'sectionfrom'. (valid-jsdoc)
(#71) Expected JSDoc for 'sectionfrom' but found 'sectionto'. (valid-jsdoc)
(#80) Identifier 'process_sections' is not in camel case. (camelcase)
(#82) Extra space after key 'SECTIONNAME'. (key-spacing)
(#83) Extra space after key 'SECTIONLEFTSIDE'. (key-spacing)
course/format/grid/Gruntfile.js
(#52) 'module' is not defined. (no-undef)
(#62) Unexpected console statement. (no-console)
(#63) Unexpected console statement. (no-console)
(#70) 'process' is not defined. (no-undef)
(#77) 'process' is not defined. (no-undef)
(#89) Comments should not begin with a lowercase character (capitalized-comments)
(#102) Identifier 'dynamic_mappings' is not in camel case. (camelcase)
course/format/grid/js/gf_colourpopup.js
(#57) Parsing error: The keyword 'const' is reserved
course/format/grid/module.js
(#31) Identifier 'format_grid' is not in camel case. (camelcase)
(#35) Identifier 'editing_on' is not in camel case. (camelcase)
(#37) Identifier 'section_redirect' is not in camel case. (camelcase)
(#39) Identifier 'selected_section' is not in camel case. (camelcase)
(#41) Identifier 'num_sections' is not in camel case. (camelcase)
(#43) Identifier 'selected_section_no' is not in camel case. (camelcase)
(#46) Identifier 'shadebox_shown_array' is not in camel case. (camelcase)
(#48) Identifier 'shadebox_content' is not in camel case. (camelcase)
(#62) Identifier 'the_editing_on' is not in camel case. (camelcase)
(#62) Identifier 'the_section_redirect' is not in camel case. (camelcase)
(#62) Identifier 'the_num_sections' is not in camel case. (camelcase)
(#62) Identifier 'the_initial_section' is not in camel case. (camelcase)
(#63) Identifier 'the_shadebox_shown_array' is not in camel case. (camelcase)
(#66) Identifier 'editing_on' is not in camel case. (camelcase)
(#66) Identifier 'the_editing_on' is not in camel case. (camelcase)
(#67) Identifier 'section_redirect' is not in camel case. (camelcase)
(#67) Identifier 'the_section_redirect' is not in camel case. (camelcase)
(#68) Identifier 'selected_section' is not in camel case. (camelcase)
(#69) Identifier 'num_sections' is not in camel case. (camelcase)
(#70) Identifier 'shadebox_shown_array' is not in camel case. (camelcase)
(#70) Identifier 'the_shadebox_shown_array' is not in camel case. (camelcase)
(#71) Unexpected space before function parentheses. (space-before-function-paren)
(#72) Identifier 'shadebox_shown_array' is not in camel case. (camelcase)
(#76) Identifier 'the_initial_section' is not in camel case. (camelcase)
(#78) Identifier 'the_editing_on' is not in camel case. (camelcase)
(#79) Multiple spaces found before '// Section 0 c...'. (no-multi-spaces)
(#82) Identifier 'selected_section_no' is not in camel case. (camelcase)
(#86) Identifier 'the_editing_on' is not in camel case. (camelcase)
(#116) Identifier 'shadebox_overlay' is not in camel case. (camelcase)
(#126) Identifier 'shadebox_content' is not in camel case. (camelcase)
(#133) Identifier 'the_editing_on' is not in camel case. (camelcase)
(#143) Identifier 'the_initial_section' is not in camel case. (camelcase)
(#148) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#151) Identifier 'icon_click' is not in camel case. (camelcase)
(#154) Identifier 'icon_index' is not in camel case. (camelcase)
(#156) Identifier 'selected_section_no' is not in camel case. (camelcase)
(#156) Identifier 'icon_index' is not in camel case. (camelcase)
(#167) Expected to return a value at the end of function. (consistent-return)
(#185) Missing JSDoc for parameter 'index'. (valid-jsdoc)
(#191) Identifier 'previous_no' is not in camel case. (camelcase)
(#192) Identifier 'selected_section_no' is not in camel case. (camelcase)
(#204) Identifier 'icon_toggle' is not in camel case. (camelcase)
(#210) Identifier 'grid_toggle' is not in camel case. (camelcase)
(#233) Identifier 'previous_section' is not in camel case. (camelcase)
(#244) Identifier 'next_section' is not in camel case. (camelcase)
(#252) Identifier 'change_selected_section' is not in camel case. (camelcase)
(#252) Identifier 'increase_section' is not in camel case. (camelcase)
(#265) Identifier 'change_shown' is not in camel case. (camelcase)
(#268) Expected space(s) after "if". (keyword-spacing)
(#271) Identifier 'selected_section' is not in camel case. (camelcase)
(#290) Identifier 'set_selected_section' is not in camel case. (camelcase)
(#290) Identifier 'starting_point' is not in camel case. (camelcase)
(#290) Identifier 'increase_section' is not in camel case. (camelcase)
(#293) Identifier 'previous_no' is not in camel case. (camelcase)
(#294) Identifier 'selected_section_no' is not in camel case. (camelcase)
(#303) Identifier 'update_selected_background' is not in camel case. (camelcase)
(#303) Identifier 'previous_no' is not in camel case. (camelcase)
(#306) Identifier 'selected_section' is not in camel case. (camelcase)
(#307) Identifier 'selected_section' is not in camel case. (camelcase)
(#309) Identifier 'previous_no' is not in camel case. (camelcase)
(#309) Identifier 'previous_no' is not in camel case. (camelcase)
(#310) Identifier 'previous_section' is not in camel case. (camelcase)
(#310) Identifier 'previous_no' is not in camel case. (camelcase)
(#311) Identifier 'previous_section' is not in camel case. (camelcase)
(#321) Identifier 'find_next_shown_section' is not in camel case. (camelcase)
(#321) Identifier 'starting_point' is not in camel case. (camelcase)
(#321) Identifier 'increase_section' is not in camel case. (camelcase)
(#324) Identifier 'starting_point' is not in camel case. (camelcase)
(#325) Identifier 'starting_point' is not in camel case. (camelcase)
(#327) Expected space(s) after "while". (keyword-spacing)
(#328) Identifier 'increase_section' is not in camel case. (camelcase)
(#341) Identifier 'starting_point' is not in camel case. (camelcase)
(#355) Identifier 'shadebox_open' is not in camel case. (camelcase)
(#357) Identifier 'shadebox_overlay' is not in camel case. (camelcase)
(#359) Identifier 'grid_shadebox' is not in camel case. (camelcase)
(#363) Identifier 'initialize_shadebox' is not in camel case. (camelcase)
(#365) Identifier 'shadebox_open' is not in camel case. (camelcase)
(#367) Identifier 'shadebox_overlay' is not in camel case. (camelcase)
(#369) Identifier 'grid_shadebox' is not in camel case. (camelcase)
(#374) Identifier 'gridshadebox_content' is not in camel case. (camelcase)
(#375) Identifier 'gridshadebox_content' is not in camel case. (camelcase)
(#400) Identifier 'gridshadebox_content' is not in camel case. (camelcase)
(#404) Identifier 'gridshadebox_content' is not in camel case. (camelcase)
(#409) Identifier 'toggle_shadebox' is not in camel case. (camelcase)
(#413) Identifier 'shadebox_open' is not in camel case. (camelcase)
(#417) Identifier 'shadebox_open' is not in camel case. (camelcase)
(#422) Identifier 'show_shadebox' is not in camel case. (camelcase)
(#429) Identifier 'hide_shadebox' is not in camel case. (camelcase)
(#435) Identifier 'update_shadebox' is not in camel case. (camelcase)
(#442) Missing JSDoc @returns for function. (valid-jsdoc)
(#447) Identifier 'get_page_height' is not in camel case. (camelcase)
(#450) Expected space(s) after "if". (keyword-spacing)
(#452) Expected space(s) after "if". (keyword-spacing)
(#460) Expected space(s) after "if". (keyword-spacing)
(#462) Expected space(s) after "if". (keyword-spacing)
(#464) Expected space(s) after "if". (keyword-spacing)
(#470) Expected space(s) after "if". (keyword-spacing)
course/format/grid/yui/gridkeys/gridkeys.js
(#1) Line 1 exceeds the maximum line length of 132. (max-len)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) 'YUI' is not defined. (no-undef)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Missing space before value for key 'enter'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'esc'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'backspace'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'tab'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'pageUp'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'pageDown'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'left'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'up'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'right'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'down'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'space'. (key-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) This line has 21 statements. Maximum allowed is 2. (max-statements-per-line)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Missing space before value for key 'type'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'on'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'delegate'. (key-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'detach'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'detachDelegate'. (key-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'requires'. (key-spacing)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) 'YUI' is not defined. (no-undef)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) 't' is defined but never used. (no-unused-vars)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Identifier 'format_grid' is not in camel case. (camelcase)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Missing space before value for key 'currentGridBox'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'currentGridBoxIndex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'findfocused'. (key-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected space(s) after "return". (keyword-spacing)
(#1) Return statement should not contain assignment. (no-return-assign)
(#1) Return statement should not contain assignment. (no-return-assign)
(#1) Return statement should not contain assignment. (no-return-assign)
(#1) Return statement should not contain assignment. (no-return-assign)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'init'. (key-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'requires'. (key-spacing)
course/format/grid/yui/src/gridkeys/js/event-nav-keys-debug.js
(#4) Extra space after key 'enter'. (key-spacing)
(#5) Extra space after key 'esc'. (key-spacing)
(#7) Extra space after key 'tab'. (key-spacing)
(#8) Extra space after key 'pageUp'. (key-spacing)
(#9) Extra space after key 'pageDown'. (key-spacing)
(#10) Extra space after key 'left'. (key-spacing)
(#11) Extra space after key 'up'. (key-spacing)
(#12) Extra space after key 'right'. (key-spacing)
(#13) Extra space after key 'down'. (key-spacing)
(#14) Extra space after key 'space'. (key-spacing)
(#17) Unexpected space before function parentheses. (space-before-function-paren)
(#21) Unexpected space before function parentheses. (space-before-function-paren)
(#24) Unexpected space before function parentheses. (space-before-function-paren)
(#31) Unexpected space before function parentheses. (space-before-function-paren)
(#35) Unexpected space before function parentheses. (space-before-function-paren)
(#39) Unexpected space before function parentheses. (space-before-function-paren)
(#46) There should be no space before ','. (comma-spacing)
(#46) A space is required after ','. (comma-spacing)
(#46) Missing space before value for key 'requires'. (key-spacing)
course/format/grid/yui/src/gridkeys/js/event-nav-keys-min.js
(#1) Line 1 exceeds the maximum line length of 132. (max-len)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Missing space before value for key 'enter'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'esc'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'backspace'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'tab'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'pageUp'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'pageDown'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'left'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'up'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'right'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'down'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'space'. (key-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) This line has 11 statements. Maximum allowed is 2. (max-statements-per-line)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Missing space before value for key 'type'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'on'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected space(s) after "if". (keyword-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'delegate'. (key-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'detach'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'detachDelegate'. (key-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'requires'. (key-spacing)
course/format/grid/yui/src/gridkeys/js/event-nav-keys.js
(#4) Extra space after key 'enter'. (key-spacing)
(#5) Extra space after key 'esc'. (key-spacing)
(#7) Extra space after key 'tab'. (key-spacing)
(#8) Extra space after key 'pageUp'. (key-spacing)
(#9) Extra space after key 'pageDown'. (key-spacing)
(#10) Extra space after key 'left'. (key-spacing)
(#11) Extra space after key 'up'. (key-spacing)
(#12) Extra space after key 'right'. (key-spacing)
(#13) Extra space after key 'down'. (key-spacing)
(#14) Extra space after key 'space'. (key-spacing)
(#17) Unexpected space before function parentheses. (space-before-function-paren)
(#21) Unexpected space before function parentheses. (space-before-function-paren)
(#24) Unexpected space before function parentheses. (space-before-function-paren)
(#31) Unexpected space before function parentheses. (space-before-function-paren)
(#35) Unexpected space before function parentheses. (space-before-function-paren)
(#39) Unexpected space before function parentheses. (space-before-function-paren)
(#46) There should be no space before ','. (comma-spacing)
(#46) A space is required after ','. (comma-spacing)
(#46) Missing space before value for key 'requires'. (key-spacing)
course/format/grid/yui/src/gridkeys/js/gridkeys.js
(#27) Identifier 'format_grid' is not in camel case. (camelcase)
(#51) Unexpected space before function parentheses. (space-before-function-paren)
(#58) Unexpected space before function parentheses. (space-before-function-paren)
(#72) Unexpected space before function parentheses. (space-before-function-paren)
(#72) Comments should not begin with a lowercase character (capitalized-comments)
(#72) Expected space or tab after '/*' in comment. (spaced-comment)
(#81) Unexpected space before function parentheses. (space-before-function-paren)
(#89) Unexpected space before function parentheses. (space-before-function-paren)
(#98) Unexpected space before function parentheses. (space-before-function-paren)
course/format/grid/yui/src/gridkeys/scripts/backport.js
(#8) Unexpected console statement. (no-console)
(#9) Unexpected console statement. (no-console)
(#28) Multiple spaces found before '='. (no-multi-spaces)
(#29) Multiple spaces found before '='. (no-multi-spaces)
(#33) Unexpected console statement. (no-console)

CSS problems

(8 errors, 0 warnings)

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

course/format/grid/styles.css
(#491) Invalid value for `filter` (csstree/validator)
(#491) Unexpected duplicate "filter" (declaration-block-no-duplicate-properties)
(#492) Unexpected duplicate "filter" (declaration-block-no-duplicate-properties)
(#506) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#48) Unexpected !important (declaration-no-important)
(#193) Expected indentation of 4 spaces (indentation)
(#194) Expected indentation of 4 spaces (indentation)
(#285) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(81 errors, 25 warnings)

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

course/format/grid/backup/moodle2/backup_format_grid_plugin.class.php
(#61) Function backup_format_grid_plugin::delete_displayed_images is not documented
(#21) Not recommended phpdocs tag @version used
course/format/grid/backup/moodle2/restore_format_grid_plugin.class.php
(#110) Function restore_format_grid_plugin::after_execute_structure is not documented
(#31) No one-line description found in phpdocs for class restore_format_grid_plugin
(#81) Phpdocs for function restore_format_grid_plugin::process_grid has incomplete parameters list
(#131) Phpdocs for function restore_format_grid_plugin::process_gridsection has incomplete parameters list
(#21) Not recommended phpdocs tag @version used
course/format/grid/classes/observer.php
(#67) Function format_grid_observer::delete_images_and_summary is not documented
(#22) Not recommended phpdocs tag @version used
course/format/grid/classes/privacy/provider.php
(#22) Not recommended phpdocs tag @version used
course/format/grid/config.php
(#21) Not recommended phpdocs tag @version used
course/format/grid/db/access.php
(#21) Not recommended phpdocs tag @version used
course/format/grid/db/events.php
(#22) Not recommended phpdocs tag @version used
course/format/grid/db/upgrade.php
(#31) Function xmldb_format_grid_upgrade is not documented
(#21) Not recommended phpdocs tag @version used
course/format/grid/editimage.php
(#21) Not recommended phpdocs tag @version used
course/format/grid/editimage_form.php
(#32) Class grid_image_form is not documented
(#34) Function grid_image_form::definition is not documented
(#21) Not recommended phpdocs tag @version used
course/format/grid/format.php
(#21) Not recommended phpdocs tag @version used
course/format/grid/js/gf_colourpopup.php
(#51) Function MoodleQuickForm_gfcolourpopup::__construct is not documented
(#59) Function MoodleQuickForm_gfcolourpopup::setHiddenLabel is not documented
(#63) Function MoodleQuickForm_gfcolourpopup::toHtml is not documented
(#149) Function MoodleQuickForm_gfcolourpopup::export_for_template is not documented
(#48) Variable MoodleQuickForm_gfcolourpopup::$_helpbutton is not documented
(#49) Variable MoodleQuickForm_gfcolourpopup::$_hiddenLabel is not documented
(#118) Phpdocs for function MoodleQuickForm_gfcolourpopup::setHelpButton has incomplete parameters list
(#21) Not recommended phpdocs tag @version used
(#36) Not recommended phpdocs tag @access used
course/format/grid/lang/en/format_grid.php
(#21) Not recommended phpdocs tag @version used
course/format/grid/lang/en_ar/format_grid.php
(#21) Not recommended phpdocs tag @version used
course/format/grid/lang/en_us/format_grid.php
(#21) Not recommended phpdocs tag @version used
course/format/grid/lang/es/format_grid.php
(#21) Not recommended phpdocs tag @version used
course/format/grid/lang/fr/format_grid.php
(#21) Not recommended phpdocs tag @version used
course/format/grid/lang/ru/format_grid.php
(#21) Not recommended phpdocs tag @version used
course/format/grid/lib.php
(#33) Class format_grid is not documented
(#388) Function format_grid::get_maximum_image_width is not documented
(#1262) Function format_grid::get_course_format_colour_defaults is not documented
(#2320) Function format_grid::create_original_image_record is not documented
(#2336) Function format_grid::create_section_image is not documented
(#2498) Function format_grid::remove_existing_new_displayed_image is not documented
(#2533) Function format_grid::output_section_image is not documented
(#2563) Function format_grid::delete_image is not documented
(#2591) Function format_grid::delete_images is not documented
(#2622) Function format_grid::delete_displayed_images is not documented
(#2640) Function format_grid::delete_displayed_image is not documented
(#2884) Function format_grid::debugdata_decode is not documented
(#2988) Function format_grid::section_action is not documented
(#3014) Function format_grid::get_context is not documented
(#37) Variable format_grid::$imagecontainerwidths is not documented
(#40) Variable format_grid::$imagecontainerratios is not documented
(#43) Variable format_grid::$borderwidths is not documented
(#47) Variable format_grid::$currentwidth is not documented
(#48) Variable format_grid::$currentratio is not documented
(#49) Variable format_grid::$currentborderwidth is not documented
(#50) Variable format_grid::$currentheight is not documented
(#51) Variable format_grid::$activitymargintop is not documented
(#52) Variable format_grid::$activitymarginleft is not documented
(#54) Variable format_grid::$opacities is not documented
(#56) Variable format_grid::$sectiontitlefontsizes is not documented
(#58) Variable format_grid::$settings is not documented
(#59) Variable format_grid::$section0attop is not documented
(#81) Phpdocs for function format_grid::is_section0_attop has incomplete parameters list
(#2271) Phpdocs for function format_grid::calculate_height has incomplete parameters list
(#3062) Phpdocs for function callback_grid_load_content has incomplete parameters list
(#2121) Invalid phpdocs tag @returns used
(#2143) Invalid phpdocs tag @returns used
(#21) Not recommended phpdocs tag @version used
(#64) Inline phpdocs tag {@link course_get_format($courseorid)} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#522) Inline phpdocs tag {@link ajaxenabled()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#1321) Inline phpdocs tag {@link course_edit_form::definition_after_data()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#1687) Inline phpdocs tag {@link moodleform::get_data()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#1688) Inline phpdocs tag {@link update_course()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#1879) Inline phpdocs tag {@link course_delete_section()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#1913) Inline phpdocs tag {@link course_can_delete_section()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#1928) Inline phpdocs tag {@link moodleform::get_data()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#3059) Inline phpdocs tag {@link load_course()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
course/format/grid/mod_summary.php
(#21) Not recommended phpdocs tag @version used
course/format/grid/renderer.php
(#34) Class format_grid_renderer is not documented
(#997) Function format_grid_renderer::make_block_icon_topics_editing is not documented
(#1016) Function format_grid_renderer::make_block_icon_topic0_editing is not documented
(#1253) Function format_grid_renderer::set_portable is not documented
(#1257) Function format_grid_renderer::set_initialsection is not documented
(#36) Variable format_grid_renderer::$section0attop is not documented
(#37) Variable format_grid_renderer::$courseformat is not documented
(#38) Variable format_grid_renderer::$settings is not documented
(#39) Variable format_grid_renderer::$shadeboxshownarray is not documented
(#40) Variable format_grid_renderer::$portable is not documented
(#41) Variable format_grid_renderer::$initialsection is not documented
(#163) Phpdocs for function format_grid_renderer::section_nav_selection has incomplete parameters list
(#612) Phpdocs for function format_grid_renderer::make_block_topic0 has incomplete parameters list
(#715) Phpdocs for function format_grid_renderer::make_block_icon_topics has incomplete parameters list
(#1037) Phpdocs for function format_grid_renderer::make_block_show_clipboard_if_file_moving has incomplete parameters list
(#1057) Phpdocs for function format_grid_renderer::make_block_topics has incomplete parameters list
(#1164) Phpdocs for function format_grid_renderer::get_title has incomplete parameters list
(#1202) Phpdocs for function format_grid_renderer::is_empty_text has incomplete parameters list
(#1210) Phpdocs for function format_grid_renderer::text_limit has incomplete parameters list
(#1225) Phpdocs for function format_grid_renderer::new_activity has incomplete parameters list
(#21) Not recommended phpdocs tag @version used
course/format/grid/settings.php
(#21) Not recommended phpdocs tag @version used
course/format/grid/tests/courseformatlib_test.php
(#36) Variable format_grid_courseformatlib_testcase::$courseone is not documented
(#37) Variable format_grid_courseformatlib_testcase::$coursetwo is not documented
(#38) Variable format_grid_courseformatlib_testcase::$courseformatone is not documented
(#39) Variable format_grid_courseformatlib_testcase::$courseformattwo is not documented
(#21) Not recommended phpdocs tag @version used
course/format/grid/version.php
(#21) Not recommended phpdocs tag @version used

Update savepoints problems

(7 errors, 0 warnings)

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

course/format/grid/db/upgrade.php
Detected more 'if' blocks (6) than 'savepoint' calls (0)
version 2011041802 is missing corresponding savepoint call
version 2012011701 is missing corresponding savepoint call
version 2012071500 is missing corresponding savepoint call
version 2013110400 is missing corresponding savepoint call
version 2019111702 is missing corresponding savepoint call
version 2019111703 is missing corresponding savepoint call

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]