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, 9 warnings)

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

blocks/tb_slider/lib.php
(#46) Line exceeds 132 characters; contains 145 characters
(#79) Inline comments must start with a capital letter, digit or 3-dots sequence
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Inline comments must start with a capital letter, digit or 3-dots sequence
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#125) Line exceeds 132 characters; contains 160 characters

Javascript coding style problems

(15 errors, 218 warnings)

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

blocks/tb_slider/amd/src/bxslider.js
(#9) Unexpected space before function parentheses. (space-before-function-paren)
(#17) Unexpected space before function parentheses. (space-before-function-paren)
(#18) Unexpected space before function parentheses. (space-before-function-paren)
(#94) Unexpected space before function parentheses. (space-before-function-paren)
(#97) Unexpected space before function parentheses. (space-before-function-paren)
(#100) Unexpected space before function parentheses. (space-before-function-paren)
(#103) Unexpected space before function parentheses. (space-before-function-paren)
(#106) Unexpected space before function parentheses. (space-before-function-paren)
(#109) Unexpected space before function parentheses. (space-before-function-paren)
(#112) Unexpected space before function parentheses. (space-before-function-paren)
(#117) Unexpected space before function parentheses. (space-before-function-paren)
(#125) Unexpected space before function parentheses. (space-before-function-paren)
(#141) Function expected a return value. (consistent-return)
(#153) Unexpected space before function parentheses. (space-before-function-paren)
(#198) Unexpected space before function parentheses. (space-before-function-paren)
(#219) Unexpected space before function parentheses. (space-before-function-paren)
(#230) Function has a complexity of 27. Maximum allowed is 20. (complexity)
(#230) Unexpected space before function parentheses. (space-before-function-paren)
(#231) This line has a length of 136. Maximum allowed is 132. (max-len)
(#340) Unexpected space before function parentheses. (space-before-function-paren)
(#347) Unexpected space before function parentheses. (space-before-function-paren)
(#348) Unexpected space before function parentheses. (space-before-function-paren)
(#352) Unexpected space before function parentheses. (space-before-function-paren)
(#363) Unexpected space before function parentheses. (space-before-function-paren)
(#422) Missing JSDoc @returns for function. (valid-jsdoc)
(#425) Unexpected space before function parentheses. (space-before-function-paren)
(#444) 'i' is not defined. (no-undef)
(#444) 'i' is not defined. (no-undef)
(#444) 'i' is not defined. (no-undef)
(#446) 'i' is not defined. (no-undef)
(#447) 'i' is not defined. (no-undef)
(#449) 'i' is not defined. (no-undef)
(#456) Unexpected space before function parentheses. (space-before-function-paren)
(#456) 'index' is defined but never used. (no-unused-vars)
(#465) Unexpected space before function parentheses. (space-before-function-paren)
(#483) Missing JSDoc @returns for function. (valid-jsdoc)
(#486) Unexpected space before function parentheses. (space-before-function-paren)
(#499) Missing JSDoc @returns for function. (valid-jsdoc)
(#502) Unexpected space before function parentheses. (space-before-function-paren)
(#527) Missing JSDoc @returns for function. (valid-jsdoc)
(#530) Unexpected space before function parentheses. (space-before-function-paren)
(#553) Missing JSDoc @returns for function. (valid-jsdoc)
(#556) Unexpected space before function parentheses. (space-before-function-paren)
(#581) Missing JSDoc @returns for function. (valid-jsdoc)
(#584) Unexpected space before function parentheses. (space-before-function-paren)
(#596) Unexpected space before function parentheses. (space-before-function-paren)
(#636) Missing JSDoc parameter type for 'value'. (valid-jsdoc)
(#639) Missing JSDoc parameter type for 'type'. (valid-jsdoc)
(#642) Missing JSDoc parameter type for 'duration'. (valid-jsdoc)
(#645) Missing JSDoc parameter type for 'params'. (valid-jsdoc)
(#648) Unexpected space before function parentheses. (space-before-function-paren)
(#662) Unexpected space before function parentheses. (space-before-function-paren)
(#681) Unexpected space before function parentheses. (space-before-function-paren)
(#703) Unexpected space before function parentheses. (space-before-function-paren)
(#709) Unexpected space before function parentheses. (space-before-function-paren)
(#721) Unexpected space before function parentheses. (space-before-function-paren)
(#749) Unexpected space before function parentheses. (space-before-function-paren)
(#772) Unexpected space before function parentheses. (space-before-function-paren)
(#800) Unexpected space before function parentheses. (space-before-function-paren)
(#831) Unexpected space before function parentheses. (space-before-function-paren)
(#833) Unexpected space before function parentheses. (space-before-function-paren)
(#833) 'index' is defined but never used. (no-unused-vars)
(#846) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#849) Unexpected space before function parentheses. (space-before-function-paren)
(#864) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#867) Unexpected space before function parentheses. (space-before-function-paren)
(#882) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#885) Unexpected space before function parentheses. (space-before-function-paren)
(#893) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#896) Unexpected space before function parentheses. (space-before-function-paren)
(#904) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#907) Unexpected space before function parentheses. (space-before-function-paren)
(#930) Missing JSDoc parameter type for 'slideIndex'. (valid-jsdoc)
(#933) Unexpected space before function parentheses. (space-before-function-paren)
(#946) Unexpected space before function parentheses. (space-before-function-paren)
(#954) Unexpected space before function parentheses. (space-before-function-paren)
(#987) Missing JSDoc parameter type for 'state'. (valid-jsdoc)
(#990) Unexpected space before function parentheses. (space-before-function-paren)
(#1004) Unexpected space before function parentheses. (space-before-function-paren)
(#1025) Unexpected space before function parentheses. (space-before-function-paren)
(#1028) Unexpected space before function parentheses. (space-before-function-paren)
(#1034) Unexpected space before function parentheses. (space-before-function-paren)
(#1048) Unexpected space before function parentheses. (space-before-function-paren)
(#1056) Unexpected space before function parentheses. (space-before-function-paren)
(#1071) Unexpected space before function parentheses. (space-before-function-paren)
(#1092) Unexpected space before function parentheses. (space-before-function-paren)
(#1096) Unexpected space before function parentheses. (space-before-function-paren)
(#1098) Unexpected space before function parentheses. (space-before-function-paren)
(#1098) 'index' is defined but never used. (no-unused-vars)
(#1112) Unexpected space before function parentheses. (space-before-function-paren)
(#1114) Unexpected space before function parentheses. (space-before-function-paren)
(#1117) Unexpected space before function parentheses. (space-before-function-paren)
(#1117) 'index' is defined but never used. (no-unused-vars)
(#1118) This line has a length of 144. Maximum allowed is 132. (max-len)
(#1134) Missing JSDoc for parameter 'resumeSpeed'. (valid-jsdoc)
(#1137) Unexpected space before function parentheses. (space-before-function-paren)
(#1156) Missing JSDoc @returns for function. (valid-jsdoc)
(#1156) Missing JSDoc for parameter 'el'. (valid-jsdoc)
(#1159) Unexpected space before function parentheses. (space-before-function-paren)
(#1172) Missing JSDoc @returns for function. (valid-jsdoc)
(#1172) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#1175) Expected to return a value at the end of function. (consistent-return)
(#1175) Unexpected space before function parentheses. (space-before-function-paren)
(#1181) Use '===' to compare with null. (no-eq-null)
(#1195) Unexpected space before function parentheses. (space-before-function-paren)
(#1205) Unexpected space before function parentheses. (space-before-function-paren)
(#1216) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#1219) Unexpected space before function parentheses. (space-before-function-paren)
(#1270) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#1273) Unexpected space before function parentheses. (space-before-function-paren)
(#1292) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#1295) Unexpected space before function parentheses. (space-before-function-paren)
(#1334) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#1337) Unexpected space before function parentheses. (space-before-function-paren)
(#1395) This line has a length of 134. Maximum allowed is 132. (max-len)
(#1405) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#1408) Unexpected space before function parentheses. (space-before-function-paren)
(#1408) 'e' is defined but never used. (no-unused-vars)
(#1438) Missing JSDoc parameter type for 'startVisibleIndex'. (valid-jsdoc)
(#1441) Unexpected space before function parentheses. (space-before-function-paren)
(#1453) Missing JSDoc @returns for function. (valid-jsdoc)
(#1456) Missing JSDoc parameter type for 'slideOndex'. (valid-jsdoc)
(#1456) Expected JSDoc for 'slideIndex' but found 'slideOndex'. (valid-jsdoc)
(#1459) Unexpected space before function parentheses. (space-before-function-paren)
(#1484) Missing JSDoc parameter type for 'slideIndex'. (valid-jsdoc)
(#1487) Missing JSDoc parameter type for 'direction'. (valid-jsdoc)
(#1490) Function has a complexity of 31. Maximum allowed is 20. (complexity)
(#1490) Unexpected space before function parentheses. (space-before-function-paren)
(#1554) Unexpected space before function parentheses. (space-before-function-paren)
(#1615) Unexpected space before function parentheses. (space-before-function-paren)
(#1630) Unexpected space before function parentheses. (space-before-function-paren)
(#1645) Missing JSDoc parameter type for 'preventControlUpdate'. (valid-jsdoc)
(#1648) Unexpected space before function parentheses. (space-before-function-paren)
(#1654) Unexpected space before function parentheses. (space-before-function-paren)
(#1672) Missing JSDoc parameter type for 'preventControlUpdate'. (valid-jsdoc)
(#1675) Unexpected space before function parentheses. (space-before-function-paren)
(#1695) Missing JSDoc @returns for function. (valid-jsdoc)
(#1698) Unexpected space before function parentheses. (space-before-function-paren)
(#1702) Missing JSDoc @returns for function. (valid-jsdoc)
(#1705) Unexpected space before function parentheses. (space-before-function-paren)
(#1709) Missing JSDoc @returns for function. (valid-jsdoc)
(#1711) Missing JSDoc parameter type for 'index'. (valid-jsdoc)
(#1714) Unexpected space before function parentheses. (space-before-function-paren)
(#1718) Missing JSDoc @returns for function. (valid-jsdoc)
(#1721) Unexpected space before function parentheses. (space-before-function-paren)
(#1725) Missing JSDoc @returns for function. (valid-jsdoc)
(#1728) Unexpected space before function parentheses. (space-before-function-paren)
(#1735) Unexpected space before function parentheses. (space-before-function-paren)
(#1766) Unexpected space before function parentheses. (space-before-function-paren)
(#1773) Unexpected space before function parentheses. (space-before-function-paren)
(#1815) Missing JSDoc for parameter 'settings'. (valid-jsdoc)
(#1818) Unexpected space before function parentheses. (space-before-function-paren)
(#1841) Unexpected space before function parentheses. (space-before-function-paren)
(#1841) Identifier 'bx_pause' is not in camel case. (camelcase)
(#1841) Identifier 'bx_effect' is not in camel case. (camelcase)
(#1841) Identifier 'bx_speed' is not in camel case. (camelcase)
(#1841) Identifier 'bx_captions' is not in camel case. (camelcase)
(#1841) Identifier 'bx_responsive' is not in camel case. (camelcase)
(#1841) Identifier 'bx_pager' is not in camel case. (camelcase)
(#1841) Identifier 'bx_controls' is not in camel case. (camelcase)
(#1841) Identifier 'bx_auto' is not in camel case. (camelcase)
(#1842) Identifier 'bx_stopAutoOnClick' is not in camel case. (camelcase)
(#1842) Identifier 'bx_useCSS' is not in camel case. (camelcase)
(#1843) Unexpected space before function parentheses. (space-before-function-paren)
(#1845) Identifier 'bx_pause' is not in camel case. (camelcase)
(#1846) Identifier 'bx_effect' is not in camel case. (camelcase)
(#1847) Identifier 'bx_speed' is not in camel case. (camelcase)
(#1848) Identifier 'bx_captions' is not in camel case. (camelcase)
(#1849) Identifier 'bx_responsive' is not in camel case. (camelcase)
(#1850) Identifier 'bx_pager' is not in camel case. (camelcase)
(#1851) Identifier 'bx_controls' is not in camel case. (camelcase)
(#1852) Identifier 'bx_auto' is not in camel case. (camelcase)
(#1853) Identifier 'bx_stopAutoOnClick' is not in camel case. (camelcase)
(#1855) Identifier 'bx_useCSS' is not in camel case. (camelcase)
(#1856) Unexpected space before function parentheses. (space-before-function-paren)
blocks/tb_slider/amd/src/slides.js
(#9) Unexpected space before function parentheses. (space-before-function-paren)
(#13) Unexpected space before function parentheses. (space-before-function-paren)
(#14) Unexpected space before function parentheses. (space-before-function-paren)
(#48) Unexpected space before function parentheses. (space-before-function-paren)
(#48) Unexpected empty method 'loaded'. (no-empty-function)
(#50) Unexpected space before function parentheses. (space-before-function-paren)
(#50) Unexpected empty method 'start'. (no-empty-function)
(#52) Unexpected space before function parentheses. (space-before-function-paren)
(#52) Unexpected empty method 'complete'. (no-empty-function)
(#56) Unexpected space before function parentheses. (space-before-function-paren)
(#58) Missing JSDoc comment. (require-jsdoc)
(#69) Unexpected space before function parentheses. (space-before-function-paren)
(#102) Unexpected space before function parentheses. (space-before-function-paren)
(#108) Unexpected space before function parentheses. (space-before-function-paren)
(#111) Unexpected space before function parentheses. (space-before-function-paren)
(#114) Unexpected space before function parentheses. (space-before-function-paren)
(#124) Unexpected space before function parentheses. (space-before-function-paren)
(#143) Unexpected space before function parentheses. (space-before-function-paren)
(#148) Unexpected space before function parentheses. (space-before-function-paren)
(#166) Unexpected space before function parentheses. (space-before-function-paren)
(#170) Unexpected space before function parentheses. (space-before-function-paren)
(#184) Unexpected space before function parentheses. (space-before-function-paren)
(#194) Unexpected space before function parentheses. (space-before-function-paren)
(#201) Unexpected space before function parentheses. (space-before-function-paren)
(#210) Unexpected space before function parentheses. (space-before-function-paren)
(#218) Unexpected space before function parentheses. (space-before-function-paren)
(#236) Unexpected space before function parentheses. (space-before-function-paren)
(#250) Unexpected space before function parentheses. (space-before-function-paren)
(#264) Expected to return a value at the end of function. (consistent-return)
(#264) Unexpected space before function parentheses. (space-before-function-paren)
(#298) Unexpected space before function parentheses. (space-before-function-paren)
(#320) Unexpected space before function parentheses. (space-before-function-paren)
(#331) Unexpected space before function parentheses. (space-before-function-paren)
(#357) Unexpected space before function parentheses. (space-before-function-paren)
(#368) Unexpected space before function parentheses. (space-before-function-paren)
(#385) Expected to return a value at the end of function. (consistent-return)
(#385) Unexpected space before function parentheses. (space-before-function-paren)
(#400) Unexpected space before function parentheses. (space-before-function-paren)
(#412) Unexpected space before function parentheses. (space-before-function-paren)
(#415) Unexpected space before function parentheses. (space-before-function-paren)
(#417) Unexpected space before function parentheses. (space-before-function-paren)
(#433) Expected to return a value at the end of function. (consistent-return)
(#433) Unexpected space before function parentheses. (space-before-function-paren)
(#449) Expected to return a value at the end of function. (consistent-return)
(#449) Unexpected space before function parentheses. (space-before-function-paren)
(#496) Unexpected space before function parentheses. (space-before-function-paren)
(#524) Unexpected space before function parentheses. (space-before-function-paren)
(#541) Expected to return a value at the end of function. (consistent-return)
(#541) Unexpected space before function parentheses. (space-before-function-paren)
(#575) Unexpected space before function parentheses. (space-before-function-paren)
(#585) Unexpected space before function parentheses. (space-before-function-paren)
(#587) Unexpected space before function parentheses. (space-before-function-paren)
(#600) Unexpected space before function parentheses. (space-before-function-paren)
(#616) Unexpected space before function parentheses. (space-before-function-paren)
(#617) Expected to return a value at the end of function. (consistent-return)
(#617) Unexpected space before function parentheses. (space-before-function-paren)
(#628) Unexpected space before function parentheses. (space-before-function-paren)
(#630) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 0 warnings)

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


Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

Problems running grunt
Task "eslint:amd" 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]