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

(422 errors, 79 warnings)

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

enrol/elightenment/cart.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".
(#2) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#4) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#5) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#6) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#7) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#9) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#10) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#11) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#12) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#14) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#80) Whitespace found at end of line within string
(#81) Whitespace found at end of line within string
(#82) Whitespace found at end of line within string
(#83) Whitespace found at end of line within string
(#84) Whitespace found at end of line within string
(#85) Whitespace found at end of line within string
(#86) Whitespace found at end of line within string
(#87) Whitespace found at end of line within string
(#88) Whitespace found at end of line within string
(#89) Whitespace found at end of line within string
(#90) Whitespace found at end of line within string
(#91) Whitespace found at end of line within string
(#92) Whitespace found at end of line within string
(#93) Whitespace found at end of line within string
(#94) Whitespace found at end of line within string
(#95) Whitespace found at end of line within string
(#96) Whitespace found at end of line within string
(#97) Whitespace found at end of line within string
(#98) Whitespace found at end of line within string
(#99) Whitespace found at end of line within string
(#100) Whitespace found at end of line within string
(#101) Whitespace found at end of line within string
(#102) Whitespace found at end of line within string
(#103) Whitespace found at end of line within string
(#104) Whitespace found at end of line within string
(#105) Whitespace found at end of line within string
(#106) Whitespace found at end of line within string
(#107) Whitespace found at end of line within string
(#108) Whitespace found at end of line within string
(#109) Whitespace found at end of line within string
(#110) Whitespace found at end of line within string
(#111) Whitespace found at end of line within string
(#112) Whitespace found at end of line within string
(#113) Whitespace found at end of line within string
(#114) Whitespace found at end of line within string
(#115) Whitespace found at end of line within string
(#116) Whitespace found at end of line within string
(#117) Whitespace found at end of line within string
(#118) Whitespace found at end of line within string
(#119) Whitespace found at end of line within string
(#120) Whitespace found at end of line within string
(#121) Whitespace found at end of line within string
(#122) Whitespace found at end of line within string
(#123) Whitespace found at end of line within string
(#124) Whitespace found at end of line within string
(#125) Whitespace found at end of line within string
(#126) Whitespace found at end of line within string
(#127) Whitespace found at end of line within string
(#148) Whitespace found at end of line within string
(#149) Whitespace found at end of line within string
(#150) Whitespace found at end of line within string
(#151) Whitespace found at end of line within string
(#152) Whitespace found at end of line within string
(#153) Whitespace found at end of line within string
(#154) Whitespace found at end of line within string
(#155) Whitespace found at end of line within string
(#156) Whitespace found at end of line within string
(#157) Whitespace found at end of line within string
(#158) Whitespace found at end of line within string
(#159) Whitespace found at end of line within string
(#172) Whitespace found at end of line within string
(#173) Whitespace found at end of line within string
(#174) Whitespace found at end of line within string
(#175) Whitespace found at end of line within string
(#176) Whitespace found at end of line within string
(#177) Whitespace found at end of line within string
(#178) Whitespace found at end of line within string
(#179) Whitespace found at end of line within string
(#180) Whitespace found at end of line within string
(#181) Whitespace found at end of line within string
(#182) Whitespace found at end of line within string
(#183) Whitespace found at end of line within string
(#184) Whitespace found at end of line within string
(#185) Whitespace found at end of line within string
enrol/elightenment/cli/sync.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#42) Expected 1 space after "="; newline found
(#43) Whitespace found at end of line within string
(#44) Whitespace found at end of line within string
(#45) Whitespace found at end of line within string
(#46) Whitespace found at end of line within string
(#47) Whitespace found at end of line within string
(#48) Whitespace found at end of line within string
(#49) Whitespace found at end of line within string
(#66) This comment is 43% valid code; is this commented out code?
enrol/elightenment/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
enrol/elightenment/db/messages.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
enrol/elightenment/db/rec.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".
(#2) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#4) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#5) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#6) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#7) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#9) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#10) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#11) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#12) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#14) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#27) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#33) Expected "if (...) {\n"; found "if(...) {\n"
enrol/elightenment/db/upgrade.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
enrol/elightenment/edit.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".
(#2) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#4) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#5) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#6) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#7) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#9) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#10) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#11) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#12) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#14) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#51) Line exceeds 132 characters; contains 140 characters
(#55) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#87) Line exceeds 132 characters; contains 174 characters
(#88) Line exceeds 132 characters; contains 143 characters
enrol/elightenment/edit_form.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".
(#2) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#4) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#5) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#6) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#7) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#9) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#10) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#11) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#12) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#14) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#62) Line exceeds 132 characters; contains 142 characters
(#73) Line exceeds 132 characters; contains 154 characters
(#77) Line exceeds 132 characters; contains 146 characters
(#81) Line exceeds 132 characters; contains 142 characters
(#92) Line exceeds 132 characters; contains 163 characters
enrol/elightenment/ipn.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".
(#2) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#4) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#5) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#6) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#7) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#9) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#10) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#11) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#12) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#14) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#29) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#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
(#64) Expected 1 space before "=>"; 0 found
(#64) Expected 1 space after "=>"; 0 found
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
enrol/elightenment/lang/en/enrol_elightenment.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
enrol/elightenment/lib.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".
(#2) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#4) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#5) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#6) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#7) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#9) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#10) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#11) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#12) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#14) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#78) Line exceeds 132 characters; contains 138 characters
(#97) Line exceeds 132 characters; contains 136 characters
(#115) Inline comments must start with a capital letter, digit or 3-dots sequence
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#161) Inline comments must start with a capital letter, digit or 3-dots sequence
(#161) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#168) Inline comments must start with a capital letter, digit or 3-dots sequence
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
(#168) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#252) Line exceeds 132 characters; contains 170 characters
(#256) Line exceeds 132 characters; contains 158 characters
enrol/elightenment/settings.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".
(#2) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#4) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#5) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#6) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#7) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#9) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#10) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#11) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#12) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#14) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#31) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (seting)
(#32) Line exceeds 132 characters; contains 134 characters
(#34) Line exceeds 132 characters; contains 145 characters
(#36) Line exceeds 132 characters; contains 145 characters
(#38) Line exceeds 132 characters; contains 141 characters
(#40) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#41) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#47) Whitespace found at end of line
(#50) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (enrol istacdfu)
(#54) Line exceeds 132 characters; contains 141 characters
(#56) Line exceeds 132 characters; contains 140 characters
(#63) Line exceeds 132 characters; contains 140 characters
enrol/elightenment/shop.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".
(#2) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#4) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#5) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#6) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#7) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#9) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#10) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#11) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#12) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#14) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#26) Whitespace found at end of line
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) No space found before comment text; expected "// get key if you don't have one" but found "//get key if you don't have one"
(#45) Expected "if (...) {\n"; found "if(...) {\n"
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Expected "if (...) {\n"; found "if(...) {\n"
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (search b)
(#89) Inline comments must start with a capital letter, digit or 3-dots sequence
(#90) Line exceeds 132 characters; contains 171 characters
(#91) Line exceeds 132 characters; contains 177 characters
(#92) Whitespace found at end of line within string
(#93) Whitespace found at end of line within string
(#94) Whitespace found at end of line within string
(#95) Whitespace found at end of line within string
(#96) Whitespace found at end of line within string
(#97) Whitespace found at end of line within string
(#98) Whitespace found at end of line within string
(#99) Whitespace found at end of line within string
(#100) Whitespace found at end of line within string
(#101) Whitespace found at end of line within string
(#102) Whitespace found at end of line within string
(#103) Whitespace found at end of line within string
(#104) Whitespace found at end of line within string
(#105) Whitespace found at end of line within string
(#106) Whitespace found at end of line within string
(#107) Whitespace found at end of line within string
(#108) Whitespace found at end of line within string
(#109) Whitespace found at end of line within string
(#110) Whitespace found at end of line within string
(#111) Whitespace found at end of line within string
(#112) Whitespace found at end of line within string
(#113) Whitespace found at end of line within string
(#114) Whitespace found at end of line within string
(#115) Whitespace found at end of line within string
(#116) Whitespace found at end of line within string
(#117) Whitespace found at end of line within string
(#118) Whitespace found at end of line within string
(#119) Whitespace found at end of line within string
(#120) Whitespace found at end of line within string
(#121) Whitespace found at end of line within string
(#122) Whitespace found at end of line within string
(#123) Whitespace found at end of line within string
(#124) Whitespace found at end of line within string
(#125) Whitespace found at end of line within string
(#126) Whitespace found at end of line within string
(#127) Whitespace found at end of line within string
(#128) Whitespace found at end of line within string
(#129) Whitespace found at end of line within string
(#130) Whitespace found at end of line within string
(#131) Whitespace found at end of line within string
(#132) Whitespace found at end of line within string
(#133) Whitespace found at end of line within string
(#134) Whitespace found at end of line within string
(#135) Whitespace found at end of line within string
(#136) Whitespace found at end of line within string
(#137) Whitespace found at end of line within string
(#138) Whitespace found at end of line within string
(#139) Whitespace found at end of line within string
(#140) Whitespace found at end of line within string
(#141) Whitespace found at end of line within string
(#142) Whitespace found at end of line within string
(#143) Whitespace found at end of line within string
(#144) Whitespace found at end of line within string
(#145) Whitespace found at end of line within string
(#146) Whitespace found at end of line within string
(#147) Whitespace found at end of line within string
(#148) Whitespace found at end of line within string
(#149) Whitespace found at end of line within string
(#150) Whitespace found at end of line within string
(#151) Whitespace found at end of line within string
(#152) Whitespace found at end of line within string
(#153) Whitespace found at end of line within string
(#154) Whitespace found at end of line within string
(#155) Whitespace found at end of line within string
(#156) Whitespace found at end of line within string
(#157) Whitespace found at end of line within string
(#158) Whitespace found at end of line within string
(#159) Whitespace found at end of line within string
(#160) Whitespace found at end of line within string
(#161) Whitespace found at end of line within string
(#162) Whitespace found at end of line within string
(#163) Whitespace found at end of line within string
(#164) Whitespace found at end of line within string
(#165) Whitespace found at end of line within string
(#166) Whitespace found at end of line within string
(#167) Whitespace found at end of line within string
(#168) Whitespace found at end of line within string
(#169) Whitespace found at end of line within string
(#170) Whitespace found at end of line within string
(#171) Whitespace found at end of line within string
(#172) Whitespace found at end of line within string
(#173) Whitespace found at end of line within string
(#174) Whitespace found at end of line within string
(#175) Whitespace found at end of line within string
(#176) Whitespace found at end of line within string
(#177) Whitespace found at end of line within string
(#178) Whitespace found at end of line within string
(#190) Whitespace found at end of line within string
(#191) Whitespace found at end of line within string
(#192) Whitespace found at end of line within string
(#193) Whitespace found at end of line within string
(#194) Whitespace found at end of line within string
(#196) Line indented incorrectly; expected 0 spaces, found 16
(#198) Line indented incorrectly; expected 0 spaces, found 16
(#199) Whitespace found at end of line within string
(#200) Whitespace found at end of line within string
(#201) Whitespace found at end of line within string
(#202) Whitespace found at end of line within string
(#203) Whitespace found at end of line within string
(#204) Whitespace found at end of line within string
(#207) Inline comments must start with a capital letter, digit or 3-dots sequence
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) Inline comments must start with a capital letter, digit or 3-dots sequence
(#213) Whitespace found at end of line within string
(#220) Inline comments must start with a capital letter, digit or 3-dots sequence
(#231) Inline comments must end in full-stops, exclamation marks, or question marks
(#257) Line exceeds 132 characters; contains 151 characters
(#257) Whitespace found at end of line within string
(#258) Line exceeds 132 characters; contains 135 characters
(#260) Line exceeds 132 characters; contains 170 characters
(#261) Expected "if (...) {\n"; found "if (...) { "
(#263) Line indented incorrectly; expected at least 12 spaces, found 8
(#267) Line indented incorrectly; expected at least 12 spaces, found 8
(#268) Line indented incorrectly; expected at least 12 spaces, found 8
(#270) Line indented incorrectly; expected at least 12 spaces, found 8
(#271) Line indented incorrectly; expected at least 12 spaces, found 8
(#273) Expected "if (...) {\n"; found "if(...) {\n"
(#274) Whitespace found at end of line within string
(#275) Whitespace found at end of line within string
(#276) Whitespace found at end of line within string
(#277) Whitespace found at end of line within string
(#278) Whitespace found at end of line within string
(#279) Whitespace found at end of line within string
(#280) Whitespace found at end of line within string
(#281) Whitespace found at end of line within string
(#282) Whitespace found at end of line within string
(#285) Whitespace found at end of line within string
(#286) Whitespace found at end of line within string
(#287) Closing brace must be on a line by itself
(#288) Line indented incorrectly; expected 8 spaces, found 12
(#288) Closing brace indented incorrectly; expected 8 spaces, found 12
enrol/elightenment/tests/elightenment_test.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#46) Expected 5 space(s) before asterisk; 4 found
(#47) Expected 5 space(s) before asterisk; 4 found
(#76) This comment is 43% valid code; is this commented out code?
(#78) This comment is 43% valid code; is this commented out code?
(#156) Line exceeds 132 characters; contains 158 characters
(#157) Line exceeds 132 characters; contains 158 characters
(#158) Line exceeds 132 characters; contains 158 characters
(#159) Line exceeds 132 characters; contains 157 characters
enrol/elightenment/unenrolself.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".
(#2) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#4) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#5) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#6) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#7) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#9) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#10) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#11) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#12) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#14) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Expected 1 space before comment text but found 2; use block comment if you need indentation
enrol/elightenment/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"

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

(18 errors, 0 warnings)

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

enrol/elightenment/db/upgrade.php
(#27) Phpdocs for function xmldb_enrol_elightenment_upgrade has incomplete parameters list
enrol/elightenment/edit_form.php
(#35) Class enrol_elightenment_edit_form is not documented
(#40) Function enrol_elightenment_edit_form::definition is not documented
(#100) Phpdocs for function enrol_elightenment_edit_form::validation has incomplete parameters list
enrol/elightenment/lib.php
(#35) Function enrol_elightenment_plugin::can_hide_show_instance is not documented
(#47) Phpdocs for function enrol_elightenment_plugin::allow_unenrol has incomplete parameters list
(#54) Phpdocs for function enrol_elightenment_plugin::allow_manage has incomplete parameters list
(#61) Phpdocs for function enrol_elightenment_plugin::show_enrolme_link has incomplete parameters list
(#68) Phpdocs for function enrol_elightenment_plugin::add_course_navigation has incomplete parameters list
(#83) Phpdocs for function enrol_elightenment_plugin::get_action_icons has incomplete parameters list
(#105) Phpdocs for function enrol_elightenment_plugin::get_newinstance_link has incomplete parameters list
(#119) Phpdocs for function enrol_elightenment_plugin::enrol_page_hook has incomplete parameters list
(#199) Phpdocs for function enrol_elightenment_plugin::restore_instance has incomplete parameters list
(#227) Phpdocs for function enrol_elightenment_plugin::restore_user_enrolment has incomplete parameters list
(#30) Class enrol_elightenment_plugin does not have @copyright tag
(#30) Class enrol_elightenment_plugin does not have @license tag
enrol/elightenment/tests/elightenment_test.php
(#33) Class enrol_elightenment_testcase is not documented
(#38) Function enrol_elightenment_testcase::enable_plugin is not documented

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]