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

(73 errors, 0 warnings)

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

local/onenote/classes/api/base.php
(#287) Blank line found at start of control structure
(#325) Opening parenthesis of a multi-line function call must be the last content on the line
(#326) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#326) Closing parenthesis of a multi-line function call must be on a line by itself
(#327) Blank line found at end of control structure
(#330) Opening parenthesis of a multi-line function call must be the last content on the line
(#331) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#331) Closing parenthesis of a multi-line function call must be on a line by itself
(#332) Blank line found at end of control structure
(#570) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#570) Multi-line function declarations must define one parameter per line
(#570) Multi-line function declarations must define one parameter per line
(#570) Multi-line function declarations must define one parameter per line
(#571) Multi-line function declarations must define one parameter per line
(#571) Multi-line function declarations must define one parameter per line
(#571) The closing parenthesis of a multi-line function declaration must be on a new line
(#732) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#732) Multi-line function declarations must define one parameter per line
(#732) Multi-line function declarations must define one parameter per line
(#732) Multi-line function declarations must define one parameter per line
(#732) Multi-line function declarations must define one parameter per line
(#733) The closing parenthesis of a multi-line function declaration must be on a new line
(#766) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#767) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#898) Opening parenthesis of a multi-line function call must be the last content on the line
(#898) Only one argument is allowed per line in a multi-line function call
(#898) Only one argument is allowed per line in a multi-line function call
(#898) Only one argument is allowed per line in a multi-line function call
(#899) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#899) Only one argument is allowed per line in a multi-line function call
(#899) Closing parenthesis of a multi-line function call must be on a line by itself
(#1252) Blank line found at end of control structure
(#1289) Blank line found at start of control structure
local/onenote/classes/privacy/provider.php
(#44) Each interface must be in a file by itself
(#45) The implements keyword must be on the same line as the class name
(#45) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\request\plugin\provider, \core_privacy\local\metadata\provider, local_onenote_userlist; Found: local_onenote_userlist, \core_privacy\local\request\plugin\provider, \core_privacy\local\metadata\provider
(#45) Opening brace must not be followed by a blank line
local/onenote/db/upgrade.php
(#84) Opening parenthesis of a multi-line function call must be the last content on the line
(#84) Only one argument is allowed per line in a multi-line function call
(#84) Only one argument is allowed per line in a multi-line function call
(#84) Only one argument is allowed per line in a multi-line function call
(#84) Only one argument is allowed per line in a multi-line function call
(#84) Only one argument is allowed per line in a multi-line function call
(#84) Only one argument is allowed per line in a multi-line function call
(#85) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#85) Closing parenthesis of a multi-line function call must be on a line by itself
(#123) Opening parenthesis of a multi-line function call must be the last content on the line
(#123) Only one argument is allowed per line in a multi-line function call
(#123) Only one argument is allowed per line in a multi-line function call
(#123) Only one argument is allowed per line in a multi-line function call
(#123) Only one argument is allowed per line in a multi-line function call
(#123) Only one argument is allowed per line in a multi-line function call
(#123) Only one argument is allowed per line in a multi-line function call
(#124) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#124) Closing parenthesis of a multi-line function call must be on a line by itself
local/onenote/tests/generator/lib.php
(#29) Opening brace must not be followed by a blank line
(#48) Function closing brace must go on the next line following the body; found 1 blank lines before brace
local/onenote/tests/onenoteapi_test.php
(#226) Opening parenthesis of a multi-line function call must be the last content on the line
(#227) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#227) Closing parenthesis of a multi-line function call must be on a line by itself
(#280) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#309) Opening parenthesis of a multi-line function call must be the last content on the line
(#310) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#310) Closing parenthesis of a multi-line function call must be on a line by itself
(#316) Parentheses must be used when instantiating a new class
(#325) Parentheses must be used when instantiating a new class
(#329) Parentheses must be used when instantiating a new class
(#453) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#453) Multi-line function declarations must define one parameter per line
(#453) Multi-line function declarations must define one parameter per line
(#453) Multi-line function declarations must define one parameter per line
(#454) Multi-line function declarations must define one parameter per line
(#454) The closing parenthesis of a multi-line function declaration must be on a new line

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]