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

(122 errors, 8 warnings)

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

blocks/userexpire/block_userexpire.php
(#1) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1) Inline comments must end in full-stops, exclamation marks, or question marks
(#1) This comment is 47% valid code; is this commented out code?
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) No space found before comment text; expected "// $Id: block_userexpire.php,v 1.0 2016-02-22 22:00:00 jrader Exp $" but found "//$Id: block_userexpire.php,v 1.0 2016-02-22 22:00:00 jrader Exp $"
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#5) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#6) Line 6 of the opening comment must start "// (at your option) any later version.".
(#8) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#9) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#10) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#11) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#13) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#14) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) Visibility must be declared on method "init"
(#31) Commas (,) must be followed by white space.
(#34) Visibility must be declared on method "get_content"
(#36) Whitespace found at end of line
(#38) Whitespace found at end of line
(#39) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#47) Spaces must be used to indent lines; tabs are not allowed
(#47) Tab found within whitespace
(#47) Line indented incorrectly; expected 12 spaces, found 3
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#48) Line indented incorrectly; expected at least 16 spaces, found 4
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#52) Whitespace found at end of line
(#53) Spaces must be used to indent lines; tabs are not allowed
(#53) Tab found within whitespace
(#53) Line indented incorrectly; expected at least 16 spaces, found 4
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Tab found within whitespace
(#54) Line indented incorrectly; expected at least 16 spaces, found 4
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#55) Line indented incorrectly; expected 16 spaces, found 4
(#55) Expected 1 space before ">"; 0 found
(#55) Expected 1 space after ">"; 0 found
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Tab found within whitespace
(#56) Line indented incorrectly; expected at least 20 spaces, found 5
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Tab found within whitespace
(#57) Line indented incorrectly; expected at least 20 spaces, found 5
(#57) Commas (,) must be followed by white space.
(#57) Line exceeds 132 characters; contains 151 characters
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#58) Line indented incorrectly; expected at least 20 spaces, found 5
(#58) Expected 1 space before "/"; 0 found
(#58) Expected 1 space after "/"; 0 found
(#58) Expected 1 space before "*"; 0 found
(#58) Expected 1 space after "*"; 0 found
(#58) Expected 1 space before "*"; 0 found
(#58) Expected 1 space after "*"; 0 found
(#58) Line exceeds 132 characters; contains 134 characters
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Tab found within whitespace
(#59) Line indented incorrectly; expected at least 20 spaces, found 6
(#59) Expected 1 space before "%"; 0 found
(#59) Expected 1 space after "%"; 0 found
(#59) Expected 1 space before "*"; 0 found
(#59) Expected 1 space after "*"; 0 found
(#59) Expected 1 space before "*"; 0 found
(#59) Expected 1 space after "*"; 0 found
(#59) Expected 1 space before "/"; 0 found
(#59) Expected 1 space after "/"; 0 found
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Tab found within whitespace
(#60) Line indented incorrectly; expected 16 spaces, found 4
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Tab found within whitespace
(#61) Line indented incorrectly; expected at least 20 spaces, found 5
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Tab found within whitespace
(#62) Line indented incorrectly; expected at least 20 spaces, found 5
(#63) Spaces must be used to indent lines; tabs are not allowed
(#63) Tab found within whitespace
(#63) Line indented incorrectly; expected at least 20 spaces, found 5
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Tab found within whitespace
(#64) Line indented incorrectly; expected 16 spaces, found 4
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#65) Line indented incorrectly; expected 12 spaces, found 3
(#66) Line indented incorrectly; expected 8 spaces, found 7
(#66) Closing brace indented incorrectly; expected 8 spaces, found 7
(#66) Whitespace found at end of line
(#71) Whitespace found at end of line
(#73) A closing tag is not permitted at the end of a PHP file
blocks/userexpire/lang/en/block_userexpire.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Whitespace found at end of line
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) 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) Whitespace found at end of line
(#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/>.".
(#5) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5) Inline comments must end in full-stops, exclamation marks, or question marks
(#5) This comment is 100% valid code; is this commented out code?
(#5) No space found before comment text; expected "// 'l jS \of F j, Y h:i:s A';" but found "//'l jS \of F j, Y h:i:s A';"
(#6) Spaces must be used to indent lines; tabs are not allowed
(#6) Tab found within whitespace
(#7) Spaces must be used to indent lines; tabs are not allowed
(#7) Tab found within whitespace
(#8) Spaces must be used to indent lines; tabs are not allowed
(#8) Tab found within whitespace
(#9) Spaces must be used to indent lines; tabs are not allowed
(#9) Tab found within whitespace
(#10) Spaces must be used to indent lines; tabs are not allowed
(#10) Tab found within whitespace
(#11) Spaces must be used to indent lines; tabs are not allowed
(#11) Tab found within whitespace
(#12) A closing tag is not permitted at the end of a PHP file
blocks/userexpire/version.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

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 csslint [More info]


PHPDocs style problems

(8 errors, 5 warnings)

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

blocks/userexpire/block_userexpire.php
(#2) Empty line found after PHP open tag
(#28) Class block_userexpire is not documented
(#30) Function block_userexpire::init is not documented
(#34) Function block_userexpire::get_content is not documented
(#18) No one-line description found in phpdocs for file
(#24) Not recommended phpdocs tag @version used
(#20) Package moodlecore is not valid
blocks/userexpire/lang/en/block_userexpire.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
blocks/userexpire/version.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#24) Not recommended phpdocs tag @version used
(#20) Package moodlecore 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]