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

(250 errors, 13 warnings)

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

auth/uniquelogin/auth.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#18) Inline comments must end in full-stops, exclamation marks, or question marks
(#18) 3 slashes comments are not allowed; use "// Comment." instead
(#18) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#33) PHP4 style constructors are not allowed; use "__construct()" instead
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#48) Line indented incorrectly; expected at least 8 spaces, found 5
(#55) Whitespace found at end of line
(#63) Commas (,) must be followed by white space.
(#63) Commas (,) must be followed by white space.
(#63) Expected 1 space before "=="; 0 found
(#63) Expected 1 space after "=="; 0 found
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#65) Whitespace found at end of line
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#66) Line indented incorrectly; expected at least 4 spaces, found 1
(#67) Expected 2 space(s) before asterisk; 5 found
(#68) Expected 2 space(s) before asterisk; 5 found
(#69) Expected 2 space(s) before asterisk; 5 found
(#70) Expected 2 space(s) before asterisk; 5 found
(#73) Commas (,) must be followed by white space.
(#73) Commas (,) must be followed by white space.
(#73) Expected 1 space before "=="; 0 found
(#73) Expected 1 space after "=="; 0 found
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#75) Whitespace found at end of line
(#76) Spaces must be used to indent lines; tabs are not allowed
(#76) Tab found within whitespace
(#76) Line indented incorrectly; expected at least 4 spaces, found 1
(#77) Expected 2 space(s) before asterisk; 5 found
(#78) Expected 2 space(s) before asterisk; 5 found
(#79) Expected 2 space(s) before asterisk; 5 found
(#80) Expected 2 space(s) before asterisk; 5 found
(#83) Commas (,) must be followed by white space.
(#83) Commas (,) must be followed by white space.
(#83) Expected 1 space before "=="; 0 found
(#83) Expected 1 space after "=="; 0 found
(#85) Spaces must be used to indent lines; tabs are not allowed
(#85) Tab found within whitespace
(#85) Whitespace found at end of line
(#86) Spaces must be used to indent lines; tabs are not allowed
(#86) Tab found within whitespace
(#86) Line indented incorrectly; expected at least 4 spaces, found 1
(#87) Expected 2 space(s) before asterisk; 5 found
(#88) Expected 2 space(s) before asterisk; 5 found
(#89) Expected 2 space(s) before asterisk; 5 found
(#90) Expected 2 space(s) before asterisk; 5 found
(#93) Commas (,) must be followed by white space.
(#93) Commas (,) must be followed by white space.
(#93) Expected 1 space before ">="; 0 found
(#93) Expected 1 space after ">="; 0 found
(#95) Spaces must be used to indent lines; tabs are not allowed
(#95) Tab found within whitespace
(#95) Whitespace found at end of line
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Commas (,) must be followed by white space.
(#119) Whitespace found at end of line
(#120) Whitespace found at end of line
(#129) Commas (,) must be followed by white space.
(#130) Spaces must be used to indent lines; tabs are not allowed
(#130) Tab found within whitespace
(#130) Line indented incorrectly; expected at least 8 spaces, found 5
(#130) Commas (,) must be followed by white space.
(#141) Whitespace found at end of line
(#142) No space found before comment text; expected "// Não deixa o utilizar logado se já tiver uma sessão ativa (Pedido AV para cliente em particular)" but found "//Não deixa o utilizar logado se já tiver uma sessão ativa (Pedido AV para cliente em particular)"
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) This comment is 86% valid code; is this commented out code?
(#143) No space found before comment text; expected "// print_error('auth_uniquelogerror','auth_uniquelogin');" but found "//print_error('auth_uniquelogerror','auth_uniquelogin');"
(#144) Whitespace found at end of line
(#145) Variable "sessionKey" must be all lower-case
(#146) Variable "sessionKey" must be all lower-case
(#148) Expected "} else if (...) {\n"; found "} else if(...){\n"
(#148) Expected "if (...) {\n"; found "if(...){\n"
(#149) Spaces must be used to indent lines; tabs are not allowed
(#149) Tab found within whitespace
(#149) Line indented incorrectly; expected at least 12 spaces, found 3
(#149) Commas (,) must be followed by white space.
(#150) Spaces must be used to indent lines; tabs are not allowed
(#150) Tab found within whitespace
(#150) Whitespace found at end of line
(#151) Spaces must be used to indent lines; tabs are not allowed
(#151) Tab found within whitespace
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Line indented incorrectly; expected at least 12 spaces, found 3
(#151) No space found before comment text; expected "// If setting apply admin is ative" but found "//If setting apply admin is ative"
(#152) Spaces must be used to indent lines; tabs are not allowed
(#152) Tab found within whitespace
(#152) Line indented incorrectly; expected 12 spaces, found 3
(#152) Expected "if (...) {\n"; found "if(...){\n"
(#152) Expected 1 space before "=="; 0 found
(#152) Expected 1 space after "=="; 0 found
(#153) Spaces must be used to indent lines; tabs are not allowed
(#153) Tab found within whitespace
(#153) Line indented incorrectly; expected 16 spaces, found 4
(#153) Commas (,) must be followed by white space.
(#153) Commas (,) must be followed by white space.
(#154) Spaces must be used to indent lines; tabs are not allowed
(#154) Tab found within whitespace
(#154) Line indented incorrectly; expected at least 20 spaces, found 5
(#155) Spaces must be used to indent lines; tabs are not allowed
(#155) Tab found within whitespace
(#155) Line indented incorrectly; expected 16 spaces, found 4
(#155) Spaces must be used for alignment; tabs are not allowed
(#155) Tab found within whitespace
(#155) Whitespace found at end of line
(#156) Spaces must be used for alignment; tabs are not allowed
(#156) Tab found within whitespace
(#156) Line indented incorrectly; expected 12 spaces, found 3
(#157) Spaces must be used for alignment; tabs are not allowed
(#157) Tab found within whitespace
(#157) Whitespace found at end of line
(#158) Spaces must be used for alignment; tabs are not allowed
(#158) Tab found within whitespace
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) Line indented incorrectly; expected at least 12 spaces, found 3
(#158) No space found before comment text; expected "// If setting apply to teacher" but found "//If setting apply to teacher"
(#159) Spaces must be used for alignment; tabs are not allowed
(#159) Tab found within whitespace
(#159) Line indented incorrectly; expected 12 spaces, found 9
(#159) Expected "if (...) {\n"; found "if(...){\n"
(#159) Expected 1 space before "=="; 0 found
(#159) Expected 1 space after "=="; 0 found
(#160) Spaces must be used for alignment; tabs are not allowed
(#160) Tab found within whitespace
(#160) Line indented incorrectly; expected at least 16 spaces, found 10
(#161) Spaces must be used for alignment; tabs are not allowed
(#161) Tab found within whitespace
(#161) Line indented incorrectly; expected at least 16 spaces, found 4
(#161) Variable "aTeacher" must be all lower-case
(#161) Commas (,) must be followed by white space.
(#162) Spaces must be used for alignment; tabs are not allowed
(#162) Tab found within whitespace
(#162) Line indented incorrectly; expected 16 spaces, found 4
(#162) Variable "aTeacher" must be all lower-case
(#162) Variable "aTeacher" must be all lower-case
(#162) Expected 1 space before ">"; 0 found
(#162) Expected 1 space after ">"; 0 found
(#163) Spaces must be used for alignment; tabs are not allowed
(#163) Tab found within whitespace
(#163) Line indented incorrectly; expected at least 20 spaces, found 5
(#164) Spaces must be used for alignment; tabs are not allowed
(#164) Tab found within whitespace
(#164) Line indented incorrectly; expected 16 spaces, found 4
(#164) Spaces must be used for alignment; tabs are not allowed
(#164) Tab found within whitespace
(#164) Whitespace found at end of line
(#165) Spaces must be used for alignment; tabs are not allowed
(#165) Tab found within whitespace
(#165) Line indented incorrectly; expected 12 spaces, found 3
(#165) Closing brace indented incorrectly; expected 9 spaces, found 3
(#166) Spaces must be used for alignment; tabs are not allowed
(#166) Tab found within whitespace
(#166) Whitespace found at end of line
(#167) Spaces must be used for alignment; tabs are not allowed
(#167) Tab found within whitespace
(#167) Line indented incorrectly; expected at least 12 spaces, found 3
(#167) Commas (,) must be followed by white space.
(#167) Expected 1 space before "=>"; 0 found
(#167) Expected 1 space after "=>"; 0 found
(#169) Spaces must be used for alignment; tabs are not allowed
(#169) Tab found within whitespace
(#169) Line indented incorrectly; expected 12 spaces, found 3
(#170) Spaces must be used for alignment; tabs are not allowed
(#170) Tab found within whitespace
(#170) Line indented incorrectly; expected at least 16 spaces, found 4
(#171) Spaces must be used for alignment; tabs are not allowed
(#171) Tab found within whitespace
(#171) Line indented incorrectly; expected 12 spaces, found 3
(#172) Spaces must be used for alignment; tabs are not allowed
(#172) Tab found within whitespace
(#172) Whitespace found at end of line
(#172) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#173) Spaces must be used for alignment; tabs are not allowed
(#173) Tab found within whitespace
(#173) Whitespace found at end of line
(#177) Whitespace found at end of line
(#178) Spaces must be used for alignment; tabs are not allowed
(#178) Tab found within whitespace
(#178) This comment is 42% valid code; is this commented out code?
(#178) Line indented incorrectly; expected at least 12 spaces, found 3
(#179) Line indented incorrectly; expected at least 12 spaces, found 6
(#180) Line indented incorrectly; expected at least 12 spaces, found 6
(#181) Line indented incorrectly; expected at least 12 spaces, found 6
(#182) Line indented incorrectly; expected at least 12 spaces, found 5
(#183) Line indented incorrectly; expected at least 12 spaces, found 5
(#184) Line indented incorrectly; expected at least 12 spaces, found 6
(#185) Line indented incorrectly; expected at least 12 spaces, found 5
(#186) Whitespace found at end of line
(#187) Variable "sessionKey" must be all lower-case
(#188) Variable "sessionKey" must be all lower-case
(#190) Spaces must be used for alignment; tabs are not allowed
(#190) Tab found within whitespace
(#190) Line indented incorrectly; expected 8 spaces, found 2
(#190) Closing brace indented incorrectly; expected 8 spaces, found 2
(#190) Expected "} else {\n"; found "}else {\n"
(#192) Closing brace indented incorrectly; expected 2 spaces, found 8
(#203) Variable "sessionKey" must be all lower-case
(#204) Spaces must be used for alignment; tabs are not allowed
(#204) Tab found within whitespace
(#204) Line indented incorrectly; expected 8 spaces, found 2
(#205) Spaces must be used for alignment; tabs are not allowed
(#205) Tab found within whitespace
(#205) Line indented incorrectly; expected at least 12 spaces, found 3
(#205) Variable "sessionKey" must be all lower-case
(#206) Spaces must be used for alignment; tabs are not allowed
(#206) Tab found within whitespace
(#206) Line indented incorrectly; expected 8 spaces, found 2
(#206) Expected "} else {\n"; found "}else{\n"
(#207) Spaces must be used for alignment; tabs are not allowed
(#207) Tab found within whitespace
(#207) Line indented incorrectly; expected at least 12 spaces, found 3
(#208) Spaces must be used for alignment; tabs are not allowed
(#208) Tab found within whitespace
(#208) Line indented incorrectly; expected at least 12 spaces, found 3
(#208) Variable "sessionKey" must be all lower-case
(#209) Spaces must be used for alignment; tabs are not allowed
(#209) Tab found within whitespace
(#209) Line indented incorrectly; expected 8 spaces, found 2
(#210) Whitespace found at end of line
(#212) Whitespace found at end of line
(#213) Spaces must be used for alignment; tabs are not allowed
(#213) Tab found within whitespace
(#213) Line indented incorrectly; expected 4 spaces, found 1
(#213) Opening brace must be the last content on the line
(#213) Closing brace must be on a line by itself
(#217) A closing tag is not permitted at the end of a PHP file
auth/uniquelogin/lang/en/auth_uniquelogin.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#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.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#10) A closing tag is not permitted at the end of a PHP file
auth/uniquelogin/lang/pt/auth_uniquelogin.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#11) A closing tag is not permitted at the end of a PHP file
auth/uniquelogin/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#6) Line exceeds 132 characters; contains 136 characters
(#8) Whitespace found at end of line
(#9) Spaces must be used to indent lines; tabs are not allowed
(#9) Tab found within whitespace
(#9) Line indented incorrectly; expected at least 4 spaces, found 1
(#9) Line exceeds 132 characters; contains 137 characters
auth/uniquelogin/version.php
(#31) Line exceeds 132 characters; contains 139 characters
(#31) No space found before comment text; expected "// time interval (in seconds) between calls to the plugin's 'cron' function; set to 0 to disable the cron function calls." but found "//time interval (in seconds) between calls to the plugin's 'cron' function; set to 0 to disable the cron function calls."
(#32) Whitespace found at end of line
(#33) Whitespace found at end of line
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) This comment is 53% valid code; is this commented out code?
(#34) No space found before comment text; expected "// $plugin->dependencies = array ('mod_forum' => ANY_VERSION, 'mod_data' => 2010020300);" but found "//$plugin->dependencies = array ('mod_forum' => ANY_VERSION, 'mod_data' => 2010020300);"
(#34) Whitespace found at end of line

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

(14 errors, 3 warnings)

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

auth/uniquelogin/auth.php
(#2) Empty line found after PHP open tag
(#213) Function auth_plugin_uniquelogin::has_config is not documented
(#28) Variable auth_plugin_uniquelogin::$sessionstable is not documented
(#18) Found comment starting with three or more slashes
(#110) Phpdocs for function auth_plugin_uniquelogin::user_authenticated_hook has incomplete parameters list
(#126) Phpdocs for function auth_plugin_uniquelogin::uniquelogin_logout_user has incomplete parameters list
(#199) Phpdocs for function auth_plugin_uniquelogin::uniquelogin_end_dbsession_by_sesskey has incomplete parameters list
(#3) File-level phpdocs block does not have @copyright tag
(#23) Class auth_plugin_uniquelogin does not have @copyright tag
(#23) Class auth_plugin_uniquelogin does not have @license tag
(#6) Package moodle multiauth is not valid
auth/uniquelogin/lang/en/auth_uniquelogin.php
(#2) File-level phpdocs block is not found
auth/uniquelogin/lang/pt/auth_uniquelogin.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
auth/uniquelogin/settings.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
auth/uniquelogin/version.php
(#20) 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]


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]