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

(2 errors, 1 warnings)

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

course/format/trail/renderer.php
(#750) Inline comments must end in full-stops, exclamation marks, or question marks
(#854) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#854) Expected "if (...) {\n"; found "if(...) {\n"

Javascript coding style problems

(6 errors, 109 warnings)

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

course/format/trail/Gruntfile.js
(#42) @package should be empty. (jsdoc/empty-tags)
course/format/trail/amd/src/tooltip.js
(#4) @package should be empty. (jsdoc/empty-tags)
(#29) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#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. (jsdoc/require-jsdoc)
(#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. (jsdoc/require-jsdoc)
(#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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 0 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [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]