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

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

mod/onlyofficeeditor/backup/moodle2/backup_onlyofficeeditor_settingslib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/onlyofficeeditor/backup/moodle2/restore_onlyofficeeditor_activity_task.class.php
(#54) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
mod/onlyofficeeditor/backup/moodle2/restore_onlyofficeeditor_stepslib.php
(#36) Short array syntax must be used to define arrays
mod/onlyofficeeditor/callback.php
(#29) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
mod/onlyofficeeditor/classes/document_service.php
(#61) There should be a comma after the last array item in a multi-line array.
(#66) There should be a comma after the last array item in a multi-line array.
(#106) There should be a comma after the last array item in a multi-line array.
(#111) There should be a comma after the last array item in a multi-line array.
mod/onlyofficeeditor/classes/onlyoffice_file_utility.php
(#43) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
mod/onlyofficeeditor/classes/util.php
(#70) There should be a comma after the last array item in a multi-line array.
(#153) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
(#324) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#333) Short array syntax must be used to define arrays
(#341) There should be a comma after the last array item in a multi-line array.
(#360) Short array syntax must be used to define arrays
(#363) Short array syntax must be used to define arrays
(#365) There should be a comma after the last array item in a multi-line array.
(#385) Short array syntax must be used to define arrays
(#392) Short array syntax must be used to define arrays
mod/onlyofficeeditor/db/access.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#34) There should be a comma after the last array item in a multi-line array.
(#36) There should be a comma after the last array item in a multi-line array.
(#38) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#45) There should be a comma after the last array item in a multi-line array.
(#46) There should be a comma after the last array item in a multi-line array.
(#48) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#55) There should be a comma after the last array item in a multi-line array.
(#56) There should be a comma after the last array item in a multi-line array.
mod/onlyofficeeditor/db/events.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#31) There should be a comma after the last array item in a multi-line array.
(#32) There should be a comma after the last array item in a multi-line array.
mod/onlyofficeeditor/db/install.php
(#36) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
mod/onlyofficeeditor/db/messages.php
(#27) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#33) There should be a comma after the last array item in a multi-line array.
(#35) There should be a comma after the last array item in a multi-line array.
mod/onlyofficeeditor/db/upgrade.php
(#39) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
mod/onlyofficeeditor/desktop.php
(#28) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
mod/onlyofficeeditor/dsconfig.php
(#34) Short array syntax must be used to define arrays
mod/onlyofficeeditor/index.php
(#34) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#39) There should be a comma after the last array item in a multi-line array.
(#46) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
mod/onlyofficeeditor/lib.php
(#84) There should be a comma after the last array item in a multi-line array.
(#96) Short array syntax must be used to define arrays
(#145) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#206) Short array syntax must be used to define arrays
(#313) Short array syntax must be used to define arrays
(#330) Short array syntax must be used to define arrays
(#367) Short array syntax must be used to define arrays
mod/onlyofficeeditor/mod_form.php
(#61) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#169) Short array syntax must be used to define arrays
mod/onlyofficeeditor/version.php
(#33) Short array syntax must be used to define arrays
mod/onlyofficeeditor/view.php
(#34) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#71) 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]