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

(159 errors, 54 warnings)

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

theme/srce_access/config.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#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".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) 52 slashes comments are not allowed; use "// Comment." instead
(#6) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#7) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#8) 52 slashes comments are not allowed; use "// Comment." instead
(#11) Commas (,) must be followed by white space.
(#13) 53 slashes comments are not allowed; use "// Comment." instead
(#21) 52 slashes comments are not allowed; use "// Comment." instead
(#24) Commas (,) must be followed by white space.
(#24) Commas (,) must be followed by white space.
(#24) Commas (,) must be followed by white space.
(#24) Commas (,) must be followed by white space.
(#24) Commas (,) must be followed by white space.
(#24) Commas (,) must be followed by white space.
(#24) Commas (,) must be followed by white space.
(#26) 52 slashes comments are not allowed; use "// Comment." instead
(#29) 52 slashes comments are not allowed; use "// Comment." instead
(#34) 52 slashes comments are not allowed; use "// Comment." instead
(#36) 52 slashes comments are not allowed; use "// Comment." instead
(#41) 52 slashes comments are not allowed; use "// Comment." instead
(#44) 52 slashes comments are not allowed; use "// Comment." instead
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) This comment is 50% valid code; is this commented out code?
(#48) 52 slashes comments are not allowed; use "// Comment." instead
(#52) 52 slashes comments are not allowed; use "// Comment." instead
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) This comment is 50% valid code; is this commented out code?
(#56) 52 slashes comments are not allowed; use "// Comment." instead
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) 52 slashes comments are not allowed; use "// Comment." instead
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) This comment is 50% valid code; is this commented out code?
(#64) 52 slashes comments are not allowed; use "// Comment." instead
(#66) 52 slashes comments are not allowed; use "// Comment." instead
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) This comment is 50% valid code; is this commented out code?
(#70) 52 slashes comments are not allowed; use "// Comment." instead
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) 52 slashes comments are not allowed; use "// Comment." instead
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) This comment is 50% valid code; is this commented out code?
(#77) 52 slashes comments are not allowed; use "// Comment." instead
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) 52 slashes comments are not allowed; use "// Comment." instead
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) This comment is 50% valid code; is this commented out code?
(#83) 52 slashes comments are not allowed; use "// Comment." instead
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) 52 slashes comments are not allowed; use "// Comment." instead
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) This comment is 50% valid code; is this commented out code?
(#89) 52 slashes comments are not allowed; use "// Comment." instead
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) 52 slashes comments are not allowed; use "// Comment." instead
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) This comment is 50% valid code; is this commented out code?
(#96) 52 slashes comments are not allowed; use "// Comment." instead
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) 52 slashes comments are not allowed; use "// Comment." instead
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) This comment is 50% valid code; is this commented out code?
(#103) 52 slashes comments are not allowed; use "// Comment." instead
(#106) 52 slashes comments are not allowed; use "// Comment." instead
(#108) Inline comments must start with a capital letter, digit or 3-dots sequence
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) This comment is 50% valid code; is this commented out code?
(#110) 52 slashes comments are not allowed; use "// Comment." instead
(#113) 52 slashes comments are not allowed; use "// Comment." instead
theme/srce_access/lang/en/theme_srce_access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
theme/srce_access/lang/hr/theme_srce_access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
theme/srce_access/layout/frontpage.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#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 "//".
(#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/>.".
(#43) Spaces must be used to indent lines; tabs are not allowed
(#44) Spaces must be used to indent lines; tabs are not allowed
(#44) Line indented incorrectly; expected 4 spaces, found 2
(#44) File is being unconditionally included; use "require" instead
(#45) Spaces must be used to indent lines; tabs are not allowed
(#46) Spaces must be used to indent lines; tabs are not allowed
(#47) Spaces must be used to indent lines; tabs are not allowed
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Line indented incorrectly; expected 12 spaces, found 10
(#49) Spaces must be used to indent lines; tabs are not allowed
(#49) Tab found within whitespace
(#49) This comment is 75% valid code; is this commented out code?
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) No space found before comment text; expected "// echo $OUTPUT->login_info();" but found "//echo $OUTPUT->login_info();"
(#50) Spaces must be used to indent lines; tabs are not allowed
(#50) Tab found within whitespace
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) This comment is 75% valid code; is this commented out code?
(#50) No space found before comment text; expected "// echo $OUTPUT->lang_menu();" but found "//echo $OUTPUT->lang_menu();"
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected 12 spaces, found 10
(#53) Spaces must be used to indent lines; tabs are not allowed
(#54) Spaces must be used to indent lines; tabs are not allowed
(#121) This comment is 75% valid code; is this commented out code?
(#121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#121) No space found before comment text; expected "// echo $OUTPUT->login_info();" but found "//echo $OUTPUT->login_info();"
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#122) This comment is 75% valid code; is this commented out code?
(#122) No space found before comment text; expected "// echo $OUTPUT->home_link();" but found "//echo $OUTPUT->home_link();"
(#124) Commas (,) must be followed by white space.
(#126) Inline comments must start with a capital letter, digit or 3-dots sequence
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#126) This comment is 75% valid code; is this commented out code?
(#126) No space found before comment text; expected "// echo $OUTPUT->standard_footer_html();" but found "//echo $OUTPUT->standard_footer_html();"
theme/srce_access/layout/general.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#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 "//".
(#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/>.".
(#42) Whitespace found at end of line
(#43) Whitespace found at end of line
(#44) This comment is 56% valid code; is this commented out code?
theme/srce_access/layout/report.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#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 "//".
(#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/>.".
(#42) This comment is 71% valid code; is this commented out code?
theme/srce_access/layout/srce.php
(#1) The first thing in a PHP file must be the <?php tag.
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#3) Spaces must be used to indent lines; tabs are not allowed
(#4) Spaces must be used to indent lines; tabs are not allowed
(#4) Line exceeds 132 characters; contains 140 characters
(#4) Line exceeds 132 characters; contains 140 characters
(#4) Line exceeds 132 characters; contains 140 characters
theme/srce_access/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#22) Line exceeds 132 characters; contains 144 characters
(#30) 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, 8 warnings)

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

theme/srce_access/style/core.css
(#133) Rule is empty.
(#317) Use of !important
(#318) Use of !important
(#334) Use of !important
(#345) Use of !important
theme/srce_access/style/course.css
(#109) display:inline has no effect on floated elements (but may be used to fix the IE6 double-margin bug).
(#113) Rule is empty.
(#115) Rule is empty.

PHPDocs style problems

(36 errors, 7 warnings)

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

theme/srce_access/config.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#5) Found comment starting with three or more slashes
(#8) Found comment starting with three or more slashes
(#13) Found comment starting with three or more slashes
(#21) Found comment starting with three or more slashes
(#26) Found comment starting with three or more slashes
(#29) Found comment starting with three or more slashes
(#34) Found comment starting with three or more slashes
(#36) Found comment starting with three or more slashes
(#41) Found comment starting with three or more slashes
(#44) Found comment starting with three or more slashes
(#48) Found comment starting with three or more slashes
(#52) Found comment starting with three or more slashes
(#56) Found comment starting with three or more slashes
(#60) Found comment starting with three or more slashes
(#64) Found comment starting with three or more slashes
(#66) Found comment starting with three or more slashes
(#70) Found comment starting with three or more slashes
(#73) Found comment starting with three or more slashes
(#77) Found comment starting with three or more slashes
(#79) Found comment starting with three or more slashes
(#83) Found comment starting with three or more slashes
(#85) Found comment starting with three or more slashes
(#89) Found comment starting with three or more slashes
(#92) Found comment starting with three or more slashes
(#96) Found comment starting with three or more slashes
(#99) Found comment starting with three or more slashes
(#103) Found comment starting with three or more slashes
(#106) Found comment starting with three or more slashes
(#110) Found comment starting with three or more slashes
(#113) Found comment starting with three or more slashes
theme/srce_access/lang/en/theme_srce_access.php
(#2) Empty line found after PHP open tag
theme/srce_access/lang/hr/theme_srce_access.php
(#2) Empty line found after PHP open tag
theme/srce_access/layout/frontpage.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
theme/srce_access/layout/general.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
theme/srce_access/layout/report.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
theme/srce_access/layout/srce.php
(#2) Empty line found after PHP open tag
(#1) File-level phpdocs block is not found
theme/srce_access/version.php
(#20) Package theme 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]