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

(0 errors, 0 warnings)

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


Javascript coding style problems

(0 errors, 227 warnings)

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

report/lpmonitoring/amd/src/bulkrating.js
(#67) Unexpected space before function parentheses. (space-before-function-paren)
(#69) Extra space after key 'compid'. (key-spacing)
(#69) Extra space after key 'value'. (key-spacing)
report/lpmonitoring/amd/src/colorcontrast.js
(#67) Unexpected space before function parentheses. (space-before-function-paren)
(#68) A space is required after ','. (comma-spacing)
(#68) A space is required after ','. (comma-spacing)
(#70) There should be no space after this paren. (space-in-parens)
(#70) There should be no space before this paren. (space-in-parens)
(#89) Expected to return a value at the end of function. (consistent-return)
(#93) Expected space(s) after "if". (keyword-spacing)
(#95) Expected to return a value at the end of function. (consistent-return)
(#102) Expected space(s) after "if". (keyword-spacing)
(#108) A space is required after ','. (comma-spacing)
(#108) A space is required after ','. (comma-spacing)
(#108) A space is required after ','. (comma-spacing)
(#113) Expected space(s) after "if". (keyword-spacing)
report/lpmonitoring/amd/src/comments_popup.js
(#43) Identifier 'selector_button' is not in camel case. (camelcase)
(#43) Identifier 'selector_nbcomments' is not in camel case. (camelcase)
(#46) Identifier 'selector_nbcomments' is not in camel case. (camelcase)
(#46) Identifier 'selector_nbcomments' is not in camel case. (camelcase)
(#61) Identifier 'selector_nbcomments' is not in camel case. (camelcase)
(#73) Identifier 'actual_size' is not in camel case. (camelcase)
(#86) Extra space after key 'methodname'. (key-spacing)
(#87) There should be no space after '{'. (@babel/object-curly-spacing)
(#87) There should be no space before '}'. (@babel/object-curly-spacing)
(#117) The function binding is unnecessary. (no-extra-bind)
(#158) Extra space after key 'methodname'. (key-spacing)
(#159) There should be no space after '{'. (@babel/object-curly-spacing)
(#159) There should be no space before '}'. (@babel/object-curly-spacing)
(#163) Expected catch,fail,always() or return (promise/catch-or-return)
(#163) Each then() should return a value or throw (promise/always-return)
(#163) Unexpected space before function parentheses. (space-before-function-paren)
(#180) Identifier 'selector_button' is not in camel case. (camelcase)
(#180) Identifier 'selector_nbcomments' is not in camel case. (camelcase)
report/lpmonitoring/amd/src/datatable_popup.js
(#73) 'requests' used outside of binding context. (block-scoped-var)
(#81) 'requests' is already defined. (no-redeclare)
(#81) 'requests' used outside of binding context. (block-scoped-var)
(#90) 'requests' used outside of binding context. (block-scoped-var)
(#90) 'requests' used outside of binding context. (block-scoped-var)
(#127) The function binding is unnecessary. (no-extra-bind)
report/lpmonitoring/amd/src/learningplan.js
(#208) Each then() should return a value or throw (promise/always-return)
(#218) There should be no space after this paren. (space-in-parens)
(#218) There should be no space before this paren. (space-in-parens)
(#284) Each then() should return a value or throw (promise/always-return)
(#297) There should be no space after this paren. (space-in-parens)
(#297) There should be no space before this paren. (space-in-parens)
(#348) There should be no space after this paren. (space-in-parens)
(#348) There should be no space before this paren. (space-in-parens)
(#367) Each then() should return a value or throw (promise/always-return)
(#368) Avoid nesting promises. (promise/no-nesting)
(#374) Each then() should return a value or throw (promise/always-return)
(#411) Each then() should return a value or throw (promise/always-return)
(#412) Avoid nesting promises. (promise/no-nesting)
(#413) Each then() should return a value or throw (promise/always-return)
(#497) Each then() should return a value or throw (promise/always-return)
(#573) Expected catch,fail,always() or return (promise/catch-or-return)
(#576) Each then() should return a value or throw (promise/always-return)
(#661) Each then() should return a value or throw (promise/always-return)
(#663) Identifier 'competencies_list' is not in camel case. (camelcase)
(#663) Missing space before value for key 'competencies_list'. (key-spacing)
(#663) Missing space before value for key 'plan'. (key-spacing)
(#706) Missing space before value for key 'usercompetency'. (key-spacing)
(#719) Expected catch,fail,always() or return (promise/catch-or-return)
(#719) Each then() should return a value or throw (promise/always-return)
(#782) Each then() should return a value or throw (promise/always-return)
(#782) ["competencies_list"] is better written in dot notation. (dot-notation)
(#783) 'competencies' used outside of binding context. (block-scoped-var)
(#783) Missing space before value for key 'reportinfos'. (key-spacing)
(#783) Missing space before value for key 'plan'. (key-spacing)
(#788) 'competencies' used outside of binding context. (block-scoped-var)
(#788) Identifier 'filterchecked_course' is not in camel case. (camelcase)
(#790) 'competencies' used outside of binding context. (block-scoped-var)
(#790) Identifier 'filterchecked_module' is not in camel case. (camelcase)
(#792) 'competencies' used outside of binding context. (block-scoped-var)
(#792) Identifier 'filterchecked_both' is not in camel case. (camelcase)
(#795) 'competencies' used outside of binding context. (block-scoped-var)
(#796) 'competencies' used outside of binding context. (block-scoped-var)
(#797) 'competencies' used outside of binding context. (block-scoped-var)
(#800) 'competencies' used outside of binding context. (block-scoped-var)
(#812) 'competencies' is already defined. (no-redeclare)
(#812) 'competencies' used outside of binding context. (block-scoped-var)
(#813) 'competencies' used outside of binding context. (block-scoped-var)
(#842) Each then() should return a value or throw (promise/always-return)
(#842) ["scale_competency"] is better written in dot notation. (dot-notation)
(#843) 'competencies' used outside of binding context. (block-scoped-var)
(#843) Missing space before value for key 'reportinfos'. (key-spacing)
(#843) Missing space before value for key 'plan'. (key-spacing)
(#848) 'competencies' used outside of binding context. (block-scoped-var)
(#848) Identifier 'filterchecked_course' is not in camel case. (camelcase)
(#850) 'competencies' used outside of binding context. (block-scoped-var)
(#850) Identifier 'filterchecked_module' is not in camel case. (camelcase)
(#852) 'competencies' used outside of binding context. (block-scoped-var)
(#852) Identifier 'filterchecked_both' is not in camel case. (camelcase)
(#856) 'competencies' used outside of binding context. (block-scoped-var)
(#857) 'competencies' used outside of binding context. (block-scoped-var)
(#858) 'competencies' used outside of binding context. (block-scoped-var)
(#860) 'competencies' used outside of binding context. (block-scoped-var)
(#862) There should be no space after this paren. (space-in-parens)
(#862) There should be no space before this paren. (space-in-parens)
(#863) 'competencies' used outside of binding context. (block-scoped-var)
(#867) 'competencies' used outside of binding context. (block-scoped-var)
(#879) 'competencies' is already defined. (no-redeclare)
(#879) 'competencies' used outside of binding context. (block-scoped-var)
(#880) 'competencies' used outside of binding context. (block-scoped-var)
(#939) There should be no space after '{'. (@babel/object-curly-spacing)
(#939) There should be no space before '}'. (@babel/object-curly-spacing)
(#961) Expected catch,fail,always() or return (promise/catch-or-return)
(#961) Each then() should return a value or throw (promise/always-return)
(#962) Expected catch,fail,always() or return (promise/catch-or-return)
(#962) Avoid nesting promises. (promise/no-nesting)
(#962) Each then() should return a value or throw (promise/always-return)
(#997) Expected catch,fail,always() or return (promise/catch-or-return)
(#997) Avoid nesting promises. (promise/no-nesting)
(#997) Each then() should return a value or throw (promise/always-return)
(#1000) Missing space before value for key 'plan'. (key-spacing)
(#1001) Missing space before value for key 'hascompetencies'. (key-spacing)
(#1106) Extra space after key 'scalevalue'. (key-spacing)
(#1106) Extra space after key 'scaleid'. (key-spacing)
(#1225) The function binding is unnecessary. (no-extra-bind)
(#1228) The function binding is unnecessary. (no-extra-bind)
(#1257) The function binding is unnecessary. (no-extra-bind)
(#1260) The function binding is unnecessary. (no-extra-bind)
(#1289) The function binding is unnecessary. (no-extra-bind)
(#1292) The function binding is unnecessary. (no-extra-bind)
(#1337) Expected to return a value at the end of function. (consistent-return)
(#1350) Each then() should return a value or throw (promise/always-return)
(#1365) Expected to return a value at the end of function. (consistent-return)
(#1368) Missing space before value for key 'exception'. (key-spacing)
(#1407) The function binding is unnecessary. (no-extra-bind)
(#1411) The function binding is unnecessary. (no-extra-bind)
(#1440) The function binding is unnecessary. (no-extra-bind)
(#1444) The function binding is unnecessary. (no-extra-bind)
(#1495) Each then() should return a value or throw (promise/always-return)
(#1519) There should be no space after '{'. (@babel/object-curly-spacing)
(#1519) There should be no space before '}'. (@babel/object-curly-spacing)
(#1520) There should be no space after '{'. (@babel/object-curly-spacing)
(#1520) There should be no space before '}'. (@babel/object-curly-spacing)
(#1524) Expected catch,fail,always() or return (promise/catch-or-return)
(#1598) Missing space before opening brace. (space-before-blocks)
(#1599) Missing space before opening brace. (space-before-blocks)
(#1607) Missing space before opening brace. (space-before-blocks)
(#1608) Missing space before opening brace. (space-before-blocks)
(#1616) Missing space before opening brace. (space-before-blocks)
(#1617) Missing space before opening brace. (space-before-blocks)
(#1627) Missing space before opening brace. (space-before-blocks)
(#1738) There should be no space after '{'. (@babel/object-curly-spacing)
(#1739) There should be no space after '{'. (@babel/object-curly-spacing)
(#1798) Expected to return a value at the end of method 'transport'. (consistent-return)
(#1825) Expected catch,fail,always() or return (promise/catch-or-return)
(#1843) Avoid nesting promises. (promise/no-nesting)
(#1843) Each then() should return a value or throw (promise/always-return)
report/lpmonitoring/amd/src/learningplanstats.js
(#105) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#123) Identifier 'competencies_list' is not in camel case. (camelcase)
(#123) Missing space before value for key 'competencies_list'. (key-spacing)
(#161) Missing space before opening brace. (space-before-blocks)
(#184) There should be no space after this paren. (space-in-parens)
(#282) The function binding is unnecessary. (no-extra-bind)
(#286) The function binding is unnecessary. (no-extra-bind)
(#316) The function binding is unnecessary. (no-extra-bind)
(#320) The function binding is unnecessary. (no-extra-bind)
(#353) There should be no space after '{'. (@babel/object-curly-spacing)
(#353) There should be no space before '}'. (@babel/object-curly-spacing)
(#354) There should be no space after '{'. (@babel/object-curly-spacing)
(#354) There should be no space before '}'. (@babel/object-curly-spacing)
(#356) Unexpected space before function parentheses. (space-before-function-paren)
(#373) Missing space before opening brace. (space-before-blocks)
(#443) Expected to return a value at the end of method 'transport'. (consistent-return)
(#458) Expected catch,fail,always() or return (promise/catch-or-return)
(#468) Avoid nesting promises. (promise/no-nesting)
(#468) Each then() should return a value or throw (promise/always-return)
report/lpmonitoring/amd/src/paginated_datatable.js
(#25) Unexpected space before function parentheses. (space-before-function-paren)
(#157) Unexpected whitespace before property i. (no-whitespace-before-property)
(#159) Unexpected whitespace before property i. (no-whitespace-before-property)
(#169) Unexpected space before function parentheses. (space-before-function-paren)
(#175) Unexpected space before function parentheses. (space-before-function-paren)
(#180) Unexpected space before function parentheses. (space-before-function-paren)
(#203) Unexpected space before function parentheses. (space-before-function-paren)
(#208) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#210) Unexpected space before function parentheses. (space-before-function-paren)
(#212) Unexpected space before function parentheses. (space-before-function-paren)
(#224) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#305) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#306) Empty block statement. (no-empty)
(#329) Unexpected space before function parentheses. (space-before-function-paren)
(#339) Unexpected space before function parentheses. (space-before-function-paren)
report/lpmonitoring/amd/src/report_datatable.js
(#28) Unexpected space before function parentheses. (space-before-function-paren)
(#63) There should be no space after this paren. (space-in-parens)
(#63) There should be no space before this paren. (space-in-parens)
(#131) There should be no space after this paren. (space-in-parens)
(#131) There should be no space before this paren. (space-in-parens)
(#132) There should be no space after this paren. (space-in-parens)
(#132) There should be no space before this paren. (space-in-parens)
(#154) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#160) There should be no space after this paren. (space-in-parens)
(#160) There should be no space before this paren. (space-in-parens)
(#191) Expected to return a value at the end of function. (consistent-return)
(#191) There should be no space after this paren. (space-in-parens)
(#191) There should be no space before this paren. (space-in-parens)
(#213) Unexpected space before function parentheses. (space-before-function-paren)
report/lpmonitoring/amd/src/resetgrade_dialogue.js
(#79) Expected space(s) after "if". (keyword-spacing)
report/lpmonitoring/amd/src/scalecolorconfiguration.js
(#204) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#204) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#210) Unexpected space before function parentheses. (space-before-function-paren)
(#212) Extra space after key 'id'. (key-spacing)
(#212) Extra space after key 'color'. (key-spacing)
(#244) Extra space after key 'scrollTop'. (key-spacing)
report/lpmonitoring/amd/src/summary_datatable.js
(#25) Unexpected space before function parentheses. (space-before-function-paren)
(#117) There should be no space after this paren. (space-in-parens)
(#117) There should be no space before this paren. (space-in-parens)
(#147) Unexpected space before function parentheses. (space-before-function-paren)
report/lpmonitoring/amd/src/tags_popup.js
(#36) Identifier 'selector_button' is not in camel case. (camelcase)
(#36) Identifier 'selector_nbtags' is not in camel case. (camelcase)
(#39) Identifier 'selector_nbtags' is not in camel case. (camelcase)
(#39) Identifier 'selector_nbtags' is not in camel case. (camelcase)
(#65) Identifier 'selector_nbtags' is not in camel case. (camelcase)
(#211) Identifier 'selector_button' is not in camel case. (camelcase)
(#211) Identifier 'selector_nbtags' is not in camel case. (camelcase)
report/lpmonitoring/amd/src/user_competency_popup.js
(#65) Extra space after key 'methodname'. (key-spacing)
(#66) There should be no space after '{'. (@babel/object-curly-spacing)
(#66) There should be no space before ','. (comma-spacing)
(#66) There should be no space before '}'. (@babel/object-curly-spacing)
(#71) Expected catch,fail,always() or return (promise/catch-or-return)
(#71) Unexpected space before function parentheses. (space-before-function-paren)
(#75) Each then() should return a value or throw (promise/always-return)
(#109) The function binding is unnecessary. (no-extra-bind)
(#150) Unexpected empty function. (no-empty-function)
(#152) Multiple spaces found before 'UserCompetencyPopup'. (no-multi-spaces)

CSS problems

(127 errors, 5 warnings)

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

report/lpmonitoring/styles.css
(#803) Invalid value for `display` (csstree/validator)
(#257) Expected empty line before at-rule (at-rule-empty-line-before)
(#264) Expected empty line before at-rule (at-rule-empty-line-before)
(#270) Expected empty line before at-rule (at-rule-empty-line-before)
(#365) Expected empty line before at-rule (at-rule-empty-line-before)
(#394) Expected empty line before at-rule (at-rule-empty-line-before)
(#412) Expected empty line before at-rule (at-rule-empty-line-before)
(#424) Expected empty line before at-rule (at-rule-empty-line-before)
(#1481) Expected empty line before at-rule (at-rule-empty-line-before)
(#1494) Expected empty line before at-rule (at-rule-empty-line-before)
(#1505) Expected empty line before at-rule (at-rule-empty-line-before)
(#558) Expected single space before "{" (block-opening-brace-space-before)
(#1614) Expected single space before "{" (block-opening-brace-space-before)
(#250) Expected single space before "{" (block-opening-brace-space-before)
(#1659) Expected "#D9D9D9" to be "#d9d9d9" (color-hex-case)
(#1681) Expected "#FFF" to be "#fff" (color-hex-case)
(#1196) Expected "#333333" to be "#333" (color-hex-length)
(#1211) Expected "#333333" to be "#333" (color-hex-length)
(#1375) Expected single space before "!" (declaration-bang-space-before)
(#372) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#499) Unexpected duplicate "color" (declaration-block-no-duplicate-properties)
(#723) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#724) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#725) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#801) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#802) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#803) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#804) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#805) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#875) Unexpected duplicate "padding" (declaration-block-no-duplicate-properties)
(#956) Unexpected duplicate "zoom" (declaration-block-no-duplicate-properties)
(#1082) Unexpected duplicate "width" (declaration-block-no-duplicate-properties)
(#1135) Unexpected duplicate "zoom" (declaration-block-no-duplicate-properties)
(#1282) Unexpected duplicate "position" (declaration-block-no-duplicate-properties)
(#1289) Unexpected duplicate "position" (declaration-block-no-duplicate-properties)
(#1384) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#1388) Unexpected duplicate "height" (declaration-block-no-duplicate-properties)
(#1512) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#1513) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#1514) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#1515) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#1546) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#1547) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#1548) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#1549) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#1564) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#1565) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#1566) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#1567) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#1538) Unexpected shorthand "flex-flow" after "flex-direction" (declaration-block-no-shorthand-property-overrides)
(#1356) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1476) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#770) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#856) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1261) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#12) Unexpected whitespace before ":" (declaration-colon-space-before)
(#272) Unexpected whitespace before ":" (declaration-colon-space-before)
(#763) Unexpected whitespace before ":" (declaration-colon-space-before)
(#16) Unexpected !important (declaration-no-important)
(#329) Unexpected !important (declaration-no-important)
(#335) Unexpected !important (declaration-no-important)
(#970) Unexpected !important (declaration-no-important)
(#1149) Unexpected !important (declaration-no-important)
(#1191) Unexpected !important (declaration-no-important)
(#1196) Unexpected !important (declaration-no-important)
(#1204) Unexpected !important (declaration-no-important)
(#1211) Unexpected !important (declaration-no-important)
(#1326) Unexpected !important (declaration-no-important)
(#1375) Unexpected !important (declaration-no-important)
(#1376) Unexpected !important (declaration-no-important)
(#1377) Unexpected !important (declaration-no-important)
(#1379) Unexpected !important (declaration-no-important)
(#1383) Unexpected !important (declaration-no-important)
(#1396) Unexpected !important (declaration-no-important)
(#1459) Unexpected !important (declaration-no-important)
(#1465) Unexpected !important (declaration-no-important)
(#1611) Unexpected !important (declaration-no-important)
(#1616) Unexpected !important (declaration-no-important)
(#1635) Unexpected !important (declaration-no-important)
(#1068) Unexpected unit (length-zero-no-unit)
(#652) Unexpected double-slash CSS comment (no-invalid-double-slash-comments)
(#652) Unexpected unknown property "//margin-top" (property-no-unknown)
(#1036) Expected single space after ">" (selector-combinator-space-after)
(#1039) Expected single space after ">" (selector-combinator-space-after)
(#1688) Expected single space after ">" (selector-combinator-space-after)
(#1692) Expected single space after ">" (selector-combinator-space-after)
(#1036) Expected single space before ">" (selector-combinator-space-before)
(#1039) Expected single space before ">" (selector-combinator-space-before)
(#1688) Expected single space before ">" (selector-combinator-space-before)
(#1692) Expected single space before ">" (selector-combinator-space-before)
(#847) Expected newline after "," (selector-list-comma-newline-after)
(#1247) Expected newline after "," (selector-list-comma-newline-after)
(#1306) Expected newline after "," (selector-list-comma-newline-after)
(#1325) Expected newline after "," (selector-list-comma-newline-after)
(#1655) Expected newline after "," (selector-list-comma-newline-after)
(#1655) Expected newline after "," (selector-list-comma-newline-after)
(#1658) Expected newline after "," (selector-list-comma-newline-after)
(#430) Expected indentation of 4 spaces (indentation)
(#431) Expected indentation of 4 spaces (indentation)
(#432) Expected indentation of 4 spaces (indentation)
(#435) Expected indentation of 4 spaces (indentation)
(#443) Expected indentation of 4 spaces (indentation)
(#1050) Expected indentation of 4 spaces (indentation)
(#1053) Expected indentation of 4 spaces (indentation)
(#1056) Expected indentation of 4 spaces (indentation)
(#1059) Expected indentation of 4 spaces (indentation)
(#1062) Expected indentation of 4 spaces (indentation)
(#1260) Expected indentation of 4 spaces (indentation)
(#1261) Expected indentation of 4 spaces (indentation)
(#1262) Expected indentation of 4 spaces (indentation)
(#1263) Expected indentation of 4 spaces (indentation)
(#1264) Expected indentation of 4 spaces (indentation)
(#1265) Expected indentation of 4 spaces (indentation)
(#1268) Expected indentation of 4 spaces (indentation)
(#1269) Expected indentation of 4 spaces (indentation)
(#1270) Expected indentation of 4 spaces (indentation)
(#1271) Expected indentation of 4 spaces (indentation)
(#1275) Expected indentation of 4 spaces (indentation)
(#1276) Expected indentation of 4 spaces (indentation)
(#1277) Expected indentation of 4 spaces (indentation)
(#1278) Expected indentation of 4 spaces (indentation)
(#1281) Expected indentation of 4 spaces (indentation)
(#1282) Expected indentation of 4 spaces (indentation)
(#1283) Expected indentation of 4 spaces (indentation)
(#1284) Expected indentation of 4 spaces (indentation)
(#1288) Expected indentation of 4 spaces (indentation)
(#1289) Expected indentation of 4 spaces (indentation)
(#1290) Expected indentation of 4 spaces (indentation)
(#1291) Expected indentation of 4 spaces (indentation)
(#1295) Expected indentation of 4 spaces (indentation)
(#1296) Expected indentation of 4 spaces (indentation)
report/lpmonitoring/style/userreportpdf.css
(#20) Missed semicolon (CssSyntaxError)

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

(1 errors, 1 warnings)

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

Problems running grunt
Task "gherkinlint" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 57 warnings)

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

report/lpmonitoring/templates/bulk_rating.mustache
(#1) Example context missing.
report/lpmonitoring/templates/comment_area.mustache
(#1) ESLint error []: Parsing error: Unexpected token , ( itemid: ,
report/lpmonitoring/templates/competency_detail.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 36: CSS: “background-color”: Parse Error. ( <span class="badge cr-scalename truncate" style="background-color: "></span)
report/lpmonitoring/templates/competency_detail_stats.mustache
(#1) Example context missing (@template section not found.)
report/lpmonitoring/templates/competency_detail_stats_incourse.mustache
(#1) Example context missing (@template section not found.)
report/lpmonitoring/templates/competency_path.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content
report/lpmonitoring/templates/competency_proficiency.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content
report/lpmonitoring/templates/competency_reset.mustache
(#1) Example context missing.
report/lpmonitoring/templates/datatable.mustache
(#1) Example context missing (@template section not found.)
report/lpmonitoring/templates/filter.mustache
(#1) Example context missing (@template section not found.)
report/lpmonitoring/templates/filter_for_user.mustache
(#1) Example context missing (@template section not found.)
report/lpmonitoring/templates/filter_stats.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 26: Bad value “true” for attribute “checked” on element “input”. ( <input checked="true" type="radio" name="ratingoptions" id="ratinginplanoption" value="0" aria-labelledby="ratingtargetbytemplate"> )
report/lpmonitoring/templates/form-template-selector-suggestion.mustache
(#1) Example context missing.
report/lpmonitoring/templates/form-user-selector-suggestion.mustache
(#1) HTML Validation error, line 3: Bad value “” for attribute “src” on element “img”: Must be non-empty. (ame"> <img height="18" src="" alt="" role="presentation"> <)
(#1) HTML Validation error, line 3: An “img” element which has an “alt” attribute whose value is the empty string must not have a “role” attribute. (ame"> <img height="18" src="" alt="" role="presentation"> <)
report/lpmonitoring/templates/list_cms_in_competency.mustache
(#1) Example context missing (@template section not found.)
report/lpmonitoring/templates/list_cms_in_scale_value.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 5: CSS: “background-color”: Parse Error. (tool_lp)) <span class="badge cr-scalename truncate" style="background-color: "></span)
report/lpmonitoring/templates/list_competencies.mustache
(#1) Example context missing (@template section not found.)
report/lpmonitoring/templates/list_competencies_stats.mustache
(#1) Example context missing (@template section not found.)
report/lpmonitoring/templates/list_courses_in_competency.mustache
(#1) Example context missing (@template section not found.)
report/lpmonitoring/templates/list_courses_in_scale_value.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 5: CSS: “background-color”: Parse Error. (tool_lp)) <span class="badge cr-scalename truncate" style="background-color: "></span)
report/lpmonitoring/templates/list_evidences_in_competency.mustache
(#1) Example context missing (@template section not found.)
report/lpmonitoring/templates/list_users_in_competency_stats.mustache
(#1) Example context missing (@template section not found.)
report/lpmonitoring/templates/list_users_in_scale_value.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 5: CSS: “background-color”: Parse Error. (tool_lp)) <span class="badge cr-scalename truncate" style="background-color: "></span)
report/lpmonitoring/templates/plan_stats_report.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 29: End tag “div” seen, but there were open elements. (ts"><span></div> <)
(#1) HTML Validation error, line 29: Unclosed element “span”. (ck-stats"><span></div>)
report/lpmonitoring/templates/report.mustache
(#1) Example context missing (@template section not found.)
(#1) ESLint warning [space-in-parens]: There should be no space before this paren. ( report.init(false, );
report/lpmonitoring/templates/scale_filter.mustache
(#1) Example context missing (@template section not found.)
report/lpmonitoring/templates/scale_filter_apply.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 6: The “aria-labelledby” attribute must point to an element in the same document. ( <input type="radio" name="optionscalefilter" id="scalefiltercourse" value="1" disabled="disabled" aria-labelledby="scalefilterapply"> )
(#1) HTML Validation error, line 14: The “aria-labelledby” attribute must point to an element in the same document. ( <input type="radio" name="optionscalefilter" id="scalefilterplan" value="0" disabled="disabled" aria-labelledby="scalefilterapply"> )
report/lpmonitoring/templates/scale_filter_sortorder.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 6: The “aria-labelledby” attribute must point to an element in the same document. ( <input type="radio" name="optionscalesortorder" id="scalesortorderasc" value="1" disabled="disabled" aria-labelledby="scalesortorderlabel"> )
(#1) HTML Validation error, line 14: The “aria-labelledby” attribute must point to an element in the same document. ( <input type="radio" name="optionscalesortorder" id="scalesortorderdesc" value="1" disabled="disabled" aria-labelledby="scalesortorderlabel"> )
report/lpmonitoring/templates/scalecolorconfiguration.mustache
(#1) Example context missing (@template section not found.)
report/lpmonitoring/templates/scalecolorconfigurationdetail.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 2: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (ad><body><input type="hidden" value="" name="configid"/></bo)
report/lpmonitoring/templates/stats.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 33: Bad value “true” for attribute “checked” on element “input”. ( <input checked="true" type="radio" name="ratingoptions" id="ratinginplanoption" value="0" aria-labelledby="ratingtargetbytemplate"> )
(#1) ESLint warning [comma-spacing]: There should be no space before ','. ( require(['report_lpmonitoring/learningplanstats' ,'tool_lp/competencydialogue'], function(stats, Compdialogue) {
(#1) ESLint warning [comma-spacing]: A space is required after ','. ( require(['report_lpmonitoring/learningplanstats' ,'tool_lp/competencydialogue'], function(stats, Compdialogue) {
report/lpmonitoring/templates/summary.mustache
(#1) Example context missing (@template section not found.)
report/lpmonitoring/templates/template_selector.mustache
(#1) Example context missing (@template section not found.)
report/lpmonitoring/templates/user_info.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content
report/lpmonitoring/templates/user_report.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 42: Empty heading. ( <h3></h3>)
(#1) ESLint warning [space-in-parens]: There should be no space before this paren. ( report.init(true, );
report/lpmonitoring/templates/user_report_pdf.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 3: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (d><body><style> )
(#1) HTML Validation info, line 6: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (</style><br /><br /)
(#1) HTML Validation info, line 7: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (e><br /><br /><tabl)
(#1) HTML Validation error, line 10: Bad value “” for attribute “src” on element “img”: Must be non-empty. (ss="left"><img src="" /></td>)
(#1) HTML Validation error, line 10: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. (ss="left"><img src="" /></td>)
(#1) HTML Validation info, line 10: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (ss="left"><img src="" /></td>)
(#1) HTML Validation info, line 15: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ((name)) : <br /> )
(#1) HTML Validation info, line 16: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (/> : <br /> <)
(#1) HTML Validation info, line 19: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (m></div><br /></b)
report/lpmonitoring/templates/users_list_navigation.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content

Gherkin .feature problems

(13 errors, 0 warnings)

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

report/lpmonitoring/tests/behat/bulkrating.feature
(#103) New line at EOF(end of file) is required
report/lpmonitoring/tests/behat/plan_comments.feature
(#94) New line at EOF(end of file) is required
report/lpmonitoring/tests/behat/data_table.feature
(#2) Feature name is already used in: report/lpmonitoring/tests/behat/data_table_cm.feature
(#22) Trailing spaces are not allowed
(#108) New line at EOF(end of file) is required
report/lpmonitoring/tests/behat/plan_report.feature
(#2) Feature name is already used in: report/lpmonitoring/tests/behat/data_table_cm.feature, report/lpmonitoring/tests/behat/data_table.feature
report/lpmonitoring/tests/behat/plan_report_cm.feature
(#2) Feature name is already used in: report/lpmonitoring/tests/behat/data_table_cm.feature, report/lpmonitoring/tests/behat/data_table.feature, report/lpmonitoring/tests/behat/plan_report.feature
report/lpmonitoring/tests/behat/plan_reset_ratings.feature
(#48) New line at EOF(end of file) is required
report/lpmonitoring/tests/behat/summary_cm.feature
(#2) Feature name is already used in: report/lpmonitoring/tests/behat/summary.feature
report/lpmonitoring/tests/behat/user_plan_report_cm.feature
(#2) Feature name is already used in: report/lpmonitoring/tests/behat/data_table_cm.feature, report/lpmonitoring/tests/behat/data_table.feature, report/lpmonitoring/tests/behat/plan_report.feature, report/lpmonitoring/tests/behat/plan_report_cm.feature
(#86) New line at EOF(end of file) is required
report/lpmonitoring/tests/behat/user_plan_report.feature
(#2) Feature name is already used in: report/lpmonitoring/tests/behat/data_table_cm.feature, report/lpmonitoring/tests/behat/data_table.feature, report/lpmonitoring/tests/behat/plan_report.feature, report/lpmonitoring/tests/behat/plan_report_cm.feature, report/lpmonitoring/tests/behat/user_plan_report_cm.feature
(#66) New line at EOF(end of file) is required