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

(176 errors, 0 warnings)

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

local/envbar/classes/check/envage.php
(#39) Opening brace must not be followed by a blank 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
(#82) Expected 1 blank line at end of file; 2 found
local/envbar/classes/check/refresh.php
(#31) Opening brace must not be followed by a blank line
(#96) Space found before comma in argument list
(#96) Expected no space between ")" and the comma. Found: 1 space
local/envbar/classes/form/config.php
(#38) Opening brace must not be followed by a blank line
(#70) Space before opening parenthesis of function call prohibited
(#72) Expected at least 1 space before "."; 0 found
(#72) Expected at least 1 space after "."; 0 found
(#142) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#143) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#144) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#145) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#146) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#161) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#162) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#163) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#164) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#165) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#194) Blank line found at start of control structure
(#332) Blank line found at end of control structure
(#449) Expected 1 blank line at end of file; 2 found
local/envbar/classes/form/lastrefresh.php
(#37) Opening brace must not be followed by a blank line
(#72) Expected 1 blank line at end of file; 2 found
local/envbar/classes/hook_callbacks.php
(#36) Opening brace must not be followed by a blank line
local/envbar/classes/local/envbarlib.php
(#44) Opening brace must not be followed by a blank line
(#368) Blank line found at end of control structure
(#381) Blank line found at end of control structure
(#383) Expected at least 1 space before "."; 0 found
(#383) Expected at least 1 space after "."; 0 found
(#530) Expected at least 1 space before "."; 0 found
(#530) Expected at least 1 space after "."; 0 found
(#531) Expected at least 1 space before "."; 0 found
(#531) Expected at least 1 space after "."; 0 found
(#531) Expected at least 1 space before "."; 0 found
(#531) Expected at least 1 space after "."; 0 found
(#531) Expected at least 1 space before "."; 0 found
(#532) Expected at least 1 space before "."; 0 found
(#532) Expected at least 1 space after "."; 0 found
(#532) Expected at least 1 space before "."; 0 found
(#532) Expected at least 1 space after "."; 0 found
(#544) Expected at least 1 space before "."; 0 found
(#544) Expected at least 1 space after "."; 0 found
(#692) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#694) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#756) Space after opening parenthesis of function call prohibited
(#757) Expected at least 1 space before "."; 0 found
(#757) Expected at least 1 space after "."; 0 found
(#870) Each PHP statement must be on a line by itself
local/envbar/classes/privacy/provider.php
(#35) There must be a blank line following the last trait import statement
local/envbar/classes/task/sync_lastrefresh.php
(#36) Opening brace must not be followed by a blank line
local/envbar/db/tasks.php
(#37) Expected 1 blank line at end of file; 2 found
local/envbar/db/upgrade.php
(#49) Blank line found at start of control structure
(#65) Blank line found at start of control structure
(#80) Blank line found at start of control structure
(#107) Blank line found at start of control structure
local/envbar/index.php
(#40) Blank line found at start of control structure
(#52) Blank line found at start of control structure
(#56) Blank line found at start of control structure
(#113) Expected 1 blank line at end of file; 2 found
local/envbar/last_refresh.php
(#51) Blank line found at end of control structure
(#60) Expected 1 blank line at end of file; 2 found
local/envbar/renderer.php
(#34) Opening brace must not be followed by a blank line
(#172) Opening parenthesis of a multi-line function call must be the last content on the line
(#172) Expected at least 1 space before "."; 0 found
(#172) Expected at least 1 space after "."; 0 found
(#173) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#174) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#174) Closing parenthesis of a multi-line function call must be on a line by itself
(#176) Opening parenthesis of a multi-line function call must be the last content on the line
(#177) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#177) Closing parenthesis of a multi-line function call must be on a line by itself
(#256) Opening parenthesis of a multi-line function call must be the last content on the line
(#257) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#257) Closing parenthesis of a multi-line function call must be on a line by itself
(#282) Expected at least 1 space before "."; 0 found
(#292) The closing brace for the class must go on the next line after the body
(#316) Function closing brace must go on the next line following the body; found 1 blank lines before brace
local/envbar/settings.php
(#31) Blank line found at start of control structure
(#35) Opening parenthesis of a multi-line function call must be the last content on the line
(#37) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#37) Closing parenthesis of a multi-line function call must be on a line by itself
(#39) Opening parenthesis of a multi-line function call must be the last content on the line
(#41) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#41) Closing parenthesis of a multi-line function call must be on a line by itself
(#43) Opening parenthesis of a multi-line function call must be the last content on the line
(#44) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#44) Closing parenthesis of a multi-line function call must be on a line by itself
(#46) Opening parenthesis of a multi-line function call must be the last content on the line
(#47) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#48) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#48) Closing parenthesis of a multi-line function call must be on a line by itself
(#50) Opening parenthesis of a multi-line function call must be the last content on the line
(#51) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#52) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#53) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#54) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#55) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#56) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#56) Closing parenthesis of a multi-line function call must be on a line by itself
(#58) Opening parenthesis of a multi-line function call must be the last content on the line
(#59) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#60) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#61) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#62) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#62) Closing parenthesis of a multi-line function call must be on a line by itself
(#64) Opening parenthesis of a multi-line function call must be the last content on the line
(#65) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#66) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#67) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#67) Closing parenthesis of a multi-line function call must be on a line by itself
(#69) Opening parenthesis of a multi-line function call must be the last content on the line
(#70) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#71) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#72) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#72) Closing parenthesis of a multi-line function call must be on a line by itself
(#74) 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 8 spaces but found 12
(#76) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#77) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#77) Closing parenthesis of a multi-line function call must be on a line by itself
(#79) Opening parenthesis of a multi-line function call must be the last content on the line
(#80) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#81) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#81) 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 8 spaces but found 12
(#88) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#89) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#89) 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 8 spaces but found 12
(#93) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#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
(#96) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#97) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#98) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#98) Closing parenthesis of a multi-line function call must be on a line by itself
(#100) 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
(#102) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#103) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#103) Closing parenthesis of a multi-line function call must be on a line by itself
(#105) Opening parenthesis of a multi-line function call must be the last content on the line
(#106) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#107) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#107) Closing parenthesis of a multi-line function call must be on a line by itself
(#109) Opening parenthesis of a multi-line function call must be the last content on the line
(#110) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#111) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#112) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#112) Closing parenthesis of a multi-line function call must be on a line by itself
(#114) Opening parenthesis of a multi-line function call must be the last content on the line
(#115) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#116) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#116) Closing parenthesis of a multi-line function call must be on a line by itself
(#118) Opening parenthesis of a multi-line function call must be the last content on the line
(#119) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#120) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#121) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#121) 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
(#124) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#125) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#125) Closing parenthesis of a multi-line function call must be on a line by itself
(#127) Opening parenthesis of a multi-line function call must be the last content on the line
(#128) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#129) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#130) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#130) Closing parenthesis of a multi-line function call must be on a line by itself
local/envbar/tests/lib_test.php
(#34) Opening brace must not be followed by a blank line
local/envbar/tests/privacy/privacy.php
(#113) Expected 1 blank line at end of file; 2 found
local/envbar/toggle_debugging.php
(#45) 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]