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

(10 errors, 6 warnings)

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

ai/placement/textinsights/classes/placement.php
(#26) Opening brace must not be followed by a blank line
(#36) The closing brace for the class must go on the next line after the body
ai/placement/textinsights/classes/privacy/provider.php
(#34) Opening brace must not be followed by a blank line
ai/placement/textinsights/lang/en/aiplacement_textinsights.php
(#32) The string key "explain" is not in the correct order, it should be before "textinsights:usevalidate"
(#35) The string key "loading" is not in the correct order, it should be before "validate"
(#36) The string key "error" is not in the correct order, it should be before "loading"
(#38) The string key "maxlength" is not in the correct order, it should be before "settingheader"
(#42) The string key "invalidaction" is not in the correct order, it should be before "textoollong"
(#43) The string key "aierror" is not in the correct order, it should be before "invalidaction"
(#44) Expected 1 blank line at end of file; 2 found
ai/placement/textinsights/lib.php
(#32) Each PHP statement must be on a line by itself
(#32) Each PHP statement must be on a line by itself
(#34) Blank line found at start of control structure
(#35) Whitespace found at end of line
(#38) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#39) The closing parenthesis of a multi-line control structure must be on the line after the last expression

Javascript coding style problems

(0 errors, 14 warnings)

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

ai/placement/textinsights/amd/src/module.js
(#117) Requires a space after '{'. (block-spacing)
(#117) Statement inside of curly braces should be on next line. (brace-style)
(#117) Requires a space before '}'. (block-spacing)
(#117) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#121) Requires a space after '{'. (block-spacing)
(#121) Statement inside of curly braces should be on next line. (brace-style)
(#121) Requires a space before '}'. (block-spacing)
(#121) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#152) Unexpected space before function parentheses. (space-before-function-paren)
(#182) Unexpected space before function parentheses. (space-before-function-paren)
(#208) Requires a space after '{'. (block-spacing)
(#208) Statement inside of curly braces should be on next line. (brace-style)
(#208) Requires a space before '}'. (block-spacing)
(#208) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(2 errors, 0 warnings)

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

ai/placement/textinsights/classes/hook_callbacks.php
(#32) Phpdocs for function hook_callbacks::before_standard_head_html_generation has incomplete parameters list
ai/placement/textinsights/lib.php
(#28) Phpdocs for function aiplacement_textinsights_before_standard_html_head_generation 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, 0 warnings)

This section shows files built by grunt and not commited [More info]

ai/placement/textinsights/amd/build/module.min.js
Uncommitted change detected.

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]