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

(15 errors, 218 warnings)

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

blocks/slider/amd/src/bxslider.js
(#8) Unexpected space before function parentheses. (space-before-function-paren)
(#16) Unexpected space before function parentheses. (space-before-function-paren)
(#17) Unexpected space before function parentheses. (space-before-function-paren)
(#93) Unexpected space before function parentheses. (space-before-function-paren)
(#96) Unexpected space before function parentheses. (space-before-function-paren)
(#99) Unexpected space before function parentheses. (space-before-function-paren)
(#102) Unexpected space before function parentheses. (space-before-function-paren)
(#105) 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)
(#116) Unexpected space before function parentheses. (space-before-function-paren)
(#124) Unexpected space before function parentheses. (space-before-function-paren)
(#140) Function expected a return value. (consistent-return)
(#152) Unexpected space before function parentheses. (space-before-function-paren)
(#197) Unexpected space before function parentheses. (space-before-function-paren)
(#218) Unexpected space before function parentheses. (space-before-function-paren)
(#229) Function has a complexity of 22. (complexity)
(#229) Unexpected space before function parentheses. (space-before-function-paren)
(#230) Line 230 exceeds the maximum line length of 132. (max-len)
(#339) Unexpected space before function parentheses. (space-before-function-paren)
(#346) Unexpected space before function parentheses. (space-before-function-paren)
(#347) Unexpected space before function parentheses. (space-before-function-paren)
(#351) Unexpected space before function parentheses. (space-before-function-paren)
(#362) Unexpected space before function parentheses. (space-before-function-paren)
(#421) Missing JSDoc @returns for function. (valid-jsdoc)
(#424) Unexpected space before function parentheses. (space-before-function-paren)
(#443) 'i' is not defined. (no-undef)
(#443) 'i' is not defined. (no-undef)
(#443) 'i' is not defined. (no-undef)
(#445) 'i' is not defined. (no-undef)
(#446) 'i' is not defined. (no-undef)
(#448) 'i' is not defined. (no-undef)
(#455) Unexpected space before function parentheses. (space-before-function-paren)
(#455) 'index' is defined but never used. (no-unused-vars)
(#464) Unexpected space before function parentheses. (space-before-function-paren)
(#482) Missing JSDoc @returns for function. (valid-jsdoc)
(#485) Unexpected space before function parentheses. (space-before-function-paren)
(#498) Missing JSDoc @returns for function. (valid-jsdoc)
(#501) Unexpected space before function parentheses. (space-before-function-paren)
(#526) Missing JSDoc @returns for function. (valid-jsdoc)
(#529) Unexpected space before function parentheses. (space-before-function-paren)
(#552) Missing JSDoc @returns for function. (valid-jsdoc)
(#555) Unexpected space before function parentheses. (space-before-function-paren)
(#580) Missing JSDoc @returns for function. (valid-jsdoc)
(#583) Unexpected space before function parentheses. (space-before-function-paren)
(#595) Unexpected space before function parentheses. (space-before-function-paren)
(#631) Missing JSDoc parameter type for 'value'. (valid-jsdoc)
(#631) Missing JSDoc parameter type for 'type'. (valid-jsdoc)
(#631) Missing JSDoc parameter type for 'duration'. (valid-jsdoc)
(#631) Missing JSDoc parameter type for 'params'. (valid-jsdoc)
(#647) Unexpected space before function parentheses. (space-before-function-paren)
(#661) Unexpected space before function parentheses. (space-before-function-paren)
(#680) Unexpected space before function parentheses. (space-before-function-paren)
(#702) Unexpected space before function parentheses. (space-before-function-paren)
(#708) Unexpected space before function parentheses. (space-before-function-paren)
(#720) Unexpected space before function parentheses. (space-before-function-paren)
(#748) Unexpected space before function parentheses. (space-before-function-paren)
(#771) Unexpected space before function parentheses. (space-before-function-paren)
(#799) Unexpected space before function parentheses. (space-before-function-paren)
(#830) Unexpected space before function parentheses. (space-before-function-paren)
(#832) Unexpected space before function parentheses. (space-before-function-paren)
(#832) 'index' is defined but never used. (no-unused-vars)
(#842) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#848) Unexpected space before function parentheses. (space-before-function-paren)
(#860) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#866) Unexpected space before function parentheses. (space-before-function-paren)
(#878) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#884) Unexpected space before function parentheses. (space-before-function-paren)
(#889) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#895) Unexpected space before function parentheses. (space-before-function-paren)
(#900) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#906) Unexpected space before function parentheses. (space-before-function-paren)
(#926) Missing JSDoc parameter type for 'slideIndex'. (valid-jsdoc)
(#932) Unexpected space before function parentheses. (space-before-function-paren)
(#945) Unexpected space before function parentheses. (space-before-function-paren)
(#953) Unexpected space before function parentheses. (space-before-function-paren)
(#983) Missing JSDoc parameter type for 'state'. (valid-jsdoc)
(#989) Unexpected space before function parentheses. (space-before-function-paren)
(#1003) Unexpected space before function parentheses. (space-before-function-paren)
(#1024) Unexpected space before function parentheses. (space-before-function-paren)
(#1027) Unexpected space before function parentheses. (space-before-function-paren)
(#1033) Unexpected space before function parentheses. (space-before-function-paren)
(#1047) Unexpected space before function parentheses. (space-before-function-paren)
(#1055) Unexpected space before function parentheses. (space-before-function-paren)
(#1070) Unexpected space before function parentheses. (space-before-function-paren)
(#1091) Unexpected space before function parentheses. (space-before-function-paren)
(#1095) Unexpected space before function parentheses. (space-before-function-paren)
(#1097) Unexpected space before function parentheses. (space-before-function-paren)
(#1097) 'index' is defined but never used. (no-unused-vars)
(#1111) Unexpected space before function parentheses. (space-before-function-paren)
(#1113) Unexpected space before function parentheses. (space-before-function-paren)
(#1116) Unexpected space before function parentheses. (space-before-function-paren)
(#1116) 'index' is defined but never used. (no-unused-vars)
(#1117) Line 1117 exceeds the maximum line length of 132. (max-len)
(#1133) Missing JSDoc for parameter 'resumeSpeed'. (valid-jsdoc)
(#1136) Unexpected space before function parentheses. (space-before-function-paren)
(#1155) Missing JSDoc @returns for function. (valid-jsdoc)
(#1155) Missing JSDoc for parameter 'el'. (valid-jsdoc)
(#1158) Unexpected space before function parentheses. (space-before-function-paren)
(#1171) Missing JSDoc @returns for function. (valid-jsdoc)
(#1171) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#1174) Expected to return a value at the end of function. (consistent-return)
(#1174) Unexpected space before function parentheses. (space-before-function-paren)
(#1180) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#1194) Unexpected space before function parentheses. (space-before-function-paren)
(#1204) Unexpected space before function parentheses. (space-before-function-paren)
(#1212) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#1218) Unexpected space before function parentheses. (space-before-function-paren)
(#1266) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#1272) Unexpected space before function parentheses. (space-before-function-paren)
(#1288) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#1294) Unexpected space before function parentheses. (space-before-function-paren)
(#1330) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#1336) Unexpected space before function parentheses. (space-before-function-paren)
(#1394) Line 1394 exceeds the maximum line length of 132. (max-len)
(#1404) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#1407) Unexpected space before function parentheses. (space-before-function-paren)
(#1407) 'e' is defined but never used. (no-unused-vars)
(#1434) Missing JSDoc parameter type for 'startVisibleIndex'. (valid-jsdoc)
(#1440) Unexpected space before function parentheses. (space-before-function-paren)
(#1452) Missing JSDoc parameter type for 'slideOndex'. (valid-jsdoc)
(#1452) Missing JSDoc @returns for function. (valid-jsdoc)
(#1452) Expected JSDoc for 'slideIndex' but found 'slideOndex'. (valid-jsdoc)
(#1458) Unexpected space before function parentheses. (space-before-function-paren)
(#1480) Missing JSDoc parameter type for 'slideIndex'. (valid-jsdoc)
(#1480) Missing JSDoc parameter type for 'direction'. (valid-jsdoc)
(#1489) Function has a complexity of 23. (complexity)
(#1489) Unexpected space before function parentheses. (space-before-function-paren)
(#1553) Unexpected space before function parentheses. (space-before-function-paren)
(#1614) Unexpected space before function parentheses. (space-before-function-paren)
(#1629) Unexpected space before function parentheses. (space-before-function-paren)
(#1641) Missing JSDoc parameter type for 'preventControlUpdate'. (valid-jsdoc)
(#1647) Unexpected space before function parentheses. (space-before-function-paren)
(#1653) Unexpected space before function parentheses. (space-before-function-paren)
(#1668) Missing JSDoc parameter type for 'preventControlUpdate'. (valid-jsdoc)
(#1674) Unexpected space before function parentheses. (space-before-function-paren)
(#1694) Missing JSDoc @returns for function. (valid-jsdoc)
(#1697) Unexpected space before function parentheses. (space-before-function-paren)
(#1701) Missing JSDoc @returns for function. (valid-jsdoc)
(#1704) Unexpected space before function parentheses. (space-before-function-paren)
(#1708) Missing JSDoc parameter type for 'index'. (valid-jsdoc)
(#1708) Missing JSDoc @returns for function. (valid-jsdoc)
(#1713) Unexpected space before function parentheses. (space-before-function-paren)
(#1717) Missing JSDoc @returns for function. (valid-jsdoc)
(#1720) Unexpected space before function parentheses. (space-before-function-paren)
(#1724) Missing JSDoc @returns for function. (valid-jsdoc)
(#1727) Unexpected space before function parentheses. (space-before-function-paren)
(#1734) Unexpected space before function parentheses. (space-before-function-paren)
(#1765) Unexpected space before function parentheses. (space-before-function-paren)
(#1772) Unexpected space before function parentheses. (space-before-function-paren)
(#1814) Missing JSDoc for parameter 'settings'. (valid-jsdoc)
(#1817) Unexpected space before function parentheses. (space-before-function-paren)
(#1840) Unexpected space before function parentheses. (space-before-function-paren)
(#1840) Identifier 'bx_pause' is not in camel case. (camelcase)
(#1840) Identifier 'bx_effect' is not in camel case. (camelcase)
(#1840) Identifier 'bx_speed' is not in camel case. (camelcase)
(#1840) Identifier 'bx_captions' is not in camel case. (camelcase)
(#1840) Identifier 'bx_responsive' is not in camel case. (camelcase)
(#1840) Identifier 'bx_pager' is not in camel case. (camelcase)
(#1840) Identifier 'bx_controls' is not in camel case. (camelcase)
(#1840) Identifier 'bx_auto' is not in camel case. (camelcase)
(#1841) Identifier 'bx_stopAutoOnClick' is not in camel case. (camelcase)
(#1841) Identifier 'bx_useCSS' is not in camel case. (camelcase)
(#1842) Unexpected space before function parentheses. (space-before-function-paren)
(#1844) Identifier 'bx_pause' is not in camel case. (camelcase)
(#1845) Identifier 'bx_effect' is not in camel case. (camelcase)
(#1846) Identifier 'bx_speed' is not in camel case. (camelcase)
(#1847) Identifier 'bx_captions' is not in camel case. (camelcase)
(#1848) Identifier 'bx_responsive' is not in camel case. (camelcase)
(#1849) Identifier 'bx_pager' is not in camel case. (camelcase)
(#1850) Identifier 'bx_controls' is not in camel case. (camelcase)
(#1851) Identifier 'bx_auto' is not in camel case. (camelcase)
(#1852) Identifier 'bx_stopAutoOnClick' is not in camel case. (camelcase)
(#1854) Identifier 'bx_useCSS' is not in camel case. (camelcase)
(#1855) Unexpected space before function parentheses. (space-before-function-paren)
blocks/slider/amd/src/slides.js
(#8) Unexpected space before function parentheses. (space-before-function-paren)
(#12) Unexpected space before function parentheses. (space-before-function-paren)
(#13) Unexpected space before function parentheses. (space-before-function-paren)
(#47) Unexpected space before function parentheses. (space-before-function-paren)
(#47) Unexpected empty method 'loaded'. (no-empty-function)
(#49) Unexpected space before function parentheses. (space-before-function-paren)
(#49) Unexpected empty method 'start'. (no-empty-function)
(#51) Unexpected space before function parentheses. (space-before-function-paren)
(#51) Unexpected empty method 'complete'. (no-empty-function)
(#55) Unexpected space before function parentheses. (space-before-function-paren)
(#57) Missing JSDoc comment. (require-jsdoc)
(#68) Unexpected space before function parentheses. (space-before-function-paren)
(#101) Unexpected space before function parentheses. (space-before-function-paren)
(#107) Unexpected space before function parentheses. (space-before-function-paren)
(#110) Unexpected space before function parentheses. (space-before-function-paren)
(#113) Unexpected space before function parentheses. (space-before-function-paren)
(#123) Unexpected space before function parentheses. (space-before-function-paren)
(#142) Unexpected space before function parentheses. (space-before-function-paren)
(#147) Unexpected space before function parentheses. (space-before-function-paren)
(#165) Unexpected space before function parentheses. (space-before-function-paren)
(#169) Unexpected space before function parentheses. (space-before-function-paren)
(#183) Unexpected space before function parentheses. (space-before-function-paren)
(#193) Unexpected space before function parentheses. (space-before-function-paren)
(#200) Unexpected space before function parentheses. (space-before-function-paren)
(#209) Unexpected space before function parentheses. (space-before-function-paren)
(#217) Unexpected space before function parentheses. (space-before-function-paren)
(#235) Unexpected space before function parentheses. (space-before-function-paren)
(#249) Unexpected space before function parentheses. (space-before-function-paren)
(#263) Expected to return a value at the end of function. (consistent-return)
(#263) Unexpected space before function parentheses. (space-before-function-paren)
(#297) Unexpected space before function parentheses. (space-before-function-paren)
(#319) Unexpected space before function parentheses. (space-before-function-paren)
(#330) Unexpected space before function parentheses. (space-before-function-paren)
(#356) Unexpected space before function parentheses. (space-before-function-paren)
(#367) Unexpected space before function parentheses. (space-before-function-paren)
(#384) Expected to return a value at the end of function. (consistent-return)
(#384) Unexpected space before function parentheses. (space-before-function-paren)
(#399) Unexpected space before function parentheses. (space-before-function-paren)
(#411) Unexpected space before function parentheses. (space-before-function-paren)
(#414) Unexpected space before function parentheses. (space-before-function-paren)
(#416) Unexpected space before function parentheses. (space-before-function-paren)
(#432) Expected to return a value at the end of function. (consistent-return)
(#432) Unexpected space before function parentheses. (space-before-function-paren)
(#448) Expected to return a value at the end of function. (consistent-return)
(#448) Unexpected space before function parentheses. (space-before-function-paren)
(#495) Unexpected space before function parentheses. (space-before-function-paren)
(#523) Unexpected space before function parentheses. (space-before-function-paren)
(#540) Expected to return a value at the end of function. (consistent-return)
(#540) Unexpected space before function parentheses. (space-before-function-paren)
(#574) Unexpected space before function parentheses. (space-before-function-paren)
(#584) Unexpected space before function parentheses. (space-before-function-paren)
(#586) Unexpected space before function parentheses. (space-before-function-paren)
(#599) Unexpected space before function parentheses. (space-before-function-paren)
(#615) Unexpected space before function parentheses. (space-before-function-paren)
(#616) Expected to return a value at the end of function. (consistent-return)
(#616) Unexpected space before function parentheses. (space-before-function-paren)
(#627) Unexpected space before function parentheses. (space-before-function-paren)
(#629) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(27 errors, 8 warnings)

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

blocks/slider/styles.css
(#84) Invalid value for `-webkit-perspective` (csstree/validator)
(#117) Expected "#ffffff" to be "#fff" (color-hex-length)
(#160) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#258) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#269) Expected newline after ":" with a multi-line declaration (declaration-colon-newline-after)
(#281) Expected newline after ":" with a multi-line declaration (declaration-colon-newline-after)
(#269) Expected single space after "," in a single-line function (function-comma-space-after)
(#269) Expected single space after "," in a single-line function (function-comma-space-after)
(#269) Expected single space after "," in a single-line function (function-comma-space-after)
(#270) Expected single space after "," in a single-line function (function-comma-space-after)
(#270) Expected single space after "," in a single-line function (function-comma-space-after)
(#270) Expected single space after "," in a single-line function (function-comma-space-after)
(#271) Expected single space after "," in a single-line function (function-comma-space-after)
(#271) Expected single space after "," in a single-line function (function-comma-space-after)
(#271) Expected single space after "," in a single-line function (function-comma-space-after)
(#281) Expected single space after "," in a single-line function (function-comma-space-after)
(#281) Expected single space after "," in a single-line function (function-comma-space-after)
(#281) Expected single space after "," in a single-line function (function-comma-space-after)
(#282) Expected single space after "," in a single-line function (function-comma-space-after)
(#282) Expected single space after "," in a single-line function (function-comma-space-after)
(#282) Expected single space after "," in a single-line function (function-comma-space-after)
(#283) Expected single space after "," in a single-line function (function-comma-space-after)
(#283) Expected single space after "," in a single-line function (function-comma-space-after)
(#283) Expected single space after "," in a single-line function (function-comma-space-after)
(#270) Expected indentation of 8 spaces (indentation)
(#271) Expected indentation of 8 spaces (indentation)
(#282) Expected indentation of 8 spaces (indentation)
(#283) Expected indentation of 8 spaces (indentation)
(#269) Unexpected unit (length-zero-no-unit)
(#270) Unexpected unit (length-zero-no-unit)
(#271) Unexpected unit (length-zero-no-unit)
(#281) Unexpected unit (length-zero-no-unit)
(#282) Unexpected unit (length-zero-no-unit)
(#283) Unexpected unit (length-zero-no-unit)
(#287) Unexpected unit (length-zero-no-unit)

PHPDocs style problems

(11 errors, 0 warnings)

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

blocks/slider/block_slider.php
(#36) Variable block_slider::$hasslides is not documented
blocks/slider/db/upgrade.php
(#31) Phpdocs for function xmldb_block_slider_upgrade has incomplete parameters list
blocks/slider/lib.php
(#32) Phpdocs for function block_slider_pluginfile has incomplete parameters list
(#118) Phpdocs for function block_slider_delete_slide has incomplete parameters list
(#132) Phpdocs for function block_slider_delete_image has incomplete parameters list
(#152) Phpdocs for function bxslider_get_settings has incomplete parameters list
blocks/slider/manage_images_form.php
(#38) There is no description in phpdocs for function definition
(#100) There is no description in phpdocs for function validation
blocks/slider/manage_images_table.php
(#38) Phpdocs for function manage_images::__construct has incomplete parameters list
(#63) Phpdocs for function manage_images::col_slide_image has incomplete parameters list
(#77) Phpdocs for function manage_images::col_manage has incomplete parameters list

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 "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]