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

(0 errors, 0 warnings)

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


Javascript coding style problems

(10 errors, 22 warnings)

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

local/helpdesk/amd/src/filter_course.js
(#19) @package should be empty. (jsdoc/empty-tags)
(#24) Identifier 'dataTables_init' is not in camel case. (camelcase)
(#27) Identifier 'data_course_block_select' is not in camel case. (camelcase)
(#35) Unexpected console statement. (no-console)
(#39) Identifier 'data_course_block_select' is not in camel case. (camelcase)
(#40) Identifier 'data_course_block_select' is not in camel case. (camelcase)
(#42) Expected catch,fail,always() or return (promise/catch-or-return)
(#47) Each then() should return a value or throw (promise/always-return)
(#51) Identifier 'data_course_block_select' is not in camel case. (camelcase)
(#52) Identifier 'data_course_block_select' is not in camel case. (camelcase)
(#53) Identifier 'data_course_block_select' is not in camel case. (camelcase)
(#54) Identifier 'data_course_block_select' is not in camel case. (camelcase)
(#61) Identifier 'dataTables_init' is not in camel case. (camelcase)
(#82) Identifier 'export_title' is not in camel case. (camelcase)
(#91) ["datatable_course_select"] is better written in dot notation. (dot-notation)
(#96) Identifier 'data_course_block_select' is not in camel case. (camelcase)
(#103) Missing semicolon. (@babel/semi)
local/helpdesk/amd/src/filter_user.js
(#19) @package should be empty. (jsdoc/empty-tags)
(#24) Identifier 'dataTables_init' is not in camel case. (camelcase)
(#33) Unexpected console statement. (no-console)
(#43) Identifier 'data_user_block_select' is not in camel case. (camelcase)
(#45) Expected catch,fail,always() or return (promise/catch-or-return)
(#50) Each then() should return a value or throw (promise/always-return)
(#54) Identifier 'data_user_block_select' is not in camel case. (camelcase)
(#64) Identifier 'dataTables_init' is not in camel case. (camelcase)
(#78) Identifier 'export_title' is not in camel case. (camelcase)
(#90) ["datatable_user_select"] is better written in dot notation. (dot-notation)
local/helpdesk/amd/src/index.js
(#19) @package should be empty. (jsdoc/empty-tags)
(#35) Missing semicolon. (@babel/semi)
local/helpdesk/amd/src/ticket.js
(#19) @package should be empty. (jsdoc/empty-tags)
(#24) 'ui' is defined but never used. (no-unused-vars)
(#67) Missing semicolon. (@babel/semi)

CSS problems

(37 errors, 1 warnings)

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

local/helpdesk/styles.css
(#81) Expected empty line before at-rule (at-rule-empty-line-before)
(#344) Expected empty line before at-rule (at-rule-empty-line-before)
(#349) Expected empty line before at-rule (at-rule-empty-line-before)
(#112) Unexpected !important (declaration-no-important)
(#154) Unexpected !important (declaration-no-important)
(#292) Unexpected !important (declaration-no-important)
(#312) Unexpected !important (declaration-no-important)
(#317) Unexpected !important (declaration-no-important)
(#321) Unexpected !important (declaration-no-important)
(#324) Unexpected !important (declaration-no-important)
(#333) Unexpected !important (declaration-no-important)
(#342) Unexpected !important (declaration-no-important)
(#346) Unexpected !important (declaration-no-important)
(#351) Unexpected !important (declaration-no-important)
(#390) Unexpected URL scheme "data:" (function-url-scheme-disallowed-list)
(#111) Expected line length to be no more than 132 characters (max-line-length)
(#95) Expected newline after "," (selector-list-comma-newline-after)
(#111) Expected newline after "," (selector-list-comma-newline-after)
(#111) Expected newline after "," (selector-list-comma-newline-after)
local/helpdesk/styles.scss
(#20) Unexpected !important (declaration-no-important)
(#64) Unexpected !important (declaration-no-important)
(#205) Unexpected !important (declaration-no-important)
(#212) Unexpected !important (declaration-no-important)
(#219) Unexpected !important (declaration-no-important)
(#222) Unexpected !important (declaration-no-important)
(#226) Unexpected !important (declaration-no-important)
(#236) Unexpected !important (declaration-no-important)
(#245) Unexpected !important (declaration-no-important)
(#249) Unexpected !important (declaration-no-important)
(#252) Unexpected !important (declaration-no-important)
(#294) Unexpected URL scheme "data:" (function-url-scheme-disallowed-list)
(#228) Unexpected whitespace at end of line (no-eol-whitespace)
(#255) Unexpected whitespace at end of line (no-eol-whitespace)
(#261) Unexpected whitespace at end of line (no-eol-whitespace)
(#276) Unexpected whitespace at end of line (no-eol-whitespace)
(#301) Unexpected whitespace at end of line (no-eol-whitespace)
(#19) Expected newline after "," (selector-list-comma-newline-after)
(#19) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(3 errors, 0 warnings)

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

local/helpdesk/classes/model/ticket.php
(#276) Phpdocs for function ticket::get_description has incomplete parameters list
(#607) Phpdocs for function ticket::set_answeredat has incomplete parameters list
(#616) Phpdocs for function ticket::set_closedat 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, 1 warnings)

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

Problems running grunt
Task "eslint:amd" 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]

local/helpdesk/templates/category-users.mustache
(#1) HTML Validation info, line 16: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ("((add))"><br/> )

Gherkin .feature problems

(0 errors, 0 warnings)

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