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

(15 errors, 64 warnings)

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

mod/panoptosubmission/contentitem_return.php
(#131) Missing docblock for file contentitem_return.php
(#132) Missing docblock for file contentitem_return.php
(#133) Missing docblock for file contentitem_return.php
(#139) Missing docblock for file contentitem_return.php
(#140) Missing docblock for file contentitem_return.php
(#141) Missing docblock for file contentitem_return.php
(#142) Missing docblock for file contentitem_return.php
(#143) Missing docblock for file contentitem_return.php
(#144) Missing docblock for file contentitem_return.php
(#145) Missing docblock for file contentitem_return.php
(#146) Missing docblock for file contentitem_return.php
(#147) Missing docblock for file contentitem_return.php
(#157) Missing docblock for file contentitem_return.php
mod/panoptosubmission/lang/en/panoptosubmission.php
(#26) The string key "modulename" is not in the correct order, it should be before "modulenameplural"
(#29) The string key "availabledate" is not in the correct order, it should be before "name"
(#34) The string key "cutoffdatefromdatevalidation" is not in the correct order, it should be before "cutoffdatevalidation"
(#40) The string key "allowdeleting" is not in the correct order, it should be before "preventlate_help"
(#44) The string key "invalid_launch_parameters" is not in the correct order, it should be before "invalidid"
(#46) The string key "addvideo" is not in the correct order, it should be before "pluginadministration"
(#48) The string key "replacevideo" is not in the correct order, it should be before "submitvideo"
(#49) The string key "gradesubmission" is not in the correct order, it should be before "replacevideo"
(#51) The string key "assignmentexpired" is not in the correct order, it should be before "numberofsubmissions"
(#54) The string key "assignmentsubmitted" is not in the correct order, it should be before "notallowedtoreplacemedia"
(#58) The string key "gradenoun" is not in the correct order, it should be before "gradeverb"
(#59) The string key "gradedon" is not in the correct order, it should be before "gradenoun"
(#60) The string key "gradedby" is not in the correct order, it should be before "gradedon"
(#64) The string key "numberofsubmissionsneedgrading" is not in the correct order, it should be before "numberofsubmittedassignments"
(#66) The string key "hiddenfromstudents" is not in the correct order, it should be before "timeremaining"
(#68) The string key "no" is not in the correct order, it should be before "yes"
(#70) The string key "relativedatessubmissiontimeleft" is not in the correct order, it should be before "submissionisdue"
(#71) The string key "latesubmissions" is not in the correct order, it should be before "relativedatessubmissiontimeleft"
(#76) The string key "grademodified" is not in the correct order, it should be before "timemodified"
(#77) The string key "finalgrade" is not in the correct order, it should be before "grademodified"
(#79) The string key "optionalsettings" is not in the correct order, it should be before "status"
(#81) The string key "all" is not in the correct order, it should be before "savepref"
(#84) The string key "not_submitted" is not in the correct order, it should be before "submitted"
(#89) The string key "invalidperpage" is not in the correct order, it should be before "show_help"
(#93) The string key "gradeitem:submissions" is not in the correct order, it should be before "submissions"
(#94) The string key "feedback" is not in the correct order, it should be before "gradeitem:submissions"
(#101) The string key "feedbackavailablehtml" is not in the correct order, it should be before "feedbackavailabletext"
(#106) The string key "singlegrade" is not in the correct order, it should be before "singlesubmissionheader"
(#108) The string key "late" is not in the correct order, it should be before "singlegrade_help"
(#109) The string key "early" is not in the correct order, it should be before "late"
(#111) The string key "save" is not in the correct order, it should be before "savedchanges"
(#112) The string key "cancel" is not in the correct order, it should be before "save"
(#114) The string key "gradersubmissionupdatedtext" is not in the correct order, it should be before "pluginname"
(#120) The string key "gradersubmissionupdatedhtml" is not in the correct order, it should be before "gradersubmissionupdatedtext"
(#130) The string key "submissionreceipthtml" is not in the correct order, it should be before "submissionreceipttext"
(#133) The string key "messageprovider:panoptosubmission_updates" is not in the correct order, it should be before "submissionreceiptsmall"
(#135) The string key "noenrolledstudents" is not in the correct order, it should be before "video_preview_header"
(#136) The string key "group_filter" is not in the correct order, it should be before "noenrolledstudents"
(#138) The string key "submitted" is duplicated
(#139) The string key "has_grade" is not in the correct order, it should be before "noassignments"
(#144) The string key "failedtoinsertsubmission" is not in the correct order, it should be before "viewsubmission"
(#146) The string key "currentgrade" is not in the correct order, it should be before "feedbackfromteacher"
(#149) The string key "eventgrades_updated" is not in the correct order, it should be before "eventsingle_submission_page_viewed"
(#150) The string key "eventassignment_submitted" is not in the correct order, it should be before "eventgrades_updated"
(#151) The string key "eventassignment_details_viewed" is not in the correct order, it should be before "eventassignment_submitted"
(#155) The string key "sessionpreview_hide" is not in the correct order, it should be before "sessionpreview_show"
(#156) The string key "quickgrade" is not in the correct order, it should be before "sessionpreview_hide"
(#158) The string key "useremail" is not in the correct order, it should be before "userpicture"
(#159) The string key "grade_out_of" is not in the correct order, it should be before "useremail"
(#161) The string key "no_existing_lti_tools" is not in the correct order, it should be before "quickgrade_help"
(#162) The string key "no_automatic_operation_target_server" is not in the correct order, it should be before "no_existing_lti_tools"
(#166) The string key "sendstudentnotifications" is not in the correct order, it should be before "sendstudentnotificationsdefault_help"
(#168) The string key "sendnotifications" is not in the correct order, it should be before "sendstudentnotifications_help"
(#170) The string key "sendlatenotifications" is not in the correct order, it should be before "sendnotifications_help"
(#172) The string key "privacy:metadata:emailteachersexplanation" is not in the correct order, it should be before "sendlatenotifications_help"
(#176) The string key "privacy:metadata:panoptosubmission_submission:userid" is not in the correct order, it should be before "privacy:metadata:panoptosubmission_submission:username"
(#177) The string key "privacy:metadata:panoptosubmission_submission:source" is not in the correct order, it should be before "privacy:metadata:panoptosubmission_submission:userid"
(#178) The string key "privacy:metadata:panoptosubmission_submission:grade" is not in the correct order, it should be before "privacy:metadata:panoptosubmission_submission:source"
(#181) The string key "privacy:metadata:panoptosubmission_submission:mailed" is not in the correct order, it should be before "privacy:metadata:panoptosubmission_submission:teacher"
(#183) The string key "privacy:metadata:panoptosubmission_submission:timecreated" is not in the correct order, it should be before "privacy:metadata:panoptosubmission_submission:timemarked"
(#189) The string key "privacy:markedsubmissionspath" is not in the correct order, it should be before "privacy:metadata:panoptosubmissionquickgrade"
(#191) The string key "panoptosubmission:gradesubmission" is not in the correct order, it should be before "privacy:submissionpath"
(#192) The string key "panoptosubmission:addinstance" is not in the correct order, it should be before "panoptosubmission:gradesubmission"
(#194) The string key "panoptosubmission:receivegradernotifications" is not in the correct order, it should be before "panoptosubmission:submit"
mod/panoptosubmission/lib.php
(#484) Inline comments must start with a capital letter, digit or 3-dots sequence
mod/panoptosubmission/single_submission_form.php
(#275) There should be a comma after the last array item in a multi-line array.

Javascript coding style problems

(2 errors, 16 warnings)

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

mod/panoptosubmission/Gruntfile.js
(#1) 'module' is not defined. (no-undef)
(#1) Unexpected space before function parentheses. (space-before-function-paren)
mod/panoptosubmission/amd/src/submissionpanel.js
(#19) @package should be empty. (jsdoc/empty-tags)
(#30) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#34) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#35) Multiple spaces found before '"0"'. (no-multi-spaces)
(#35) There should be no space after this paren. (space-in-parens)
(#40) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#48) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#57) Identifier 'open_panopto_window_callback' is not in camel case. (camelcase)
(#58) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#75) Each then() should return a value or throw (promise/always-return)
(#76) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#104) Identifier 'close_popup_callback' is not in camel case. (camelcase)
(#110) Identifier 'close_popup_callback' is not in camel case. (camelcase)
(#111) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#161) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#169) Opening curly brace does not appear on the same line as controlling statement. (brace-style)

CSS problems

(0 errors, 3 warnings)

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

mod/panoptosubmission/styles.css
(#19) Unexpected unit (length-zero-no-unit)
(#20) Unexpected unit (length-zero-no-unit)
(#40) Unexpected unit (length-zero-no-unit)

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

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


Gherkin .feature problems

(0 errors, 0 warnings)

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