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

(137 errors, 108 warnings)

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

local/och5pcore/lib/js/H5PEditor.AV.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#7) 'H5PEditor' is not defined. (no-undef)
(#11) Missing JSDoc comment. (require-jsdoc)
(#14) 'H5PEditor' is not defined. (no-undef)
(#14) A space is required after ','. (comma-spacing)
(#15) 'H5PEditor' is not defined. (no-undef)
(#15) A space is required after ','. (comma-spacing)
(#24) 'H5PEditor' is not defined. (no-undef)
(#27) Missing JSDoc comment. (require-jsdoc)
(#42) Trailing spaces not allowed. (no-trailing-spaces)
(#45) Missing JSDoc comment. (require-jsdoc)
(#47) Trailing spaces not allowed. (no-trailing-spaces)
(#48) 'H5PEditor' is not defined. (no-undef)
(#58) Missing JSDoc comment. (require-jsdoc)
(#71) Unexpected console statement. (no-console)
(#77) 'status' is defined but never used. (no-unused-vars)
(#77) 'error' is defined but never used. (no-unused-vars)
(#81) Unexpected console statement. (no-console)
(#87) Function 'opencastAjaxCallSync' expected no return value. (consistent-return)
(#89) Trailing spaces not allowed. (no-trailing-spaces)
(#90) Missing JSDoc comment. (require-jsdoc)
(#100) This line has a length of 138. Maximum allowed is 132. (max-len)
(#100) 'H5PEditor' is not defined. (no-undef)
(#101) This line has a length of 135. Maximum allowed is 132. (max-len)
(#105) 'H5PEditor' is not defined. (no-undef)
(#106) This line has a length of 133. Maximum allowed is 132. (max-len)
(#109) This line has a length of 138. Maximum allowed is 132. (max-len)
(#109) 'H5PEditor' is not defined. (no-undef)
(#114) Multiple spaces found before ''<div class="h5p-oc-horizontal-separator"></div>''. (no-multi-spaces)
(#118) 'H5PEditor' is not defined. (no-undef)
(#123) This line has a length of 156. Maximum allowed is 132. (max-len)
(#123) 'H5PEditor' is not defined. (no-undef)
(#127) Trailing spaces not allowed. (no-trailing-spaces)
(#128) Operator '+' must be spaced. (space-infix-ops)
(#132) 'H5PEditor' is not defined. (no-undef)
(#132) Unexpected space before function parentheses. (space-before-function-paren)
(#133) Trailing spaces not allowed. (no-trailing-spaces)
(#135) 'H5PEditor' is not defined. (no-undef)
(#140) 'H5PEditor' is not defined. (no-undef)
(#144) 'H5PEditor' is not defined. (no-undef)
(#146) There should be no space after this paren. (space-in-parens)
(#147) 'H5PEditor' is not defined. (no-undef)
(#150) 'H5PEditor' is not defined. (no-undef)
(#150) Unexpected space before function parentheses. (space-before-function-paren)
(#151) This line has a length of 226. Maximum allowed is 132. (max-len)
(#151) 'ns' is not defined. (no-undef)
(#151) 'H5PEditor' is not defined. (no-undef)
(#156) This line has a length of 152. Maximum allowed is 132. (max-len)
(#156) 'H5PEditor' is not defined. (no-undef)
(#157) 'H5PEditor' is not defined. (no-undef)
(#161) Trailing spaces not allowed. (no-trailing-spaces)
(#167) 'H5PEditor' is not defined. (no-undef)
(#167) Unexpected space before function parentheses. (space-before-function-paren)
(#169) 'ns' is not defined. (no-undef)
(#170) Trailing spaces not allowed. (no-trailing-spaces)
(#173) This line has a length of 240. Maximum allowed is 132. (max-len)
(#173) 'H5PEditor' is not defined. (no-undef)
(#173) 'H5PEditor' is not defined. (no-undef)
(#173) Missing semicolon. (semi)
(#174) Trailing spaces not allowed. (no-trailing-spaces)
(#176) 'H5PEditor' is not defined. (no-undef)
(#178) Trailing spaces not allowed. (no-trailing-spaces)
(#180) 'H5PEditor' is not defined. (no-undef)
(#182) Trailing spaces not allowed. (no-trailing-spaces)
(#183) 'H5PEditor' is not defined. (no-undef)
(#185) Trailing spaces not allowed. (no-trailing-spaces)
(#187) Unexpected space before function parentheses. (space-before-function-paren)
(#190) Trailing spaces not allowed. (no-trailing-spaces)
(#196) Trailing spaces not allowed. (no-trailing-spaces)
(#199) Trailing spaces not allowed. (no-trailing-spaces)
(#204) Unexpected space before function parentheses. (space-before-function-paren)
(#207) Trailing spaces not allowed. (no-trailing-spaces)
(#211) Unexpected space before function parentheses. (space-before-function-paren)
(#216) Trailing spaces not allowed. (no-trailing-spaces)
(#220) Trailing spaces not allowed. (no-trailing-spaces)
(#225) Trailing spaces not allowed. (no-trailing-spaces)
(#233) Trailing spaces not allowed. (no-trailing-spaces)
(#237) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#240) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#244) Missing semicolon. (semi)
(#245) Trailing spaces not allowed. (no-trailing-spaces)
(#246) Missing JSDoc for parameter 'el'. (valid-jsdoc)
(#249) Unexpected space before function parentheses. (space-before-function-paren)
(#255) Missing semicolon. (semi)
(#256) Trailing spaces not allowed. (no-trailing-spaces)
(#258) Unexpected space before function parentheses. (space-before-function-paren)
(#262) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#266) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#272) Trailing spaces not allowed. (no-trailing-spaces)
(#274) Trailing spaces not allowed. (no-trailing-spaces)
(#278) Trailing spaces not allowed. (no-trailing-spaces)
(#280) Trailing spaces not allowed. (no-trailing-spaces)
(#285) Unexpected space before function parentheses. (space-before-function-paren)
(#286) 'H5PEditor' is not defined. (no-undef)
(#287) This line has a length of 139. Maximum allowed is 132. (max-len)
(#288) Unexpected space before function parentheses. (space-before-function-paren)
(#294) Missing semicolon. (semi)
(#295) Trailing spaces not allowed. (no-trailing-spaces)
(#298) 'H5PEditor' is not defined. (no-undef)
(#303) Trailing spaces not allowed. (no-trailing-spaces)
(#305) Unexpected space before function parentheses. (space-before-function-paren)
(#309) Trailing spaces not allowed. (no-trailing-spaces)
(#312) Unexpected space before function parentheses. (space-before-function-paren)
(#316) Unexpected space before function parentheses. (space-before-function-paren)
(#320) Unexpected space before function parentheses. (space-before-function-paren)
(#323) Unexpected space before function parentheses. (space-before-function-paren)
(#329) Unexpected space before function parentheses. (space-before-function-paren)
(#336) Identifier '$oc_video_wrapper' is not in camel case. (camelcase)
(#337) Identifier '$oc_course_list' is not in camel case. (camelcase)
(#337) Identifier '$oc_video_wrapper' is not in camel case. (camelcase)
(#338) Identifier '$oc_video' is not in camel case. (camelcase)
(#338) Identifier '$oc_video_wrapper' is not in camel case. (camelcase)
(#339) Identifier '$oc_video_quality' is not in camel case. (camelcase)
(#339) Identifier '$oc_video_wrapper' is not in camel case. (camelcase)
(#341) Identifier '$oc_course_list' is not in camel case. (camelcase)
(#341) Unexpected space before function parentheses. (space-before-function-paren)
(#345) Identifier '$oc_video' is not in camel case. (camelcase)
(#346) Identifier '$oc_video' is not in camel case. (camelcase)
(#347) Identifier '$oc_video_quality' is not in camel case. (camelcase)
(#348) Identifier '$oc_video_quality' is not in camel case. (camelcase)
(#354) Identifier '$oc_video' is not in camel case. (camelcase)
(#355) Unexpected space before function parentheses. (space-before-function-paren)
(#355) 'index' is defined but never used. (no-unused-vars)
(#356) Identifier '$oc_video' is not in camel case. (camelcase)
(#359) Identifier '$oc_video' is not in camel case. (camelcase)
(#362) A space is required after ','. (comma-spacing)
(#366) Identifier '$oc_video' is not in camel case. (camelcase)
(#366) Unexpected space before function parentheses. (space-before-function-paren)
(#370) Identifier '$oc_video_quality' is not in camel case. (camelcase)
(#371) Identifier '$oc_video_quality' is not in camel case. (camelcase)
(#377) Identifier '$oc_video_quality' is not in camel case. (camelcase)
(#378) Unexpected space before function parentheses. (space-before-function-paren)
(#378) 'index' is defined but never used. (no-unused-vars)
(#379) Identifier '$oc_video_quality' is not in camel case. (camelcase)
(#384) Identifier '$oc_video_quality' is not in camel case. (camelcase)
(#388) Identifier '$oc_video_quality' is not in camel case. (camelcase)
(#391) A space is required after ','. (comma-spacing)
(#395) Identifier '$oc_video_quality' is not in camel case. (camelcase)
(#395) Unexpected space before function parentheses. (space-before-function-paren)
(#400) Unexpected space before function parentheses. (space-before-function-paren)
(#400) Identifier 'video_obj' is not in camel case. (camelcase)
(#400) 'index' is defined but never used. (no-unused-vars)
(#407) Unexpected space before function parentheses. (space-before-function-paren)
(#413) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#420) Trailing spaces not allowed. (no-trailing-spaces)
(#423) Trailing spaces not allowed. (no-trailing-spaces)
(#424) Trailing spaces not allowed. (no-trailing-spaces)
(#426) Trailing spaces not allowed. (no-trailing-spaces)
(#431) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#435) Trailing spaces not allowed. (no-trailing-spaces)
(#437) Unexpected space before function parentheses. (space-before-function-paren)
(#441) Trailing spaces not allowed. (no-trailing-spaces)
(#442) 'ns' is not defined. (no-undef)
(#442) Unexpected space before function parentheses. (space-before-function-paren)
(#445) Trailing spaces not allowed. (no-trailing-spaces)
(#451) 'H5PEditor' is not defined. (no-undef)
(#451) Unexpected space before function parentheses. (space-before-function-paren)
(#470) Expected space or tab after '//' in comment. (spaced-comment)
(#471) 'H5PEditor' is not defined. (no-undef)
(#471) Unexpected space before function parentheses. (space-before-function-paren)
(#483) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#486) 'H5PEditor' is not defined. (no-undef)
(#487) 'H5PEditor' is not defined. (no-undef)
(#488) 'H5PEditor' is not defined. (no-undef)
(#489) 'H5PEditor' is not defined. (no-undef)
(#494) Trailing spaces not allowed. (no-trailing-spaces)
(#511) Missing semicolon. (semi)
(#517) Trailing spaces not allowed. (no-trailing-spaces)
(#528) 'H5PEditor' is not defined. (no-undef)
(#528) Unexpected space before function parentheses. (space-before-function-paren)
(#532) 'H5PEditor' is not defined. (no-undef)
(#533) 'H5PEditor' is not defined. (no-undef)
(#533) There should be no space after '{'. (object-curly-spacing)
(#533) There should be no space before '}'. (object-curly-spacing)
(#537) 'H5PEditor' is not defined. (no-undef)
(#537) Unexpected space before function parentheses. (space-before-function-paren)
(#541) Trailing spaces not allowed. (no-trailing-spaces)
(#544) Comments should not begin with a lowercase character. (capitalized-comments)
(#544) Expected space or tab after '//' in comment. (spaced-comment)
(#546) Identifier 'oc_identifier' is not in camel case. (camelcase)
(#547) Identifier 'oc_identifier' is not in camel case. (camelcase)
(#555) Trailing spaces not allowed. (no-trailing-spaces)
(#560) Unexpected space before function parentheses. (space-before-function-paren)
(#566) Unexpected space before function parentheses. (space-before-function-paren)
(#574) Comments should not begin with a lowercase character. (capitalized-comments)
(#575) Trailing spaces not allowed. (no-trailing-spaces)
(#582) Trailing spaces not allowed. (no-trailing-spaces)
(#585) Identifier 'thumbnail_mimetype' is not in camel case. (camelcase)
(#585) Multiple spaces found before ''Opencast''. (no-multi-spaces)
(#588) Identifier 'thumbnail_mimetype' is not in camel case. (camelcase)
(#589) 'H5PEditor' is not defined. (no-undef)
(#593) 'H5PEditor' is not defined. (no-undef)
(#594) This line has a length of 146. Maximum allowed is 132. (max-len)
(#594) 'H5PEditor' is not defined. (no-undef)
(#598) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#603) 'H5PEditor' is not defined. (no-undef)
(#607) Trailing spaces not allowed. (no-trailing-spaces)
(#612) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#616) Trailing spaces not allowed. (no-trailing-spaces)
(#618) Trailing spaces not allowed. (no-trailing-spaces)
(#622) Unexpected space before function parentheses. (space-before-function-paren)
(#629) Trailing spaces not allowed. (no-trailing-spaces)
(#637) Trailing spaces not allowed. (no-trailing-spaces)
(#641) Unexpected space before function parentheses. (space-before-function-paren)
(#645) Trailing spaces not allowed. (no-trailing-spaces)
(#648) Trailing spaces not allowed. (no-trailing-spaces)
(#649) Comments should not begin with a lowercase character. (capitalized-comments)
(#652) Unexpected space before function parentheses. (space-before-function-paren)
(#653) There should be no space after '{'. (object-curly-spacing)
(#653) There should be no space before '}'. (object-curly-spacing)
(#655) Trailing spaces not allowed. (no-trailing-spaces)
(#657) 'H5P' is not defined. (no-undef)
(#658) 'H5PEditor' is not defined. (no-undef)
(#659) 'H5PEditor' is not defined. (no-undef)
(#661) Trailing spaces not allowed. (no-trailing-spaces)
(#663) Unexpected space before function parentheses. (space-before-function-paren)
(#670) Trailing spaces not allowed. (no-trailing-spaces)
(#671) 'H5P' is not defined. (no-undef)
local/och5pcore/lib/js/H5PRunLTI.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#4) Missing JSDoc comment. (require-jsdoc)
(#8) Use '===' to compare with null. (no-eq-null)
(#19) Missing JSDoc comment. (require-jsdoc)
(#20) Trailing spaces not allowed. (no-trailing-spaces)
(#23) 'H5P' is not defined. (no-undef)
(#26) 'H5P' is not defined. (no-undef)
(#30) 'H5P' is not defined. (no-undef)
(#31) 'H5P' is not defined. (no-undef)
(#45) Unexpected console statement. (no-console)
(#48) Unexpected console statement. (no-console)
(#50) Unexpected space before function parentheses. (space-before-function-paren)
(#50) 'status' is defined but never used. (no-unused-vars)
(#50) 'error' is defined but never used. (no-unused-vars)
(#54) Unexpected console statement. (no-console)
(#62) Missing JSDoc comment. (require-jsdoc)
(#72) 'contextId' used outside of binding context. (block-scoped-var)
(#77) 'contextId' used outside of binding context. (block-scoped-var)
(#79) 'contextId' is already defined. (no-redeclare)
(#103) 'contextId' used outside of binding context. (block-scoped-var)
(#104) 'contextId' used outside of binding context. (block-scoped-var)
(#109) Missing JSDoc comment. (require-jsdoc)
(#115) Unexpected console statement. (no-console)
(#120) 'status' is defined but never used. (no-unused-vars)
(#120) 'error' is defined but never used. (no-unused-vars)
(#121) Unexpected console statement. (no-console)
(#129) 'H5P' is not defined. (no-undef)

CSS problems

(6 errors, 0 warnings)

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

local/och5pcore/lib/style/H5PEditor.AV.css
(#17) Unexpected !important (declaration-no-important)
(#58) Unexpected !important (declaration-no-important)
(#59) Unexpected !important (declaration-no-important)
(#63) Unexpected !important (declaration-no-important)
local/och5pcore/lib/style/oc-fonts.css
(#4) Expected newline after ":" with a multi-line declaration (declaration-colon-newline-after)
(#4) Unexpected whitespace at end of line (no-eol-whitespace)

PHPDocs style problems

(0 errors, 0 warnings)

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


Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

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