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

(1 errors, 0 warnings)

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

public/local/assign_ai/classes/privacy/provider.php
(#36) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider, core_userlist_provider; Found: core_userlist_provider, \core_privacy\local\request\plugin\provider, \core_privacy\local\metadata\provider

Javascript coding style problems

(0 errors, 45 warnings)

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

public/local/assign_ai/amd/src/inject_ai.js
(#26) There should be no space after '{'. (@babel/object-curly-spacing)
(#26) There should be no space before '}'. (@babel/object-curly-spacing)
(#38) Unexpected space before function parentheses. (space-before-function-paren)
(#38) There should be no space after '{'. (@babel/object-curly-spacing)
(#38) There should be no space before '}'. (@babel/object-curly-spacing)
(#200) There should be no space after '{'. (@babel/object-curly-spacing)
(#200) There should be no space before '}'. (@babel/object-curly-spacing)
(#223) There should be no space after '{'. (@babel/object-curly-spacing)
(#223) There should be no space before '}'. (@babel/object-curly-spacing)
(#224) There should be no space after '{'. (@babel/object-curly-spacing)
(#224) There should be no space before '}'. (@babel/object-curly-spacing)
(#249) There should be no space after '{'. (@babel/object-curly-spacing)
(#249) There should be no space before '}'. (@babel/object-curly-spacing)
public/local/assign_ai/amd/src/observer.js
(#36) Unexpected space before function parentheses. (space-before-function-paren)
(#50) There should be no space after '{'. (@babel/object-curly-spacing)
(#50) There should be no space before '}'. (@babel/object-curly-spacing)
public/local/assign_ai/amd/src/review.js
(#28) There should be no space after '{'. (@babel/object-curly-spacing)
(#28) There should be no space before '}'. (@babel/object-curly-spacing)
(#31) There should be no space after '{'. (@babel/object-curly-spacing)
(#31) There should be no space before '}'. (@babel/object-curly-spacing)
(#42) There should be no space after '{'. (@babel/object-curly-spacing)
(#42) There should be no space before '}'. (@babel/object-curly-spacing)
(#102) There should be no space after '{'. (@babel/object-curly-spacing)
(#102) There should be no space before '}'. (@babel/object-curly-spacing)
(#113) There should be no space after '{'. (@babel/object-curly-spacing)
(#113) There should be no space before '}'. (@babel/object-curly-spacing)
(#117) There should be no space after '{'. (@babel/object-curly-spacing)
(#117) There should be no space before '}'. (@babel/object-curly-spacing)
(#128) There should be no space after '{'. (@babel/object-curly-spacing)
(#128) There should be no space before '}'. (@babel/object-curly-spacing)
(#136) Statement inside of curly braces should be on next line. (brace-style)
(#136) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#163) There should be no space after '{'. (@babel/object-curly-spacing)
(#163) There should be no space before '}'. (@babel/object-curly-spacing)
(#178) Unexpected empty arrow function. (no-empty-function)
public/local/assign_ai/amd/src/review_with_ai.js
(#26) There should be no space after '{'. (@babel/object-curly-spacing)
(#26) There should be no space before '}'. (@babel/object-curly-spacing)
(#27) There should be no space after '{'. (@babel/object-curly-spacing)
(#27) There should be no space before '}'. (@babel/object-curly-spacing)
(#32) Unexpected space before function parentheses. (space-before-function-paren)
(#79) There should be no space after '{'. (@babel/object-curly-spacing)
(#79) There should be no space before '}'. (@babel/object-curly-spacing)
(#107) Each then() should return a value or throw (promise/always-return)
(#109) Unexpected empty arrow function. (no-empty-function)
(#159) Unexpected empty arrow function. (no-empty-function)

CSS problems

(2 errors, 0 warnings)

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

public/local/assign_ai/styles/review.css
(#45) Expected single space before "{" (block-opening-brace-space-before)
(#21) Unexpected !important (declaration-no-important)

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

(0 errors, 0 warnings)

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


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]