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

(256 errors, 0 warnings)

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

mod/onlyofficeeditor/backup/moodle2/backup_onlyofficeeditor_activity_task.class.php
(#34) Opening brace must not be followed by a blank line
(#61) Expected at least 1 space before "."; 0 found
(#61) Expected at least 1 space after "."; 0 found
(#61) Expected at least 1 space before "."; 0 found
(#61) Expected at least 1 space after "."; 0 found
(#65) Expected at least 1 space before "."; 0 found
(#65) Expected at least 1 space after "."; 0 found
(#65) Expected at least 1 space before "."; 0 found
(#65) Expected at least 1 space after "."; 0 found
mod/onlyofficeeditor/backup/moodle2/backup_onlyofficeeditor_stepslib.php
(#33) Opening brace must not be followed by a blank line
mod/onlyofficeeditor/backup/moodle2/restore_onlyofficeeditor_activity_task.class.php
(#33) Opening brace must not be followed by a blank line
(#68) Opening parenthesis of a multi-line function call must be the last content on the line
(#69) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#69) Only one argument is allowed per line in a multi-line function call
(#69) Closing parenthesis of a multi-line function call must be on a line by itself
(#70) Opening parenthesis of a multi-line function call must be the last content on the line
(#71) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#71) Only one argument is allowed per line in a multi-line function call
(#71) Closing parenthesis of a multi-line function call must be on a line by itself
(#75) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#83) Opening parenthesis of a multi-line function call must be the last content on the line
(#83) Only one argument is allowed per line in a multi-line function call
(#84) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#84) Only one argument is allowed per line in a multi-line function call
(#84) Closing parenthesis of a multi-line function call must be on a line by itself
(#85) Opening parenthesis of a multi-line function call must be the last content on the line
(#85) Only one argument is allowed per line in a multi-line function call
(#86) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#86) Only one argument is allowed per line in a multi-line function call
(#86) Closing parenthesis of a multi-line function call must be on a line by itself
(#87) Opening parenthesis of a multi-line function call must be the last content on the line
(#87) Only one argument is allowed per line in a multi-line function call
(#88) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#88) Only one argument is allowed per line in a multi-line function call
(#88) Closing parenthesis of a multi-line function call must be on a line by itself
(#89) Opening parenthesis of a multi-line function call must be the last content on the line
(#89) Only one argument is allowed per line in a multi-line function call
(#90) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#90) Only one argument is allowed per line in a multi-line function call
(#90) Closing parenthesis of a multi-line function call must be on a line by itself
mod/onlyofficeeditor/backup/moodle2/restore_onlyofficeeditor_stepslib.php
(#29) Opening brace must not be followed by a blank line
mod/onlyofficeeditor/callback.php
(#55) Long list syntax is not allowed
(#135) Expected 1 blank line at end of file; 2 found
mod/onlyofficeeditor/classes/document.php
(#38) Opening brace must not be followed by a blank line
(#91) The closing brace for the class must go on the next line after the body
mod/onlyofficeeditor/classes/document_service.php
(#42) Opening brace must not be followed by a blank line
mod/onlyofficeeditor/classes/editor.php
(#44) Opening brace must not be followed by a blank line
(#85) Opening parenthesis of a multi-line function call must be the last content on the line
(#85) Only one argument is allowed per line in a multi-line function call
(#85) Only one argument is allowed per line in a multi-line function call
(#85) Only one argument is allowed per line in a multi-line function call
(#86) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#86) Only one argument is allowed per line in a multi-line function call
(#86) Only one argument is allowed per line in a multi-line function call
(#86) Only one argument is allowed per line in a multi-line function call
(#86) Only one argument is allowed per line in a multi-line function call
(#86) Closing parenthesis of a multi-line function call must be on a line by itself
(#199) The closing brace for the class must go on the next line after the body
mod/onlyofficeeditor/classes/event/course_module_viewed.php
(#39) Opening brace must not be followed by a blank line
mod/onlyofficeeditor/classes/external/check_documentserver_connection.php
(#43) Opening brace must not be followed by a blank line
(#55) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#55) Closing parenthesis of a multi-line function call must be on a line by itself
(#60) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#60) Closing parenthesis of a multi-line function call must be on a line by itself
(#65) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#65) Closing parenthesis of a multi-line function call must be on a line by itself
(#70) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#70) Closing parenthesis of a multi-line function call must be on a line by itself
(#75) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#75) Closing parenthesis of a multi-line function call must be on a line by itself
(#126) Expected 1 space after FUNCTION keyword; 0 found
mod/onlyofficeeditor/classes/hasher.php
(#40) Opening brace must not be followed by a blank line
(#110) The closing brace for the class must go on the next line after the body
mod/onlyofficeeditor/classes/jwt_wrapper.php
(#37) Opening brace must not be followed by a blank line
mod/onlyofficeeditor/classes/local/admin/settings/check_document_server_button.php
(#77) Incorrect spacing between argument "$query" and equals sign; expected 1 but found 0
(#77) Incorrect spacing between default value and equals sign for argument "$query"; expected 1 but found 0
mod/onlyofficeeditor/classes/local/admin/settings/onlyoffice_admin_setting_text.php
(#36) Opening brace must not be followed by a blank line
(#62) Multi-line function declaration not indented correctly; expected 4 spaces but found 8
mod/onlyofficeeditor/classes/onlyoffice_file_utility.php
(#36) Opening brace must not be followed by a blank line
(#143) The closing brace for the class must go on the next line after the body
mod/onlyofficeeditor/classes/output/renderer.php
(#39) Opening brace must not be followed by a blank line
(#51) The closing brace for the class must go on the next line after the body
mod/onlyofficeeditor/classes/privacy/provider.php
(#38) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \core_privacy\local\request\data_provider; Found: \core_privacy\local\request\data_provider, \core_privacy\local\metadata\provider
(#38) The first item in a multi-line implements list must be on the line following the implements keyword
(#39) Opening brace must not be followed by a blank line
(#47) Opening parenthesis of a multi-line function call must be the last content on the line
(#49) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#49) Closing parenthesis of a multi-line function call must be on a line by itself
mod/onlyofficeeditor/classes/util.php
(#42) Opening brace must not be followed by a blank line
(#224) CASE statements must be defined using a colon
(#228) CASE statements must be defined using a colon
(#232) CASE statements must be defined using a colon
(#236) CASE statements must be defined using a colon
(#376) Long list syntax is not allowed
mod/onlyofficeeditor/desktop.php
(#29) Expected at least 1 space before "."; 0 found
(#29) Expected at least 1 space after "."; 0 found
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
mod/onlyofficeeditor/index.php
(#29) Expected at least 1 space before "."; 0 found
(#29) Expected at least 1 space after "."; 0 found
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
(#65) Expected at least 1 space before "."; 0 found
(#65) Expected at least 1 space after "."; 0 found
(#91) Opening parenthesis of a multi-line function call must be the last content on the line
(#92) Multi-line function call not indented correctly; expected 4 spaces but found 16
(#92) Only one argument is allowed per line in a multi-line function call
(#92) Closing parenthesis of a multi-line function call must be on a line by itself
mod/onlyofficeeditor/lib.php
(#180) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#180) Opening parenthesis of a multi-line function call must be the last content on the line
(#180) Only one argument is allowed per line in a multi-line function call
(#181) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#181) Closing parenthesis of a multi-line function call must be on a line by itself
(#181) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#211) Opening parenthesis of a multi-line function call must be the last content on the line
(#211) Only one argument is allowed per line in a multi-line function call
(#211) Only one argument is allowed per line in a multi-line function call
(#212) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#212) Closing parenthesis of a multi-line function call must be on a line by itself
(#378) Long list syntax is not allowed
(#400) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#405) The closing parenthesis of a multi-line control structure must be on the line after the last expression
mod/onlyofficeeditor/mod_form.php
(#46) Opening brace must not be followed by a blank line
(#90) Opening parenthesis of a multi-line function call must be the last content on the line
(#90) Only one argument is allowed per line in a multi-line function call
(#90) Only one argument is allowed per line in a multi-line function call
(#91) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#91) Only one argument is allowed per line in a multi-line function call
(#91) Only one argument is allowed per line in a multi-line function call
(#91) Closing parenthesis of a multi-line function call must be on a line by itself
(#92) Opening parenthesis of a multi-line function call must be the last content on the line
(#92) Only one argument is allowed per line in a multi-line function call
(#92) Only one argument is allowed per line in a multi-line function call
(#93) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#93) Only one argument is allowed per line in a multi-line function call
(#93) Only one argument is allowed per line in a multi-line function call
(#93) Closing parenthesis of a multi-line function call must be on a line by itself
(#94) Opening parenthesis of a multi-line function call must be the last content on the line
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Only one argument is allowed per line in a multi-line function call
(#95) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#95) Only one argument is allowed per line in a multi-line function call
(#95) Only one argument is allowed per line in a multi-line function call
(#95) Closing parenthesis of a multi-line function call must be on a line by itself
(#96) Opening parenthesis of a multi-line function call must be the last content on the line
(#96) Only one argument is allowed per line in a multi-line function call
(#96) Only one argument is allowed per line in a multi-line function call
(#97) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#97) Only one argument is allowed per line in a multi-line function call
(#97) Only one argument is allowed per line in a multi-line function call
(#97) Closing parenthesis of a multi-line function call must be on a line by itself
(#98) Opening parenthesis of a multi-line function call must be the last content on the line
(#98) Only one argument is allowed per line in a multi-line function call
(#98) Only one argument is allowed per line in a multi-line function call
(#99) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#99) Only one argument is allowed per line in a multi-line function call
(#99) Only one argument is allowed per line in a multi-line function call
(#99) Closing parenthesis of a multi-line function call must be on a line by itself
(#101) Opening parenthesis of a multi-line function call must be the last content on the line
(#101) Only one argument is allowed per line in a multi-line function call
(#102) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#102) Only one argument is allowed per line in a multi-line function call
(#102) Only one argument is allowed per line in a multi-line function call
(#102) Closing parenthesis of a multi-line function call must be on a line by itself
(#103) Opening parenthesis of a multi-line function call must be the last content on the line
(#103) Only one argument is allowed per line in a multi-line function call
(#103) Only one argument is allowed per line in a multi-line function call
(#104) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#104) Only one argument is allowed per line in a multi-line function call
(#104) Closing parenthesis of a multi-line function call must be on a line by itself
(#152) Opening parenthesis of a multi-line function call must be the last content on the line
(#152) Only one argument is allowed per line in a multi-line function call
(#152) Only one argument is allowed per line in a multi-line function call
(#153) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#153) Only one argument is allowed per line in a multi-line function call
(#153) Closing parenthesis of a multi-line function call must be on a line by itself
(#202) The closing brace for the class must go on the next line after the body
mod/onlyofficeeditor/onlyofficeeditorapi.php
(#53) Parentheses must be used when instantiating a new class
mod/onlyofficeeditor/settings.php
(#32) Blank line found at start of control structure
(#56) Opening parenthesis of a multi-line function call must be the last content on the line
(#57) Only one argument is allowed per line in a multi-line function call
(#58) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#58) Only one argument is allowed per line in a multi-line function call
(#58) Closing parenthesis of a multi-line function call must be on a line by itself
(#59) Opening parenthesis of a multi-line function call must be the last content on the line
(#60) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#60) Only one argument is allowed per line in a multi-line function call
(#60) Only one argument is allowed per line in a multi-line function call
(#60) Closing parenthesis of a multi-line function call must be on a line by itself
(#61) Opening parenthesis of a multi-line function call must be the last content on the line
(#62) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#62) Only one argument is allowed per line in a multi-line function call
(#62) Closing parenthesis of a multi-line function call must be on a line by itself
(#63) Opening parenthesis of a multi-line function call must be the last content on the line
(#64) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#64) Only one argument is allowed per line in a multi-line function call
(#64) Only one argument is allowed per line in a multi-line function call
(#64) Only one argument is allowed per line in a multi-line function call
(#64) Closing parenthesis of a multi-line function call must be on a line by itself
(#65) Opening parenthesis of a multi-line function call must be the last content on the line
(#67) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#67) Closing parenthesis of a multi-line function call must be on a line by itself
(#68) Opening parenthesis of a multi-line function call must be the last content on the line
(#69) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#69) Only one argument is allowed per line in a multi-line function call
(#69) Closing parenthesis of a multi-line function call must be on a line by itself
(#73) Opening parenthesis of a multi-line function call must be the last content on the line
(#75) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#75) Closing parenthesis of a multi-line function call must be on a line by itself
(#76) Opening parenthesis of a multi-line function call must be the last content on the line
(#77) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#77) Only one argument is allowed per line in a multi-line function call
(#77) Only one argument is allowed per line in a multi-line function call
(#77) Closing parenthesis of a multi-line function call must be on a line by itself
(#78) Opening parenthesis of a multi-line function call must be the last content on the line
(#79) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#79) Only one argument is allowed per line in a multi-line function call
(#79) Only one argument is allowed per line in a multi-line function call
(#79) Closing parenthesis of a multi-line function call must be on a line by itself
(#80) Opening parenthesis of a multi-line function call must be the last content on the line
(#81) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#81) Only one argument is allowed per line in a multi-line function call
(#81) Only one argument is allowed per line in a multi-line function call
(#81) Closing parenthesis of a multi-line function call must be on a line by itself
(#82) Opening parenthesis of a multi-line function call must be the last content on the line
(#83) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#83) Only one argument is allowed per line in a multi-line function call
(#83) Only one argument is allowed per line in a multi-line function call
(#83) Closing parenthesis of a multi-line function call must be on a line by itself
(#84) Opening parenthesis of a multi-line function call must be the last content on the line
(#85) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#85) Only one argument is allowed per line in a multi-line function call
(#85) Only one argument is allowed per line in a multi-line function call
(#85) Closing parenthesis of a multi-line function call must be on a line by itself
(#86) Opening parenthesis of a multi-line function call must be the last content on the line
(#87) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#87) Only one argument is allowed per line in a multi-line function call
(#87) Only one argument is allowed per line in a multi-line function call
(#87) Closing parenthesis of a multi-line function call must be on a line by itself
(#89) Opening parenthesis of a multi-line function call must be the last content on the line
(#90) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#90) Only one argument is allowed per line in a multi-line function call
(#90) Closing parenthesis of a multi-line function call must be on a line by itself
(#91) Opening parenthesis of a multi-line function call must be the last content on the line
(#92) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#92) Only one argument is allowed per line in a multi-line function call
(#92) Only one argument is allowed per line in a multi-line function call
(#92) Closing parenthesis of a multi-line function call must be on a line by itself
(#93) Opening parenthesis of a multi-line function call must be the last content on the line
(#94) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Closing parenthesis of a multi-line function call must be on a line by itself
mod/onlyofficeeditor/view.php
(#67) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#69) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#79) Expected 1 blank line at end of file; 2 found

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

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

mod/onlyofficeeditor/styles.css
(#233) Expected "#000000" to be "#000" (color-hex-length)

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]

mod/onlyofficeeditor/templates/banner.mustache
(#1) HTML Validation info, line 8: Empty heading. ( <h4 class="banner-title"></h4>)

Gherkin .feature problems

(0 errors, 0 warnings)

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