Prechecker results: error


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

(93 errors, 1 warnings)

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

auth/loginlogoutredir/auth.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#8) PHP4 style constructors are not allowed; use "__construct()" instead
(#8) Visibility must be declared on method "auth_plugin_loginlogoutredir"
(#13) Visibility must be declared on method "user_authenticated_hook"
(#14) Spaces must be used to indent lines; tabs are not allowed
(#14) Tab found within whitespace
(#14) Line indented incorrectly; expected at least 8 spaces, found 2
(#15) Spaces must be used to indent lines; tabs are not allowed
(#15) Tab found within whitespace
(#15) Line indented incorrectly; expected 8 spaces, found 2
(#16) Spaces must be used to indent lines; tabs are not allowed
(#16) Tab found within whitespace
(#16) Line indented incorrectly; expected at least 12 spaces, found 3
(#17) Spaces must be used to indent lines; tabs are not allowed
(#17) Tab found within whitespace
(#17) Line indented incorrectly; expected 12 spaces, found 3
(#18) Spaces must be used to indent lines; tabs are not allowed
(#18) Tab found within whitespace
(#18) Line indented incorrectly; expected at least 16 spaces, found 4
(#19) Spaces must be used to indent lines; tabs are not allowed
(#19) Tab found within whitespace
(#19) Line indented incorrectly; expected 12 spaces, found 3
(#20) Spaces must be used to indent lines; tabs are not allowed
(#20) Tab found within whitespace
(#20) Line indented incorrectly; expected 12 spaces, found 3
(#20) Expected "} else {\n"; found "}\n\t\t\telse {\n"
(#21) Spaces must be used to indent lines; tabs are not allowed
(#21) Tab found within whitespace
(#21) Line indented incorrectly; expected at least 16 spaces, found 4
(#21) The use of function error_log() is forbidden
(#22) Spaces must be used to indent lines; tabs are not allowed
(#22) Tab found within whitespace
(#22) Line indented incorrectly; expected 12 spaces, found 3
(#23) Spaces must be used to indent lines; tabs are not allowed
(#23) Tab found within whitespace
(#23) Line indented incorrectly; expected 8 spaces, found 2
(#24) Spaces must be used to indent lines; tabs are not allowed
(#24) Tab found within whitespace
(#24) Line indented incorrectly; expected 8 spaces, found 2
(#24) Expected "} else {\n"; found "}\n\t\telse {\n"
(#25) Spaces must be used to indent lines; tabs are not allowed
(#25) Tab found within whitespace
(#25) Line indented incorrectly; expected at least 12 spaces, found 3
(#25) The use of function error_log() is forbidden
(#26) Spaces must be used to indent lines; tabs are not allowed
(#26) Tab found within whitespace
(#26) Line indented incorrectly; expected 8 spaces, found 2
(#27) Spaces must be used to indent lines; tabs are not allowed
(#27) Tab found within whitespace
(#27) Line indented incorrectly; expected at least 8 spaces, found 2
(#30) Visibility must be declared on method "logoutpage_hook"
(#31) Spaces must be used to indent lines; tabs are not allowed
(#31) Tab found within whitespace
(#31) Line indented incorrectly; expected at least 8 spaces, found 2
(#32) Spaces must be used to indent lines; tabs are not allowed
(#32) Tab found within whitespace
(#32) Line indented incorrectly; expected at least 8 spaces, found 2
(#33) Spaces must be used to indent lines; tabs are not allowed
(#33) Tab found within whitespace
(#33) Line indented incorrectly; expected 8 spaces, found 2
(#34) Spaces must be used to indent lines; tabs are not allowed
(#34) Tab found within whitespace
(#34) Line indented incorrectly; expected at least 12 spaces, found 3
(#35) Spaces must be used to indent lines; tabs are not allowed
(#35) Tab found within whitespace
(#35) Line indented incorrectly; expected 8 spaces, found 2
(#36) Spaces must be used to indent lines; tabs are not allowed
(#36) Tab found within whitespace
(#36) Line indented incorrectly; expected 8 spaces, found 2
(#36) Expected "} else {\n"; found "}\n\t\telse {\n"
(#37) Spaces must be used to indent lines; tabs are not allowed
(#37) Tab found within whitespace
(#37) Line indented incorrectly; expected at least 12 spaces, found 3
(#37) The use of function error_log() is forbidden
(#38) Spaces must be used to indent lines; tabs are not allowed
(#38) Tab found within whitespace
(#38) Line indented incorrectly; expected 8 spaces, found 2
(#42) A closing tag is not permitted at the end of a PHP file
auth/loginlogoutredir/lang/en/auth_loginlogoutredir.php
(#2) The opening <?php tag must be followed by exactly one newline.
auth/loginlogoutredir/version.php
(#31) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(8 errors, 1 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

auth/loginlogoutredir/auth.php
(#2) File-level phpdocs block is not found
(#4) Class auth_plugin_loginlogoutredir is not documented
(#13) Function auth_plugin_loginlogoutredir::user_authenticated_hook is not documented
(#30) Function auth_plugin_loginlogoutredir::logoutpage_hook is not documented
(#4) Package is not specified for class auth_plugin_loginlogoutredir. It is also not specified in file-level phpdocs
auth/loginlogoutredir/lang/en/auth_loginlogoutredir.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
auth/loginlogoutredir/version.php
(#17) No one-line description found in phpdocs for file
(#21) Package auth is not valid

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]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]