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

(8 errors, 88 warnings)

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

mod/assign/submission/onenote/backup/moodle2/backup_assignsubmission_onenote_subplugin.class.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/assign/submission/onenote/classes/event/assessable_uploaded.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/assign/submission/onenote/classes/event/submission_created.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/assign/submission/onenote/classes/event/submission_updated.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/assign/submission/onenote/classes/privacy/provider.php
(#32) Import statements must not begin with a leading backslash
(#33) Import statements must not begin with a leading backslash
(#35) Import statements must not begin with a leading backslash
(#36) Import statements must not begin with a leading backslash
(#38) Import statements must not begin with a leading backslash
(#60) There must not be a space before the colon in a return type declaration
(#64) There should be a comma after the last array item in a multi-line array.
mod/assign/submission/onenote/lang/cs/assignsubmission_onenote.php
(#35) The string key "maxbytes" is not in the correct order, it should be before "onenote"
(#43) The string key "onenoteactions" is not in the correct order, it should be before "submissionfilearea"
(#46) The string key "signinhelp" is not in the correct order, it should be before "workonthishelp"
(#48) The string key "notsignedin" is not in the correct order, it should be before "submissiondownloadfailed"
(#50) The string key "signinhelp1" is not in the correct order, it should be before "viewsubmission"
(#53) The string key "submissionlimitexceed" is not in the correct order, it should be before "submissionnotstarted"
mod/assign/submission/onenote/lang/de/assignsubmission_onenote.php
(#35) The string key "maxbytes" is not in the correct order, it should be before "onenote"
(#43) The string key "onenoteactions" is not in the correct order, it should be before "submissionfilearea"
(#46) The string key "signinhelp" is not in the correct order, it should be before "workonthishelp"
(#48) The string key "notsignedin" is not in the correct order, it should be before "submissiondownloadfailed"
(#50) The string key "signinhelp1" is not in the correct order, it should be before "viewsubmission"
(#53) The string key "submissionlimitexceed" is not in the correct order, it should be before "submissionnotstarted"
mod/assign/submission/onenote/lang/en/assignsubmission_onenote.php
(#36) The string key "maxbytes" is not in the correct order, it should be before "onenote"
(#44) The string key "onenoteactions" is not in the correct order, it should be before "submissionfilearea"
(#47) The string key "signinhelp" is not in the correct order, it should be before "workonthishelp"
(#49) The string key "notsignedin" is not in the correct order, it should be before "submissiondownloadfailed"
(#51) The string key "signinhelp1" is not in the correct order, it should be before "viewsubmission"
(#54) The string key "submissionlimitexceed" is not in the correct order, it should be before "submissionnotstarted"
(#55) The string key "download" is not in the correct order, it should be before "submissionlimitexceed"
(#57) The string key "privacy:path" is not in the correct order, it should be before "viewsubmissionwarning"
(#58) The string key "privacy:metadata:assignmentid" is not in the correct order, it should be before "privacy:path"
(#60) The string key "privacy:metadata:numfiles" is not in the correct order, it should be before "privacy:metadata:submissionpurpose"
(#62) The string key "erroremptyothervalue" is not in the correct order, it should be before "privacy:metadata:tablepurpose"
mod/assign/submission/onenote/lang/es/assignsubmission_onenote.php
(#35) The string key "maxbytes" is not in the correct order, it should be before "onenote"
(#43) The string key "onenoteactions" is not in the correct order, it should be before "submissionfilearea"
(#46) The string key "signinhelp" is not in the correct order, it should be before "workonthishelp"
(#48) The string key "notsignedin" is not in the correct order, it should be before "submissiondownloadfailed"
(#50) The string key "signinhelp1" is not in the correct order, it should be before "viewsubmission"
(#53) The string key "submissionlimitexceed" is not in the correct order, it should be before "submissionnotstarted"
mod/assign/submission/onenote/lang/fi/assignsubmission_onenote.php
(#35) The string key "maxbytes" is not in the correct order, it should be before "onenote"
(#43) The string key "onenoteactions" is not in the correct order, it should be before "submissionfilearea"
(#46) The string key "signinhelp" is not in the correct order, it should be before "workonthishelp"
(#48) The string key "notsignedin" is not in the correct order, it should be before "submissiondownloadfailed"
(#50) The string key "signinhelp1" is not in the correct order, it should be before "viewsubmission"
(#53) The string key "submissionlimitexceed" is not in the correct order, it should be before "submissionnotstarted"
mod/assign/submission/onenote/lang/fr/assignsubmission_onenote.php
(#35) The string key "maxbytes" is not in the correct order, it should be before "onenote"
(#43) The string key "onenoteactions" is not in the correct order, it should be before "submissionfilearea"
(#46) The string key "signinhelp" is not in the correct order, it should be before "workonthishelp"
(#48) The string key "notsignedin" is not in the correct order, it should be before "submissiondownloadfailed"
(#50) The string key "signinhelp1" is not in the correct order, it should be before "viewsubmission"
(#53) The string key "submissionlimitexceed" is not in the correct order, it should be before "submissionnotstarted"
mod/assign/submission/onenote/lang/it/assignsubmission_onenote.php
(#35) The string key "maxbytes" is not in the correct order, it should be before "onenote"
(#43) The string key "onenoteactions" is not in the correct order, it should be before "submissionfilearea"
(#46) The string key "signinhelp" is not in the correct order, it should be before "workonthishelp"
(#48) The string key "notsignedin" is not in the correct order, it should be before "submissiondownloadfailed"
(#50) The string key "signinhelp1" is not in the correct order, it should be before "viewsubmission"
(#53) The string key "submissionlimitexceed" is not in the correct order, it should be before "submissionnotstarted"
mod/assign/submission/onenote/lang/ja/assignsubmission_onenote.php
(#35) The string key "maxbytes" is not in the correct order, it should be before "onenote"
(#43) The string key "onenoteactions" is not in the correct order, it should be before "submissionfilearea"
(#46) The string key "signinhelp" is not in the correct order, it should be before "workonthishelp"
(#48) The string key "notsignedin" is not in the correct order, it should be before "submissiondownloadfailed"
(#50) The string key "signinhelp1" is not in the correct order, it should be before "viewsubmission"
(#53) The string key "submissionlimitexceed" is not in the correct order, it should be before "submissionnotstarted"
mod/assign/submission/onenote/lang/nl/assignsubmission_onenote.php
(#35) The string key "maxbytes" is not in the correct order, it should be before "onenote"
(#43) The string key "onenoteactions" is not in the correct order, it should be before "submissionfilearea"
(#46) The string key "signinhelp" is not in the correct order, it should be before "workonthishelp"
(#48) The string key "notsignedin" is not in the correct order, it should be before "submissiondownloadfailed"
(#50) The string key "signinhelp1" is not in the correct order, it should be before "viewsubmission"
(#53) The string key "submissionlimitexceed" is not in the correct order, it should be before "submissionnotstarted"
mod/assign/submission/onenote/lang/pl/assignsubmission_onenote.php
(#35) The string key "maxbytes" is not in the correct order, it should be before "onenote"
(#43) The string key "onenoteactions" is not in the correct order, it should be before "submissionfilearea"
(#46) The string key "signinhelp" is not in the correct order, it should be before "workonthishelp"
(#48) The string key "notsignedin" is not in the correct order, it should be before "submissiondownloadfailed"
(#50) The string key "signinhelp1" is not in the correct order, it should be before "viewsubmission"
(#53) The string key "submissionlimitexceed" is not in the correct order, it should be before "submissionnotstarted"
mod/assign/submission/onenote/lang/pt_br/assignsubmission_onenote.php
(#35) The string key "maxbytes" is not in the correct order, it should be before "onenote"
(#43) The string key "onenoteactions" is not in the correct order, it should be before "submissionfilearea"
(#46) The string key "signinhelp" is not in the correct order, it should be before "workonthishelp"
(#48) The string key "notsignedin" is not in the correct order, it should be before "submissiondownloadfailed"
(#50) The string key "signinhelp1" is not in the correct order, it should be before "viewsubmission"
(#53) The string key "submissionlimitexceed" is not in the correct order, it should be before "submissionnotstarted"
mod/assign/submission/onenote/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/assign/submission/onenote/locallib.php
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/assign/submission/onenote/tests/privacy/provider_test.php
(#45) Unit test provider_test should be declared as final.
(#49) Test method test_get_metadata() is missing any coverage information, own or at class level
(#49) Test method test_get_metadata() is missing a return type
(#58) Test method test_export_submission_user_data() is missing any coverage information, own or at class level
(#58) Test method test_export_submission_user_data() is missing a return type
(#94) Test method test_delete_submission_for_context() is missing any coverage information, own or at class level
(#94) Test method test_delete_submission_for_context() is missing a return type
(#136) Test method test_delete_submission_for_userid() is missing any coverage information, own or at class level
(#136) Test method test_delete_submission_for_userid() is missing a return type
(#180) Test method test_delete_submissions() is missing any coverage information, own or at class level
(#180) Test method test_delete_submissions() is missing a return type
(#271) There should be a comma after the last array item in a multi-line array.

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


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]


Gherkin .feature problems

(0 errors, 0 warnings)

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