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

(120 errors, 5 warnings)

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

auth/casattras/auth.php
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
(#42) Opening brace must not be followed by a blank line
(#76) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#76) Opening parenthesis of a multi-line function call must be the last content on the line
(#76) Only one argument is allowed per line in a multi-line function call
(#76) Only one argument is allowed per line in a multi-line function call
(#76) Only one argument is allowed per line in a multi-line function call
(#77) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#77) Closing parenthesis of a multi-line function call must be on a line by itself
(#87) Expected at least 1 space before "."; 0 found
(#87) Expected at least 1 space after "."; 0 found
(#129) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#129) Closing parenthesis of a multi-line function call must be on a line by itself
(#137) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#137) Closing parenthesis of a multi-line function call must be on a line by itself
(#154) Expected at least 1 space before "."; 0 found
(#154) Expected at least 1 space after "."; 0 found
(#154) Expected at least 1 space before "."; 0 found
(#154) Expected at least 1 space after "."; 0 found
(#187) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#188) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#212) Parentheses must be used when instantiating a new class
(#309) Opening parenthesis of a multi-line function call must be the last content on the line
auth/casattras/classes/privacy/provider.php
(#36) Opening brace must not be followed by a blank line
auth/casattras/lang/en/auth_casattras.php
(#32) The string key "auth_casattras_baseuri" is not in the correct order, it should be before "auth_casattras_baseuri_key"
(#37) The string key "auth_casattras_certificate_path" is not in the correct order, it should be before "auth_casattras_certificate_path_empty"
(#45) The string key "auth_casattras_logoutcas" is not in the correct order, it should be before "auth_casattras_logoutcas_key"
(#60) The string key "convert_authtype" is not in the correct order, it should be before "convert_authtype_none"
auth/casattras/lib.php
(#37) Incorrect spacing between argument "$options" and equals sign; expected 1 but found 0
(#37) Incorrect spacing between default value and equals sign for argument "$options"; expected 1 but found 0
(#42) Expected 0 spaces before closing bracket; 1 found
auth/casattras/settings.php
(#27) Blank line found at start of control structure
(#30) Opening parenthesis of a multi-line function call must be the last content on the line
(#30) Only one argument is allowed per line in a multi-line function call
(#31) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#31) Closing parenthesis of a multi-line function call must be on a line by itself
(#34) Opening parenthesis of a multi-line function call must be the last content on the line
(#35) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#36) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#37) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#38) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#38) Closing parenthesis of a multi-line function call must be on a line by itself
(#42) 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 8 spaces but found 12
(#44) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#44) Only one argument is allowed per line in a multi-line function call
(#44) Only one argument is allowed per line in a multi-line function call
(#44) Only one argument is allowed per line in a multi-line function call
(#44) Closing parenthesis of a multi-line function call must be on a line by itself
(#47) Opening parenthesis of a multi-line function call must be the last content on the line
(#48) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#49) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#49) Only one argument is allowed per line in a multi-line function call
(#49) Only one argument is allowed per line in a multi-line function call
(#49) Closing parenthesis of a multi-line function call must be on a line by itself
(#52) Opening parenthesis of a multi-line function call must be the last content on the line
(#53) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#54) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#54) Only one argument is allowed per line in a multi-line function call
(#54) Only one argument is allowed per line in a multi-line function call
(#54) Closing parenthesis of a multi-line function call must be on a line by itself
(#57) Opening parenthesis of a multi-line function call must be the last content on the line
(#58) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#59) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#59) Only one argument is allowed per line in a multi-line function call
(#59) Only one argument is allowed per line in a multi-line function call
(#59) Closing parenthesis of a multi-line function call must be on a line by itself
(#67) Opening parenthesis of a multi-line function call must be the last content on the line
(#68) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#69) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#69) Only one argument is allowed per line in a multi-line function call
(#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
(#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 8 spaces but found 12
(#79) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#79) Only one argument is allowed per line in a multi-line function call
(#79) Space found before comma in argument list
(#79) Expected no space between "0" and the comma. Found: 1 space
(#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
(#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 8 spaces but found 12
(#84) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#84) Only one argument is allowed per line in a multi-line function call
(#84) Space found before comma in argument list
(#84) Expected no space between "0" and the comma. Found: 1 space
(#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
(#87) Opening parenthesis of a multi-line function call must be the last content on the line
(#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) Only one argument is allowed per line in a multi-line function call
(#89) Space found before comma in argument list
(#89) Expected no space between "0" and the comma. Found: 1 space
(#89) Only one argument is allowed per line in a multi-line function call
(#89) 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
(#93) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#94) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Space found before comma in argument list
(#94) Expected no space between "0" and the comma. Found: 1 space
(#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
(#97) Opening parenthesis of a multi-line function call must be the last content on the line
(#98) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#99) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#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
(#102) Opening parenthesis of a multi-line function call must be the last content on the line
(#103) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#104) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#104) Only one argument is allowed per line in a multi-line function call
(#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
(#108) Opening parenthesis of a multi-line function call must be the last content on the line
(#108) Only one argument is allowed per line in a multi-line function call
(#108) Only one argument is allowed per line in a multi-line function call
(#108) Only one argument is allowed per line in a multi-line function call
(#108) Only one argument is allowed per line in a multi-line function call
(#108) Only one argument is allowed per line in a multi-line function call
(#109) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#109) Closing parenthesis of a multi-line function call must be on a line by itself

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]