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

(1 errors, 109 warnings)

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

course/format/trail/amd/src/tooltip.js
(#29) Missing JSDoc comment. (require-jsdoc)
(#74) Expected to return a value at the end of method 'handle'. (consistent-return)
(#220) Function expected no return value. (consistent-return)
(#260) Function expected no return value. (consistent-return)
(#269) Function has a complexity of 21. Maximum allowed is 20. (complexity)
(#326) Do not nest ternary expressions. (no-nested-ternary)
(#327) Do not nest ternary expressions. (no-nested-ternary)
(#328) Do not nest ternary expressions. (no-nested-ternary)
(#436) Missing JSDoc comment. (require-jsdoc)
(#467) Function expected no return value. (consistent-return)
(#495) Do not nest ternary expressions. (no-nested-ternary)
(#503) Do not nest ternary expressions. (no-nested-ternary)
(#504) Do not nest ternary expressions. (no-nested-ternary)
(#627) Missing JSDoc comment. (require-jsdoc)
course/format/trail/module.js
(#63) Function has a complexity of 21. Maximum allowed is 20. (complexity)
(#185) Function expected a return value. (consistent-return)
course/format/trail/yui/src/trailkeys/js/event-nav-keys-min.js
(#1) This line has a length of 528. Maximum allowed is 132. (max-len)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Missing space before value for key 'enter'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'esc'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'backspace'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'tab'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'pageUp'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'pageDown'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'left'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'up'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'right'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'down'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'space'. (key-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) This line has 11 statements. Maximum allowed is 2. (max-statements-per-line)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Missing space before value for key 'type'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'on'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Operator '?' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected space(s) after "if". (keyword-spacing)
(#1) Operator '===' must be spaced. (space-infix-ops)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'delegate'. (key-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'detach'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'detachDelegate'. (key-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'requires'. (key-spacing)

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