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

(43 errors, 1 warnings)

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

local/redirectafterlogin/classes/observer.php
(#33) Missing docblock for class observer
(#34) Opening brace must not be followed by a blank line
(#37) Missing docblock for function user_loggedin
(#38) Opening brace should be on the same line as the declaration
(#103) Closing brace must not be followed by any comment or statement on the same line
(#103) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#106) Closing brace must not be followed by any comment or statement on the same line
(#106) The closing brace for the class must go on the next line after the body
local/redirectafterlogin/classes/privacy/provider.php
(#37) Opening brace must not be followed by a blank line
(#47) Opening brace should be on the same line as the declaration
(#50) Closing brace must not be followed by any comment or statement on the same line
(#50) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#53) Closing brace must not be followed by any comment or statement on the same line
(#53) The closing brace for the class must go on the next line after the body
local/redirectafterlogin/lib.php
(#32) Missing docblock for function local_redirectafterlogin_extend_settings_navigation
(#32) Opening brace must be the last content on the line
(#32) Opening brace must be the last content on the line
local/redirectafterlogin/mapping.php
(#31) "require_once" must be immediately followed by an open parenthesis
(#31) Expected at least 1 space before "."; 0 found
(#31) Expected at least 1 space after "."; 0 found
(#32) "require_once" must be immediately followed by an open parenthesis
(#32) Expected at least 1 space before "."; 0 found
(#32) Expected at least 1 space after "."; 0 found
(#33) "require_once" must be immediately followed by an open parenthesis
(#33) Expected at least 1 space before "."; 0 found
(#33) Expected at least 1 space after "."; 0 found
(#42) "require_once" must be immediately followed by an open parenthesis
(#42) Expected at least 1 space before "."; 0 found
(#42) Expected at least 1 space after "."; 0 found
(#55) Missing docblock for class cohort_redirect_form
(#56) Opening brace must not be followed by a blank line
(#59) Missing docblock for function definition
(#60) Opening brace should be on the same line as the declaration
(#108) Closing brace must not be followed by any comment or statement on the same line
(#108) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#111) Missing docblock for function validation
(#112) Opening brace should be on the same line as the declaration
(#122) Closing brace must not be followed by any comment or statement on the same line
(#122) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#125) Closing brace must not be followed by any comment or statement on the same line
(#125) The closing brace for the class must go on the next line after the body
(#162) Expected at least 1 space before "."; 0 found
(#162) Expected at least 1 space after "."; 0 found
(#162) Line exceeds 132 characters; contains 174 characters

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]