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

(19 errors, 14 warnings)

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

mod/assign/submission/onlyoffice/api/editorconfig.php
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#55) Short array syntax must be used to define arrays
(#85) There should be a comma after the last array item in a multi-line array.
(#93) There should be a comma after the last array item in a multi-line array.
(#100) There should be a comma after the last array item in a multi-line array.
(#101) There should be a comma after the last array item in a multi-line array.
(#102) There should be a comma after the last array item in a multi-line array.
(#122) There should be a comma after the last array item in a multi-line array.
mod/assign/submission/onlyoffice/backup/moodle2/backup_assignsubmission_onlyoffice_subplugin.class.php
(#42) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
mod/assign/submission/onlyoffice/backup/moodle2/restore_assignsubmission_onlyoffice_subplugin.class.php
(#38) Short array syntax must be used to define arrays
mod/assign/submission/onlyoffice/callback.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#126) Short array syntax must be used to define arrays
(#168) There should be a comma after the last array item in a multi-line array.
mod/assign/submission/onlyoffice/classes/filemanager.php
(#106) There should be a comma after the last array item in a multi-line array.
(#174) Short array syntax must be used to define arrays
(#182) There should be a comma after the last array item in a multi-line array.
(#296) There should be a comma after the last array item in a multi-line array.
(#327) There should be a comma after the last array item in a multi-line array.
mod/assign/submission/onlyoffice/classes/output/content.php
(#74) There should be a comma after the last array item in a multi-line array.
mod/assign/submission/onlyoffice/classes/privacy/provider.php
(#33) Import statements must not begin with a leading backslash
(#34) 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
(#105) Short array syntax must be used to define arrays
(#119) There should be a comma after the last array item in a multi-line array.
mod/assign/submission/onlyoffice/download.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#87) Short array syntax must be used to define arrays
mod/assign/submission/onlyoffice/locallib.php
(#197) There should be a comma after the last array item in a multi-line array.
(#286) Short array syntax must be used to define arrays
(#289) There should be a comma after the last array item in a multi-line array.
mod/assign/submission/onlyoffice/version.php
(#32) Short array syntax must be used to define arrays

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]