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

(86 errors, 0 warnings)

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

local/och5p/ajax.php
(#45) Long list syntax is not allowed
(#75) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#76) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#80) Expected 0 spaces before closing bracket; 1 found
local/och5p/classes/local/opencast_manager.php
(#74) Blank line found at start of control structure
(#77) Expected 1 space after FUNCTION keyword; 0 found
(#148) Expected 1 space after FUNCTION keyword; 0 found
(#156) Blank line found at start of control structure
(#236) Expected 0 spaces before closing bracket; 1 found
local/och5p/classes/local/theme_manager.php
(#71) Blank line found at start of control structure
(#77) Opening parenthesis of a multi-line function call must be the last content on the line
(#78) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#78) Only one argument is allowed per line in a multi-line function call
(#78) Closing parenthesis of a multi-line function call must be on a line by itself
(#83) Blank line found at start of control structure
(#89) Blank line found at start of control structure
(#95) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#96) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#96) Blank line found at start of control structure
(#133) Opening parenthesis of a multi-line function call must be the last content on the line
(#134) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#134) Only one argument is allowed per line in a multi-line function call
(#134) Closing parenthesis of a multi-line function call must be on a line by itself
(#162) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#163) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#163) Blank line found at start of control structure
(#170) Opening parenthesis of a multi-line function call must be the last content on the line
(#171) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#171) Only one argument is allowed per line in a multi-line function call
(#171) Closing parenthesis of a multi-line function call must be on a line by itself
(#189) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#190) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#196) Opening parenthesis of a multi-line function call must be the last content on the line
(#197) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#197) Only one argument is allowed per line in a multi-line function call
(#197) Closing parenthesis of a multi-line function call must be on a line by itself
(#223) Blank line found at start of control structure
(#238) Blank line found at start of control structure
local/och5p/classes/privacy/provider.php
(#36) Opening brace must not be followed by a blank line
local/och5p/db/upgrade.php
(#44) Blank line found at start of control structure
local/och5p/lib.php
(#51) Opening parenthesis of a multi-line function call must be the last content on the line
(#51) Only one argument is allowed per line in a multi-line function call
(#51) Space found before comma in argument list
(#51) Expected no space between "$errormessage" and the comma. Found: 1 space
(#51) Only one argument is allowed per line in a multi-line function call
(#52) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#52) 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
(#61) Only one argument is allowed per line in a multi-line function call
(#61) Space found before comma in argument list
(#61) Expected no space between "$errormessage" and the comma. Found: 1 space
(#61) Only one argument is allowed per line in a multi-line function call
(#62) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#62) Closing parenthesis of a multi-line function call must be on a line by itself
local/och5p/settings.php
(#33) Blank line found at start of control structure
(#35) Expected at least 1 space before "."; 0 found
(#35) Expected at least 1 space after "."; 0 found
(#37) Space after opening parenthesis of function call prohibited
(#41) Opening parenthesis of a multi-line function call must be the last content on the line
(#43) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#43) Closing parenthesis of a multi-line function call must be on a line by itself
(#43) Closing parenthesis of a multi-line function call must be on a line by itself
(#71) Opening parenthesis of a multi-line function call must be the last content on the line
(#72) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#73) Multi-line function call not indented correctly; expected 4 spaces but found 16
(#73) 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
(#92) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#92) Closing parenthesis of a multi-line function call must be on a line by itself
(#99) Opening parenthesis of a multi-line function call must be the last content on the line
(#101) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#101) Only one argument is allowed per line in a multi-line function call
(#101) Closing parenthesis of a multi-line function call must be on a line by itself
(#106) Opening parenthesis of a multi-line function call must be the last content on the line
(#107) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#107) Only one argument is allowed per line in a multi-line function call
(#107) Closing parenthesis of a multi-line function call must be on a line by itself
(#110) Opening parenthesis of a multi-line function call must be the last content on the line
(#112) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#112) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#112) Closing parenthesis of a multi-line function call must be on a line by itself
(#112) Closing parenthesis of a multi-line function call must be on a line by itself
local/och5p/tests/behat/behat_local_och5p.php
(#38) Opening brace must not be followed by a blank line
(#91) Expected 0 spaces before closing bracket; 1 found
(#110) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#111) The closing parenthesis of a multi-line control structure must be on the line after the last expression

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

(6 errors, 0 warnings)

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

local/och5p/lib/style/H5PEditor.AV.css
(#17) Unexpected !important (declaration-no-important)
(#58) Unexpected !important (declaration-no-important)
(#59) Unexpected !important (declaration-no-important)
(#63) Unexpected !important (declaration-no-important)
local/och5p/lib/style/oc-fonts.css
(#4) Expected newline after ":" with a multi-line declaration (declaration-colon-newline-after)
(#4) Unexpected whitespace at end of line (no-eol-whitespace)

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]