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

(128 errors, 0 warnings)

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

mod/assign/submission/edusharing/classes/event/assessable_uploaded.php
(#41) Opening brace must not be followed by a blank line
mod/assign/submission/edusharing/classes/event/submission_created.php
(#33) Opening brace must not be followed by a blank line
mod/assign/submission/edusharing/classes/event/submission_updated.php
(#30) Opening brace must not be followed by a blank line
mod/assign/submission/edusharing/classes/privacy/provider.php
(#43) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \mod_assign\privacy\assignsubmission_provider, \mod_assign\privacy\assignsubmission_user_provider; Found: \mod_assign\privacy\assignsubmission_provider, \mod_assign\privacy\assignsubmission_user_provider, \core_privacy\local\metadata\provider
(#44) Expected 4 spaces before interface name; 8 found
(#45) Expected 4 spaces before interface name; 8 found
(#46) Expected 4 spaces before interface name; 8 found
(#46) Opening brace must not be followed by a blank line
(#151) Opening parenthesis of a multi-line function call must be the last content on the line
(#151) Only one argument is allowed per line in a multi-line function call
(#152) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#152) Only one argument is allowed per line in a multi-line function call
(#152) Closing parenthesis of a multi-line function call must be on a line by itself
(#180) Long list syntax is not allowed
(#181) Opening parenthesis of a multi-line function call must be the last content on the line
(#181) Only one argument is allowed per line in a multi-line function call
(#181) Only one argument is allowed per line in a multi-line function call
(#182) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#182) Only one argument is allowed per line in a multi-line function call
(#182) Closing parenthesis of a multi-line function call must be on a line by itself
mod/assign/submission/edusharing/lib.php
(#41) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#42) Multi-line function declaration not indented correctly; expected 4 spaces but found 42
(#43) Multi-line function declaration not indented correctly; expected 4 spaces but found 42
(#44) Multi-line function declaration not indented correctly; expected 4 spaces but found 42
(#45) Multi-line function declaration not indented correctly; expected 4 spaces but found 42
(#46) Multi-line function declaration not indented correctly; expected 4 spaces but found 42
(#47) Multi-line function declaration not indented correctly; expected 4 spaces but found 42
(#47) Incorrect spacing between argument "$options" and equals sign; expected 1 but found 0
(#47) The closing parenthesis of a multi-line function declaration must be on a new line
(#56) Opening parenthesis of a multi-line function call must be the last content on the line
(#57) Multi-line function call not indented correctly; expected 8 spaces but found 30
(#58) Multi-line function call not indented correctly; expected 8 spaces but found 30
(#59) Multi-line function call not indented correctly; expected 4 spaces but found 30
(#59) Closing parenthesis of a multi-line function call must be on a line by itself
(#71) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#72) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#76) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#77) The closing parenthesis of a multi-line control structure must be on the line after the last expression
mod/assign/submission/edusharing/locallib.php
(#44) Opening brace must not be followed by a blank line
(#54) Space before opening parenthesis of function call prohibited
(#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
(#93) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#93) Closing parenthesis of a multi-line function call must be on a line by itself
(#95) Opening parenthesis of a multi-line function call must be the last content on the line
(#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) Closing parenthesis of a multi-line function call must be on a line by itself
(#151) Opening parenthesis of a multi-line function call must be the last content on the line
(#151) Only one argument is allowed per line in a multi-line function call
(#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
(#153) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#153) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#153) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#160) Opening parenthesis of a multi-line function call must be the last content on the line
(#160) Only one argument is allowed per line in a multi-line function call
(#161) Opening parenthesis of a multi-line function call must be the last content on the line
(#161) Only one argument is allowed per line in a multi-line function call
(#162) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#162) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#162) Closing parenthesis of a multi-line function call must be on a line by itself
(#162) Only one argument is allowed per line in a multi-line function call
(#162) Closing parenthesis of a multi-line function call must be on a line by itself
(#173) Opening parenthesis of a multi-line function call must be the last content on the line
(#173) Only one argument is allowed per line in a multi-line function call
(#174) Opening parenthesis of a multi-line function call must be the last content on the line
(#174) Only one argument is allowed per line in a multi-line function call
(#175) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#175) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#175) Closing parenthesis of a multi-line function call must be on a line by itself
(#175) Only one argument is allowed per line in a multi-line function call
(#175) Closing parenthesis of a multi-line function call must be on a line by itself
(#177) Opening parenthesis of a multi-line function call must be the last content on the line
(#203) Opening parenthesis of a multi-line function call must be the last content on the line
(#205) Opening parenthesis of a multi-line function call must be the last content on the line
(#206) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#206) Closing parenthesis of a multi-line function call must be on a line by itself
(#210) Opening parenthesis of a multi-line function call must be the last content on the line
(#210) Only one argument is allowed per line in a multi-line function call
(#211) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#211) Closing parenthesis of a multi-line function call must be on a line by itself
(#218) Opening parenthesis of a multi-line function call must be the last content on the line
(#218) Only one argument is allowed per line in a multi-line function call
(#250) Opening parenthesis of a multi-line function call must be the last content on the line
(#313) Expected 1 space between the comma and "// ID of the context.". Found: 4 spaces
(#314) Expected 1 space between the comma and "// Your component name.". Found: 11 spaces
(#315) Expected 1 space between the comma and "// Usually = table name.". Found: 4 spaces
(#316) Expected 1 space between the comma and "// Usually = ID of row in table.". Found: 25 spaces
(#317) Expected 1 space between the comma and "// Any path beginning and ending in /.". Found: 37 spaces
(#318) Expected 1 space between the comma and "// Any filename.". Found: 21 spaces
(#330) Opening parenthesis of a multi-line function call must be the last content on the line
(#335) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#335) Closing parenthesis of a multi-line function call must be on a line by itself
(#381) Opening parenthesis of a multi-line function call must be the last content on the line
(#382) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#382) Closing parenthesis of a multi-line function call must be on a line by itself
(#393) Opening parenthesis of a multi-line function call must be the last content on the line
(#394) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#394) Closing parenthesis of a multi-line function call must be on a line by itself
(#406) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#419) Opening parenthesis of a multi-line function call must be the last content on the line
(#422) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#422) Closing parenthesis of a multi-line function call must be on a line by itself
(#452) PHP return type declarations must be lowercase; expected "array" but found "Array"
(#456) Opening parenthesis of a multi-line function call must be the last content on the line
(#461) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#461) Closing parenthesis of a multi-line function call must be on a line by itself
(#487) Opening parenthesis of a multi-line function call must be the last content on the line
(#489) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#489) Closing parenthesis of a multi-line function call must be on a line by itself
(#502) Opening parenthesis of a multi-line function call must be the last content on the line
(#504) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#504) Closing parenthesis of a multi-line function call must be on a line by itself
(#516) Opening parenthesis of a multi-line function call must be the last content on the line
(#517) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#517) Closing parenthesis of a multi-line function call must be on a line by itself
(#572) Opening parenthesis of a multi-line function call must be the last content on the line
(#577) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#577) Closing parenthesis of a multi-line function call must be on a line by itself
mod/assign/submission/edusharing/settings.php
(#26) Opening parenthesis of a multi-line function call must be the last content on the line
(#28) Multi-line function call not indented correctly; expected 0 spaces but found 4
(#28) Only one argument is allowed per line in a multi-line function call
(#28) Closing parenthesis of a multi-line function call must be on a line by itself
(#28) Expected 1 blank line at end of file; 2 found
mod/assign/submission/edusharing/version.php
(#31) 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, 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]