Prechecker results: error


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

(20 errors, 35 warnings)

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

local/annoto/classes/completion.php
(#1) No one-line description found in phpdocs for docblock of file completion.php
(#29) Missing docblock for class annoto_completion
(#31) Missing docblock for constant annoto_completion::TABLE
(#32) Missing docblock for constant annoto_completion::COMPLETION_TRACKING_NONE
(#34) Missing docblock for constant annoto_completion::COMPLETION_TRACKING_AUTOMATIC
(#36) Missing docblock for function get_enabled_menu
(#77) Missing docblock for function after_delete
local/annoto/classes/completiondata.php
(#1) No one-line description found in phpdocs for docblock of file completiondata.php
(#28) Missing docblock for class annoto_completiondata
(#29) Missing docblock for constant annoto_completiondata::TABLE
local/annoto/classes/log.php
(#1) No one-line description found in phpdocs for docblock of file log.php
(#26) Missing docblock for class log
(#27) Missing docblock for function debug
(#31) Missing docblock for function info
(#35) Missing docblock for function warning
(#39) Missing docblock for function error
local/annoto/classes/observer.php
(#36) Missing docblock for class observer
local/annoto/classes/task/completion.php
(#1) No one-line description found in phpdocs for docblock of file completion.php
local/annoto/db/events.php
(#1) No one-line description found in phpdocs for docblock of file events.php
local/annoto/db/tasks.php
(#1) No one-line description found in phpdocs for docblock of file tasks.php
local/annoto/db/upgrade.php
(#24) Missing docblock for function xmldb_local_annoto_upgrade
local/annoto/externallib.php
(#110) No one-line description found in phpdocs for docblock of function set_completion
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"
(#53) The string key "tooliconurl" is not in the correct order, it should be before "toolurldesc"
(#57) The string key "annoto_dashboard_description" is not in the correct order, it should be before "toolnamedesc"
(#62) Unexpected comment found. Auto-fixing will not work after this comment
(#63) The string key "gradetoggle" is not in the correct order, it should be before "managementdashboard_desc"
(#65) The string key "externalgradetoolsettings" is not in the correct order, it should be before "gradetoggle_desc"
(#70) The string key "gradetooliconurl" is not in the correct order, it should be before "gradetoolurldesc"
(#72) The string key "annoto_grade_description" is not in the correct order, it should be before "gradetooliconurldesc"
(#74) Unexpected comment found. Auto-fixing will not work after this comment
(#81) Unexpected comment found. Auto-fixing will not work after this comment
(#82) The string key "media_player_setting" is not in the correct order, it should be before "moderatorrolesdesc"
(#85) The string key "defaultwidth" is not in the correct order, it should be before "mediasettingsoverridedesc"
(#87) The string key "defaultheight" is not in the correct order, it should be before "defaultwidthdesc"
(#90) Unexpected comment found. Auto-fixing will not work after this comment
(#92) The string key "activitycompletion_settings" is not in the correct order, it should be before "defaultheightdesc"
(#93) The string key "activitycompletion_enable" is not in the correct order, it should be before "activitycompletion_settings"
(#100) The string key "completionenabled" is not in the correct order, it should be before "numericrule"
(#103) The string key "annotocompletionview" is not in the correct order, it should be before "completionenableddesc"
(#108) The string key "annotocompletioncomments" is not in the correct order, it should be before "annotocompletionviewsuffix"
(#116) The string key "annotocompletionexpected" is not in the correct order, it should be before "annotocompletionrepliesprefix"
(#120) Unexpected comment found. Auto-fixing will not work after this comment
(#123) The string key "privacy:metadata:annoto:fullname" is not in the correct order, it should be before "privacy:metadata:annoto:userid"
(#124) 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

(3 errors, 0 warnings)

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

local/annoto/externallib.php
(#107) Phpdocs for function local_annoto_external::set_completion has incomplete parameters list
local/annoto/lib.php
(#234) Phpdocs for function local_annoto_get_jsparam has incomplete parameters list
(#311) 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]