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

(16 errors, 265 warnings)

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

blocks/news_slider/amd/src/slick.js
(#23) 'module' is not defined. (no-undef)
(#36) Missing JSDoc comment. (require-jsdoc)
(#38) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#201) Expected to return a value at the end of function. (consistent-return)
(#205) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#214) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#341) There should be no spaces inside this paren. (space-in-parens)
(#341) There should be no spaces inside this paren. (space-in-parens)
(#354) There should be no spaces inside this paren. (space-in-parens)
(#354) There should be no spaces inside this paren. (space-in-parens)
(#357) Expected space(s) after "if". (keyword-spacing)
(#390) There should be no spaces inside this paren. (space-in-parens)
(#390) There should be no spaces inside this paren. (space-in-parens)
(#391) There should be no spaces inside this paren. (space-in-parens)
(#391) There should be no spaces inside this paren. (space-in-parens)
(#411) There should be no spaces inside this paren. (space-in-parens)
(#411) There should be no spaces inside this paren. (space-in-parens)
(#413) There should be no spaces inside this paren. (space-in-parens)
(#413) There should be no spaces inside this paren. (space-in-parens)
(#415) There should be no spaces inside this paren. (space-in-parens)
(#415) There should be no spaces inside this paren. (space-in-parens)
(#415) There should be no spaces inside this paren. (space-in-parens)
(#415) There should be no spaces inside this paren. (space-in-parens)
(#415) There should be no spaces inside this paren. (space-in-parens)
(#417) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#419) There should be no spaces inside this paren. (space-in-parens)
(#419) There should be no spaces inside this paren. (space-in-parens)
(#423) There should be no spaces inside this paren. (space-in-parens)
(#423) There should be no spaces inside this paren. (space-in-parens)
(#431) There should be no spaces inside this paren. (space-in-parens)
(#431) There should be no spaces inside this paren. (space-in-parens)
(#441) There should be no spaces inside this paren. (space-in-parens)
(#446) Expected space(s) after "if". (keyword-spacing)
(#446) There should be no spaces inside this paren. (space-in-parens)
(#446) There should be no spaces inside this paren. (space-in-parens)
(#467) There should be no spaces inside this paren. (space-in-parens)
(#467) There should be no spaces inside this paren. (space-in-parens)
(#510) There should be no spaces inside this paren. (space-in-parens)
(#555) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#555) A space is required after ','. (comma-spacing)
(#560) Expected space(s) after "if". (keyword-spacing)
(#567) Expected space(s) after "for". (keyword-spacing)
(#567) Missing space before opening brace. (space-before-blocks)
(#569) Expected space(s) after "for". (keyword-spacing)
(#571) Expected space(s) after "for". (keyword-spacing)
(#573) Blocks are nested too deeply (5). (max-depth)
(#585) Missing space before value for key 'width'. (key-spacing)
(#593) Function has a complexity of 22. (complexity)
(#596) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#608) There should be no spaces inside this paren. (space-in-parens)
(#674) Expected space(s) after "if". (keyword-spacing)
(#674) There should be no spaces inside this paren. (space-in-parens)
(#674) There should be no spaces inside this paren. (space-in-parens)
(#688) Expected space(s) after "if". (keyword-spacing)
(#693) Expected space(s) after "if". (keyword-spacing)
(#771) Expected an assignment or function call and instead saw an expression. (babel/no-unused-expressions)
(#772) Expected an assignment or function call and instead saw an expression. (babel/no-unused-expressions)
(#775) Expected an assignment or function call and instead saw an expression. (babel/no-unused-expressions)
(#776) Expected an assignment or function call and instead saw an expression. (babel/no-unused-expressions)
(#820) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#822) Expected space(s) after "if". (keyword-spacing)
(#858) There should be no spaces inside this paren. (space-in-parens)
(#858) There should be no spaces inside this paren. (space-in-parens)
(#863) A space is required after ','. (comma-spacing)
(#865) There should be no spaces inside this paren. (space-in-parens)
(#865) There should be no spaces inside this paren. (space-in-parens)
(#865) There should be no spaces inside this paren. (space-in-parens)
(#870) There should be no spaces inside this paren. (space-in-parens)
(#870) There should be no spaces inside this paren. (space-in-parens)
(#875) A space is required after ','. (comma-spacing)
(#877) There should be no spaces inside this paren. (space-in-parens)
(#877) There should be no spaces inside this paren. (space-in-parens)
(#877) There should be no spaces inside this paren. (space-in-parens)
(#888) Missing space before opening brace. (space-before-blocks)
(#909) Expected space(s) after "if". (keyword-spacing)
(#1023) Expected space(s) after "if". (keyword-spacing)
(#1023) There should be no spaces inside this paren. (space-in-parens)
(#1023) There should be no spaces inside this paren. (space-in-parens)
(#1055) Line 1055 exceeds the maximum line length of 132. (max-len)
(#1060) Expected space(s) after "if". (keyword-spacing)
(#1062) Expected space(s) before "else". (keyword-spacing)
(#1074) Function has a complexity of 27. (complexity)
(#1089) Missing semicolon. (babel/semi)
(#1095) Missing semicolon. (babel/semi)
(#1229) Expected to return a value at the end of function. (consistent-return)
(#1288) There should be no spaces inside this paren. (space-in-parens)
(#1288) There should be no spaces inside this paren. (space-in-parens)
(#1322) Missing semicolon. (babel/semi)
(#1417) There should be no spaces inside this paren. (space-in-parens)
(#1417) There should be no spaces inside this paren. (space-in-parens)
(#1494) Expected space(s) after "if". (keyword-spacing)
(#1517) Missing JSDoc comment. (require-jsdoc)
(#1524) Multiple spaces found before '='. (no-multi-spaces)
(#1530) There should be no space after '{'. (babel/object-curly-spacing)
(#1530) There should be no space before '}'. (babel/object-curly-spacing)
(#1534) There should be no spaces inside this paren. (space-in-parens)
(#1538) There should be no spaces inside this paren. (space-in-parens)
(#1544) There should be no space after '{'. (babel/object-curly-spacing)
(#1544) There should be no space before '}'. (babel/object-curly-spacing)
(#1557) There should be no spaces inside this paren. (space-in-parens)
(#1557) There should be no spaces inside this paren. (space-in-parens)
(#1558) There should be no spaces inside this paren. (space-in-parens)
(#1558) There should be no spaces inside this paren. (space-in-parens)
(#1559) There should be no spaces inside this paren. (space-in-parens)
(#1559) There should be no spaces inside this paren. (space-in-parens)
(#1561) There should be no space after '['. (array-bracket-spacing)
(#1561) There should be no space before ']'. (array-bracket-spacing)
(#1585) Unnecessary semicolon. (no-extra-semi)
(#1692) Expected space(s) after "if". (keyword-spacing)
(#1692) There should be no spaces inside this paren. (space-in-parens)
(#1692) There should be no spaces inside this paren. (space-in-parens)
(#1704) There should be no spaces inside this paren. (space-in-parens)
(#1704) There should be no spaces inside this paren. (space-in-parens)
(#1739) There should be no spaces inside this paren. (space-in-parens)
(#1739) There should be no spaces inside this paren. (space-in-parens)
(#1744) There should be no spaces inside this paren. (space-in-parens)
(#1744) There should be no spaces inside this paren. (space-in-parens)
(#1751) There should be no spaces inside this paren. (space-in-parens)
(#1751) There should be no spaces inside this paren. (space-in-parens)
(#1756) Multiple spaces found before '='. (no-multi-spaces)
(#1763) There should be no spaces inside this paren. (space-in-parens)
(#1767) There should be no spaces inside this paren. (space-in-parens)
(#1772) There should be no spaces inside this paren. (space-in-parens)
(#1772) There should be no spaces inside this paren. (space-in-parens)
(#1776) There should be no spaces inside this paren. (space-in-parens)
(#1776) There should be no spaces inside this paren. (space-in-parens)
(#1780) There should be no space after '['. (array-bracket-spacing)
(#1780) There should be no space before ']'. (array-bracket-spacing)
(#1787) There should be no spaces inside this paren. (space-in-parens)
(#1787) There should be no spaces inside this paren. (space-in-parens)
(#1792) There should be no spaces inside this paren. (space-in-parens)
(#1793) There should be no spaces inside this paren. (space-in-parens)
(#1793) There should be no spaces inside this paren. (space-in-parens)
(#1794) There should be no spaces inside this paren. (space-in-parens)
(#1799) There should be no spaces inside this paren. (space-in-parens)
(#1799) There should be no spaces inside this paren. (space-in-parens)
(#1800) There should be no spaces inside this paren. (space-in-parens)
(#1800) There should be no spaces inside this paren. (space-in-parens)
(#1801) There should be no spaces inside this paren. (space-in-parens)
(#1801) There should be no spaces inside this paren. (space-in-parens)
(#1803) There should be no space after '['. (array-bracket-spacing)
(#1803) There should be no space before ']'. (array-bracket-spacing)
(#1815) There should be no space after '['. (array-bracket-spacing)
(#1815) There should be no space before ']'. (array-bracket-spacing)
(#1821) There should be no spaces inside this paren. (space-in-parens)
(#1821) There should be no spaces inside this paren. (space-in-parens)
(#1823) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#1829) Expected space(s) after "if". (keyword-spacing)
(#1829) There should be no spaces inside this paren. (space-in-parens)
(#1829) There should be no spaces inside this paren. (space-in-parens)
(#1829) There should be no spaces inside this paren. (space-in-parens)
(#1834) There should be no spaces inside this paren. (space-in-parens)
(#1834) There should be no spaces inside this paren. (space-in-parens)
(#1843) There should be no space after '{'. (babel/object-curly-spacing)
(#1843) There should be no space before '}'. (babel/object-curly-spacing)
(#1847) Expected space(s) after "if". (keyword-spacing)
(#1847) There should be no spaces inside this paren. (space-in-parens)
(#1847) There should be no spaces inside this paren. (space-in-parens)
(#1862) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#1865) There should be no spaces inside this paren. (space-in-parens)
(#1865) There should be no spaces inside this paren. (space-in-parens)
(#1878) There should be no spaces inside this paren. (space-in-parens)
(#1879) Blocks are nested too deeply (5). (max-depth)
(#1880) A space is required after ','. (comma-spacing)
(#1893) There should be no spaces inside this paren. (space-in-parens)
(#1893) There should be no spaces inside this paren. (space-in-parens)
(#1959) Expected space(s) after "if". (keyword-spacing)
(#1959) There should be no spaces inside this paren. (space-in-parens)
(#1959) There should be no spaces inside this paren. (space-in-parens)
(#1959) Statement inside of curly braces should be on next line. (brace-style)
(#1959) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1964) Expected to return a value at the end of function. (consistent-return)
(#1968) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#2125) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#2125) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#2125) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#2127) Expected space(s) after "if". (keyword-spacing)
(#2127) There should be no spaces inside this paren. (space-in-parens)
(#2127) There should be no spaces inside this paren. (space-in-parens)
(#2127) There should be no spaces inside this paren. (space-in-parens)
(#2127) There should be no spaces inside this paren. (space-in-parens)
(#2133) There should be no spaces inside this paren. (space-in-parens)
(#2133) There should be no spaces inside this paren. (space-in-parens)
(#2133) There should be no spaces inside this paren. (space-in-parens)
(#2133) There should be no spaces inside this paren. (space-in-parens)
(#2139) There should be no spaces inside this paren. (space-in-parens)
(#2139) There should be no spaces inside this paren. (space-in-parens)
(#2139) There should be no spaces inside this paren. (space-in-parens)
(#2139) There should be no spaces inside this paren. (space-in-parens)
(#2143) There should be no spaces inside this paren. (space-in-parens)
(#2143) There should be no spaces inside this paren. (space-in-parens)
(#2151) There should be no spaces inside this paren. (space-in-parens)
(#2151) There should be no spaces inside this paren. (space-in-parens)
(#2155) There should be no spaces inside this paren. (space-in-parens)
(#2155) There should be no spaces inside this paren. (space-in-parens)
(#2157) There should be no spaces inside this paren. (space-in-parens)
(#2157) There should be no space before ','. (comma-spacing)
(#2157) There should be no spaces inside this paren. (space-in-parens)
(#2157) There should be no spaces inside this paren. (space-in-parens)
(#2163) There should be no spaces inside this paren. (space-in-parens)
(#2163) There should be no spaces inside this paren. (space-in-parens)
(#2167) There should be no spaces inside this paren. (space-in-parens)
(#2167) There should be no spaces inside this paren. (space-in-parens)
(#2167) There should be no spaces inside this paren. (space-in-parens)
(#2167) There should be no spaces inside this paren. (space-in-parens)
(#2169) There should be no space after '['. (array-bracket-spacing)
(#2169) There should be no space before ']'. (array-bracket-spacing)
(#2176) Expected space(s) after "while". (keyword-spacing)
(#2176) There should be no spaces inside this paren. (space-in-parens)
(#2176) There should be no spaces inside this paren. (space-in-parens)
(#2178) Expected space(s) after "if". (keyword-spacing)
(#2178) There should be no spaces inside this paren. (space-in-parens)
(#2178) There should be no spaces inside this paren. (space-in-parens)
(#2180) A space is required after ','. (comma-spacing)
(#2188) There should be no spaces inside this paren. (space-in-parens)
(#2188) There should be no spaces inside this paren. (space-in-parens)
(#2196) There should be no spaces inside this paren. (space-in-parens)
(#2196) There should be no spaces inside this paren. (space-in-parens)
(#2244) There should be no spaces inside this paren. (space-in-parens)
(#2244) There should be no spaces inside this paren. (space-in-parens)
(#2245) There should be no spaces inside this paren. (space-in-parens)
(#2245) There should be no spaces inside this paren. (space-in-parens)
(#2246) Expected space(s) after "if". (keyword-spacing)
(#2246) There should be no spaces inside this paren. (space-in-parens)
(#2246) There should be no spaces inside this paren. (space-in-parens)
(#2441) There should be no spaces inside this paren. (space-in-parens)
(#2441) There should be no spaces inside this paren. (space-in-parens)
(#2445) Expected space(s) after "if". (keyword-spacing)
(#2445) There should be no spaces inside this paren. (space-in-parens)
(#2445) There should be no spaces inside this paren. (space-in-parens)
(#2478) Function has a complexity of 24. (complexity)
(#2480) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#2481) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#2503) Line 2503 exceeds the maximum line length of 132. (max-len)
(#2515) Line 2515 exceeds the maximum line length of 132. (max-len)
(#2529) There should be no spaces inside this paren. (space-in-parens)
(#2529) There should be no spaces inside this paren. (space-in-parens)
(#2558) There should be no spaces inside this paren. (space-in-parens)
(#2558) There should be no spaces inside this paren. (space-in-parens)
(#2563) There should be no spaces inside this paren. (space-in-parens)
(#2563) There should be no spaces inside this paren. (space-in-parens)
(#2621) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#2653) Expected to return a value at the end of function. (consistent-return)
(#2653) 'event' is defined but never used. (no-unused-vars)
(#2668) There should be no spaces inside this paren. (space-in-parens)
(#2668) There should be no spaces inside this paren. (space-in-parens)
(#2670) There should be no spaces inside this paren. (space-in-parens)
(#2670) There should be no spaces inside this paren. (space-in-parens)
(#2674) There should be no spaces inside this paren. (space-in-parens)
(#2674) There should be no spaces inside this paren. (space-in-parens)
(#2675) There should be no space before ']'. (array-bracket-spacing)
(#2678) There should be no spaces inside this paren. (space-in-parens)
(#2678) There should be no spaces inside this paren. (space-in-parens)
(#2682) There should be no spaces inside this paren. (space-in-parens)
(#2682) There should be no spaces inside this paren. (space-in-parens)
(#2689) There should be no spaces inside this paren. (space-in-parens)
(#2689) There should be no spaces inside this paren. (space-in-parens)
(#2701) There should be no spaces inside this paren. (space-in-parens)
(#2701) There should be no spaces inside this paren. (space-in-parens)
(#2712) Expected space(s) after "if". (keyword-spacing)
(#2712) There should be no spaces inside this paren. (space-in-parens)
(#2712) There should be no spaces inside this paren. (space-in-parens)
(#2714) There should be no spaces inside this paren. (space-in-parens)
(#2714) There should be no spaces inside this paren. (space-in-parens)
(#2716) There should be no space before ']'. (array-bracket-spacing)
(#2722) There should be no spaces inside this paren. (space-in-parens)
(#2722) There should be no spaces inside this paren. (space-in-parens)
(#2724) There should be no spaces inside this paren. (space-in-parens)
(#2724) There should be no spaces inside this paren. (space-in-parens)
(#2772) Function has a complexity of 22. (complexity)
(#2772) Expected to return a value at the end of function. (consistent-return)
(#2775) 'edgeWasHit' is assigned a value but never used. (no-unused-vars)
(#2821) Line 2821 exceeds the maximum line length of 132. (max-len)
(#2849) Expected to return a value at the end of function. (consistent-return)
(#2926) 'centerOffset' is assigned a value but never used. (no-unused-vars)
(#2930) There should be no spaces inside this paren. (space-in-parens)
(#2932) There should be no spaces inside this paren. (space-in-parens)
(#2982) There should be no spaces inside this paren. (space-in-parens)
(#2982) There should be no spaces inside this paren. (space-in-parens)
(#2984) There should be no spaces inside this paren. (space-in-parens)
(#2984) There should be no spaces inside this paren. (space-in-parens)

CSS problems

(15 errors, 2 warnings)

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

blocks/news_slider/styles.css
(#147) Unknown property: -webkit-flex-align
(#164) Unknown property: -
(#143) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#144) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#145) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#146) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#164) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#35) Unexpected !important (declaration-no-important)
(#40) Unexpected !important (declaration-no-important)
(#59) Unexpected !important (declaration-no-important)
(#64) Unexpected !important (declaration-no-important)
(#68) Unexpected !important (declaration-no-important)
(#91) Unexpected !important (declaration-no-important)
(#92) Unexpected !important (declaration-no-important)
(#96) Unexpected unit (length-zero-no-unit)
(#96) Unexpected unit (length-zero-no-unit)
(#164) Unexpected unknown property "-" (property-no-unknown)

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 "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, 1 warnings)

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

blocks/news_slider/templates/slider.mustache
(#1) Example context missing.

Gherkin .feature problems

(0 errors, 0 warnings)

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