Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(6 errors, 0 warnings)

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

question/type/aitext/renderer.php
(#300) Each class must be in a file by itself
(#420) Each class must be in a file by itself
(#590) Each class must be in a file by itself
(#734) Each class must be in a file by itself
(#814) Each class must be in a file by itself
question/type/aitext/settings.php
(#109) Blank line found at end of control structure

Javascript coding style problems

(0 errors, 11 warnings)

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

question/type/aitext/amd/src/responserun.js
(#25) Identifier 'get_strings' is not in camel case. (camelcase)
question/type/aitext/amd/src/spellcheck.js
(#69) Do not nest ternary expressions. (no-nested-ternary)
question/type/aitext/mobile/mobile.js
(#20) Unused eslint-disable directive (no problems were reported from 'no-console').
(#27) Unexpected space after unary operator '!'. (space-unary-ops)
(#48) Comments should not begin with a lowercase character. (capitalized-comments)
(#55) Comments should not begin with a lowercase character. (capitalized-comments)
(#56) Comments should not begin with a lowercase character. (capitalized-comments)
(#58) Comments should not begin with a lowercase character. (capitalized-comments)
(#70) Missing space before opening brace. (space-before-blocks)
(#83) Comments should not begin with a lowercase character. (capitalized-comments)
(#86) Missing space before opening brace. (space-before-blocks)

CSS problems

(6 errors, 2 warnings)

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

question/type/aitext/styles.css
(#50) Expected single space before "{" (block-opening-brace-space-before)
(#47) Expected "#DDDDDD" to be "#dddddd" (color-hex-case)
(#47) Expected "#DDDDDD" to be "#DDD" (color-hex-length)
(#12) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#15) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#18) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#15) Unexpected unit "pt" (unit-disallowed-list)
(#42) Unexpected unit "pt" (unit-disallowed-list)

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