Prechecker results: warning


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

(0 errors, 2 warnings)

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

ai/provider/datacurso/classes/form/user_token_limit_form.php
(#48) Line exceeds 132 characters; contains 140 characters
ai/provider/datacurso/classes/local/user_token_limit_manager.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.

Javascript coding style problems

(0 errors, 73 warnings)

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

ai/provider/datacurso/amd/src/consumption.js
(#25) There should be no space after '{'. (@babel/object-curly-spacing)
(#25) There should be no space before '}'. (@babel/object-curly-spacing)
(#28) There should be no space after '{'. (@babel/object-curly-spacing)
(#28) There should be no space before '}'. (@babel/object-curly-spacing)
(#30) Unexpected space before function parentheses. (space-before-function-paren)
(#107) Unexpected space before function parentheses. (space-before-function-paren)
(#107) Expected to return a value at the end of async arrow function. (consistent-return)
(#130) Unexpected space before function parentheses. (space-before-function-paren)
(#130) Expected to return a value at the end of async arrow function. (consistent-return)
(#153) Unexpected space before function parentheses. (space-before-function-paren)
(#153) There should be no space after '{'. (@babel/object-curly-spacing)
(#153) There should be no space before '}'. (@babel/object-curly-spacing)
(#193) Unexpected space before function parentheses. (space-before-function-paren)
(#213) There should be no space after '{'. (@babel/object-curly-spacing)
(#213) There should be no space before '}'. (@babel/object-curly-spacing)
(#222) There should be no space after '{'. (@babel/object-curly-spacing)
(#222) Identifier 'current_page' is not in camel case. (camelcase)
(#222) Identifier 'total_pages' is not in camel case. (camelcase)
(#222) There should be no space before '}'. (@babel/object-curly-spacing)
(#224) Identifier 'current_page' is not in camel case. (camelcase)
(#225) Identifier 'total_pages' is not in camel case. (camelcase)
(#230) Identifier 'current_page' is not in camel case. (camelcase)
(#232) Identifier 'current_page' is not in camel case. (camelcase)
(#233) Identifier 'current_page' is not in camel case. (camelcase)
(#233) Identifier 'total_pages' is not in camel case. (camelcase)
ai/provider/datacurso/amd/src/report_charts.js
(#26) There should be no space after '{'. (@babel/object-curly-spacing)
(#26) There should be no space before '}'. (@babel/object-curly-spacing)
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#43) There should be no space after '{'. (@babel/object-curly-spacing)
(#43) There should be no space before '}'. (@babel/object-curly-spacing)
(#44) There should be no space after '{'. (@babel/object-curly-spacing)
(#44) There should be no space before '}'. (@babel/object-curly-spacing)
(#45) There should be no space after '{'. (@babel/object-curly-spacing)
(#45) There should be no space before '}'. (@babel/object-curly-spacing)
(#51) Each then() should return a value or throw (promise/always-return)
(#56) Comments should not begin with a lowercase character. (capitalized-comments)
(#89) Comments should not begin with a lowercase character. (capitalized-comments)
(#90) Unexpected space before function parentheses. (space-before-function-paren)
(#97) There should be no space after '{'. (@babel/object-curly-spacing)
(#97) There should be no space before '}'. (@babel/object-curly-spacing)
(#116) Comments should not begin with a lowercase character. (capitalized-comments)
(#142) There should be no space after '{'. (@babel/object-curly-spacing)
(#142) There should be no space before '}'. (@babel/object-curly-spacing)
(#146) Unexpected space before function parentheses. (space-before-function-paren)
(#146) Expected to return a value at the end of async arrow function. (consistent-return)
(#151) There should be no space after '{'. (@babel/object-curly-spacing)
(#151) There should be no space before '}'. (@babel/object-curly-spacing)
(#155) Comments should not begin with a lowercase character. (capitalized-comments)
(#193) There should be no space after '{'. (@babel/object-curly-spacing)
(#193) There should be no space before '}'. (@babel/object-curly-spacing)
(#197) Unexpected space before function parentheses. (space-before-function-paren)
(#197) Expected to return a value at the end of async arrow function. (consistent-return)
(#203) There should be no space after '{'. (@babel/object-curly-spacing)
(#203) There should be no space before '}'. (@babel/object-curly-spacing)
(#207) Comments should not begin with a lowercase character. (capitalized-comments)
(#243) There should be no space after '{'. (@babel/object-curly-spacing)
(#243) There should be no space after '{'. (@babel/object-curly-spacing)
(#243) There should be no space before '}'. (@babel/object-curly-spacing)
(#243) There should be no space before '}'. (@babel/object-curly-spacing)
(#244) There should be no space after '{'. (@babel/object-curly-spacing)
(#244) There should be no space after '{'. (@babel/object-curly-spacing)
(#244) There should be no space before '}'. (@babel/object-curly-spacing)
(#244) There should be no space before '}'. (@babel/object-curly-spacing)
(#250) Unexpected space before function parentheses. (space-before-function-paren)
(#250) Expected to return a value at the end of async arrow function. (consistent-return)
(#258) There should be no space after '{'. (@babel/object-curly-spacing)
(#258) There should be no space before '}'. (@babel/object-curly-spacing)
ai/provider/datacurso/amd/src/user_token_limits.js
(#36) Unexpected space before function parentheses. (space-before-function-paren)
(#48) Unexpected space before function parentheses. (space-before-function-paren)
(#56) Unexpected space before function parentheses. (space-before-function-paren)
(#76) Unexpected space before function parentheses. (space-before-function-paren)
(#84) Unexpected space before function parentheses. (space-before-function-paren)
(#106) Unexpected space before function parentheses. (space-before-function-paren)

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

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