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, 3 warnings)

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

public/local/dttutor/db/upgrade.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
public/local/dttutor/manage.php
(#64) This comment is 62% valid code; is this commented out code?
(#123) This comment is 63% valid code; is this commented out code?

Javascript coding style problems

(0 errors, 22 warnings)

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

public/local/dttutor/amd/src/course_materials.js
(#53) Identifier 'custom_prompt' is not in camel case. (camelcase)
(#54) Identifier 'indexing_enabled' is not in camel case. (camelcase)
public/local/dttutor/amd/src/error_modal.js
(#50) Identifier 'has_config_url' is not in camel case. (camelcase)
(#51) Identifier 'config_url' is not in camel case. (camelcase)
(#52) Identifier 'str_configure_now' is not in camel case. (camelcase)
(#76) Unexpected alert. (no-alert)
public/local/dttutor/amd/src/indexing_progress.js
(#89) Expected to return a value at the end of function. (consistent-return)
(#109) There should be no space after '{'. (@babel/object-curly-spacing)
(#109) There should be no space before '}'. (@babel/object-curly-spacing)
(#142) Identifier 'task_id' is not in camel case. (camelcase)
(#169) Identifier 'force_reindex' is not in camel case. (camelcase)
(#209) Identifier 'task_id' is not in camel case. (camelcase)
(#339) Each then() should return a value or throw (promise/always-return)
(#372) Each then() should return a value or throw (promise/always-return)
(#392) Each then() should return a value or throw (promise/always-return)
(#419) Identifier 'task_id' is not in camel case. (camelcase)
public/local/dttutor/amd/src/tutor_ia_chat.js
(#172) Method 'detectPageContext' has a complexity of 21. Maximum allowed is 20. (complexity)
(#259) Unquoted reserved word 'char' used as key. (quote-props)
(#287) Unquoted reserved word 'char' used as key. (quote-props)
(#824) Identifier 'user_role' is not in camel case. (camelcase)
(#850) Identifier 'selected_text' is not in camel case. (camelcase)
(#855) Identifier 'force_reindex' is not in camel case. (camelcase)

CSS problems

(0 errors, 3 warnings)

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

public/local/dttutor/styles_admin.css
(#78) Expected "#0066cc" to be "#06c" (color-hex-length)
(#245) Expected "#0066cc" to be "#06c" (color-hex-length)
(#272) Expected "#0066cc" to be "#06c" (color-hex-length)

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]

public/local/dttutor/templates/tutor_ia_drawer.mustache
(#1) ESLint did not run

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]