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

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

local/annoto/lang/en/local_annoto.php
(#27) Unexpected comment found. Auto-fixing will not work after this comment
(#28) The string key "annoto:moderatediscussion" is not in the correct order, it should be before "pluginname"
(#29) The string key "annoto:managementdashboard" is not in the correct order, it should be before "annoto:moderatediscussion"
(#31) Unexpected comment found. Auto-fixing will not work after this comment
(#33) The string key "clientid" is not in the correct order, it should be before "setupheading"
(#37) The string key "scripturl" is not in the correct order, it should be before "ssosecretdesc"
(#39) The string key "deploymentdomain" is not in the correct order, it should be before "scripturldesc"
(#41) The string key "customdomain" is not in the correct order, it should be before "deploymentdomaindesc"
(#45) The string key "custom" is not in the correct order, it should be before "usregion"
(#47) Unexpected comment found. Auto-fixing will not work after this comment
(#48) The string key "addingdashboard" is not in the correct order, it should be before "custom"
(#59) Unexpected comment found. Auto-fixing will not work after this comment
(#60) The string key "appsetingsheading" is not in the correct order, it should be before "managementdashboard_desc"
(#66) Unexpected comment found. Auto-fixing will not work after this comment
(#67) The string key "media_player_setting" is not in the correct order, it should be before "moderatorrolesdesc"
(#70) The string key "defaultwidth" is not in the correct order, it should be before "mediasettingsoverridedesc"
(#72) The string key "defaultheight" is not in the correct order, it should be before "defaultwidthdesc"
(#75) Unexpected comment found. Auto-fixing will not work after this comment
(#77) The string key "activitycompletion_settings" is not in the correct order, it should be before "defaultheightdesc"
(#78) The string key "activitycompletion_enable" is not in the correct order, it should be before "activitycompletion_settings"
(#85) The string key "completionenabled" is not in the correct order, it should be before "numericrule"
(#88) The string key "annotocompletionview" is not in the correct order, it should be before "completionenableddesc"
(#93) The string key "annotocompletioncomments" is not in the correct order, it should be before "annotocompletionviewsuffix"
(#101) The string key "annotocompletionexpected" is not in the correct order, it should be before "annotocompletionrepliesprefix"
(#105) Unexpected comment found. Auto-fixing will not work after this comment
(#108) The string key "privacy:metadata:annoto:fullname" is not in the correct order, it should be before "privacy:metadata:annoto:userid"
(#109) The string key "privacy:metadata:annoto:email" is not in the correct order, it should be before "privacy:metadata:annoto:fullname"

Javascript coding style problems

(4 errors, 14 warnings)

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

local/annoto/amd/src/annoto.js
(#50) Empty block statement. (no-empty)
local/annoto/initkaltura.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#10) Unexpected empty function. (no-empty-function)
(#14) Unexpected console statement. (no-console)
(#15) Missing semicolon. (semi)
(#17) Expected space(s) after "catch". (keyword-spacing)
(#17) Empty block statement. (no-empty)
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#29) Identifier 'player_id' is not in camel case. (camelcase)
(#30) Identifier 'player_id' is not in camel case. (camelcase)
(#33) Identifier 'player_id' is not in camel case. (camelcase)
(#34) Identifier 'player_id' is not in camel case. (camelcase)
(#37) Unexpected space before function parentheses. (space-before-function-paren)
(#43) Unexpected space before function parentheses. (space-before-function-paren)
(#49) Unexpected space before function parentheses. (space-before-function-paren)
(#59) Missing semicolon. (semi)
(#61) 'kWidget' is not defined. (no-undef)
(#61) 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

(4 errors, 0 warnings)

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

local/annoto/db/upgrade.php
(#23) Phpdocs for function xmldb_local_annoto_upgrade has incomplete parameters list
local/annoto/externallib.php
(#108) Phpdocs for function local_annoto_external::set_completion has incomplete parameters list
local/annoto/lib.php
(#214) Phpdocs for function local_annoto_get_jsparam has incomplete parameters list
(#291) Phpdocs for function local_annoto_extend_settings_navigation 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

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