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

(506 errors, 13 warnings)

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

filter/toc/filter.php
(#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/>.".
(#33) Spaces must be used to indent lines; tabs are not allowed
(#33) Tab found within whitespace
(#33) Line indented incorrectly; expected 4 spaces, found 1
(#33) Member variable "headings_filter" must not contain underscores.
(#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
(#33) No space found before comment text; expected "// default setting" but found "//default setting"
(#35) Member variable "headings_found" must not contain underscores.
(#36) Whitespace found at end of line
(#37) Member variable "last_level" must not contain underscores.
(#38) Whitespace found at end of line
(#39) Member variable "toc_text" must not contain underscores.
(#41) Variable "heading_node" must not contain underscores.
(#42) Opening brace should be on the same line as the declaration
(#43) Spaces must be used to indent lines; tabs are not allowed
(#43) Tab found within whitespace
(#43) Line indented incorrectly; expected at least 8 spaces, found 5
(#43) Variable "heading_node" must not contain underscores.
(#44) Spaces must be used to indent lines; tabs are not allowed
(#44) Tab found within whitespace
(#44) Line indented incorrectly; expected 8 spaces, found 5
(#45) Spaces must be used to indent lines; tabs are not allowed
(#45) Tab found within whitespace
(#45) Line indented incorrectly; expected at least 12 spaces, found 7
(#45) Inline control structures are not allowed
(#46) Spaces must be used to indent lines; tabs are not allowed
(#46) Tab found within whitespace
(#46) Line indented incorrectly; expected at least 12 spaces, found 9
(#47) Spaces must be used to indent lines; tabs are not allowed
(#47) Tab found within whitespace
(#47) Line indented incorrectly; expected at least 12 spaces, found 7
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#48) Line indented incorrectly; expected 8 spaces, found 5
(#49) Spaces must be used to indent lines; tabs are not allowed
(#49) Tab found within whitespace
(#49) Line indented incorrectly; expected at least 8 spaces, found 5
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Whitespace found at end of line
(#52) Variable "heading_node" must not contain underscores.
(#53) Opening brace should be on the same line as the declaration
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Tab found within whitespace
(#54) Line indented incorrectly; expected at least 8 spaces, found 5
(#54) Variable "heading_node" must not contain underscores.
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#55) Line indented incorrectly; expected at least 8 spaces, found 2
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Tab found within whitespace
(#56) Line indented incorrectly; expected 8 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 12 spaces, found 9
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#58) Line indented incorrectly; expected 8 spaces, found 2
(#58) Closing brace indented incorrectly; expected 5 spaces, found 2
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Tab found within whitespace
(#59) Line indented incorrectly; expected at least 8 spaces, found 2
(#59) Inline control structures are not allowed
(#60) Spaces must be used for alignment; tabs are not allowed
(#60) Tab found within whitespace
(#60) Whitespace found at end of line
(#61) Whitespace found at end of line
(#62) Variable "domDocument" must be all lower-case
(#62) Variable "heading_instance" must not contain underscores.
(#63) Opening brace should be on the same line as the declaration
(#64) Spaces must be used for alignment; tabs are not allowed
(#64) Tab found within whitespace
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Line indented incorrectly; expected at least 8 spaces, found 3
(#65) Line indented incorrectly; expected at least 8 spaces, found 6
(#65) Variable "heading_level" must not contain underscores.
(#65) Variable "heading_instance" must not contain underscores.
(#66) Spaces must be used for alignment; tabs are not allowed
(#66) Tab found within whitespace
(#66) Line indented incorrectly; expected at least 8 spaces, found 3
(#66) Variable "toc_heading_level" must not contain underscores.
(#66) Variable "heading_instance" must not contain underscores.
(#67) Whitespace found at end of line
(#68) Line indented incorrectly; expected at least 8 spaces, found 6
(#69) Line indented incorrectly; expected at least 8 spaces, found 6
(#69) Variable "old_contents" must not contain underscores.
(#69) Variable "domDocument" must be all lower-case
(#69) Variable "heading_instance" must not contain underscores.
(#70) Line indented incorrectly; expected at least 8 spaces, found 6
(#70) Variable "heading_text" must not contain underscores.
(#71) Line indented incorrectly; expected 8 spaces, found 6
(#71) Variable "heading_instance" must not contain underscores.
(#72) Line indented incorrectly; expected at least 12 spaces, found 8
(#72) Inline control structures are not allowed
(#72) Commas (,) must be followed by white space.
(#73) Line indented incorrectly; expected at least 12 spaces, found 10
(#73) Variable "heading_text" must not contain underscores.
(#74) Line indented incorrectly; expected 8 spaces, found 6
(#75) Whitespace found at end of line
(#76) Spaces must be used for alignment; tabs are not allowed
(#76) Tab found within whitespace
(#76) Line indented incorrectly; expected at least 8 spaces, found 3
(#77) Spaces must be used for alignment; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected 8 spaces, found 3
(#78) Spaces must be used for alignment; tabs are not allowed
(#78) Tab found within whitespace
(#78) Line indented incorrectly; expected at least 12 spaces, found 2
(#78) Variable "to_add" must not contain underscores.
(#79) Spaces must be used for alignment; tabs are not allowed
(#79) Tab found within whitespace
(#79) Line indented incorrectly; expected 8 spaces, found 3
(#80) Spaces must be used for alignment; tabs are not allowed
(#80) Tab found within whitespace
(#80) Line indented incorrectly; expected at least 12 spaces, found 2
(#80) Variable "to_add" must not contain underscores.
(#81) Spaces must be used for alignment; tabs are not allowed
(#81) Tab found within whitespace
(#81) Line indented incorrectly; expected 8 spaces, found 3
(#82) Whitespace found at end of line
(#83) Line indented incorrectly; expected at least 8 spaces, found 6
(#83) Variable "link_name" must not contain underscores.
(#83) Variable "heading_text" must not contain underscores.
(#84) Line indented incorrectly; expected at least 8 spaces, found 6
(#84) Inline control structures are not allowed
(#84) Variable "to_remove" must not contain underscores.
(#85) Variable "link_name" must not contain underscores.
(#85) Variable "to_remove" must not contain underscores.
(#85) Variable "link_name" must not contain underscores.
(#86) Whitespace found at end of line
(#87) Line indented incorrectly; expected at least 8 spaces, found 6
(#87) Variable "to_add" must not contain underscores.
(#87) Variable "link_name" must not contain underscores.
(#87) Variable "to_add" must not contain underscores.
(#89) Line indented incorrectly; expected at least 8 spaces, found 6
(#89) Variable "domDocument" must be all lower-case
(#90) Line indented incorrectly; expected at least 8 spaces, found 6
(#90) Variable "old_contents" must not contain underscores.
(#90) Variable "old_contents" must not contain underscores.
(#90) Variable "to_add" must not contain underscores.
(#91) Line indented incorrectly; expected at least 8 spaces, found 6
(#91) Variable "heading_instance" must not contain underscores.
(#91) Variable "heading_instance" must not contain underscores.
(#92) Whitespace found at end of line
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Line indented incorrectly; expected at least 8 spaces, found 6
(#94) Line indented incorrectly; expected at least 8 spaces, found 6
(#94) Variable "toc_heading_level" must not contain underscores.
(#94) Whitespace found at end of line
(#95) Line indented incorrectly; expected at least 8 spaces, found 6
(#95) Variable "link_name" must not contain underscores.
(#95) Variable "heading_text" must not contain underscores.
(#98) Variable "this_level" must not contain underscores.
(#99) Opening brace should be on the same line as the declaration
(#100) Line indented incorrectly; expected 8 spaces, found 6
(#100) Variable "this_level" must not contain underscores.
(#101) Line indented incorrectly; expected at least 12 spaces, found 8
(#101) Inline control structures are not allowed
(#101) Variable "this_level" must not contain underscores.
(#102) Line indented incorrectly; expected at least 12 spaces, found 10
(#103) Line indented incorrectly; expected 8 spaces, found 6
(#103) Variable "this_level" must not contain underscores.
(#104) Line indented incorrectly; expected at least 12 spaces, found 8
(#104) Inline control structures are not allowed
(#104) Variable "this_level" must not contain underscores.
(#105) Line indented incorrectly; expected at least 12 spaces, found 10
(#106) Line indented incorrectly; expected 8 spaces, found 6
(#107) Line indented incorrectly; expected at least 8 spaces, found 6
(#107) Variable "this_level" must not contain underscores.
(#111) Line indented incorrectly; expected at least 8 spaces, found 6
(#112) Line indented incorrectly; expected at least 8 spaces, found 6
(#112) Inline control structures are not allowed
(#114) Spaces must be used for alignment; tabs are not allowed
(#114) Tab found within whitespace
(#114) Line indented incorrectly; expected at least 8 spaces, found 3
(#114) Inline control structures are not allowed
(#114) Commas (,) must be followed by white space.
(#114) Whitespace found at end of line
(#115) Spaces must be used for alignment; tabs are not allowed
(#115) Tab found within whitespace
(#115) Line indented incorrectly; expected at least 8 spaces, found 2
(#116) Spaces must be used for alignment; tabs are not allowed
(#116) Tab found within whitespace
(#116) Whitespace found at end of line
(#117) Spaces must be used for alignment; tabs are not allowed
(#117) Tab found within whitespace
(#117) Line indented incorrectly; expected 8 spaces, found 3
(#118) Spaces must be used for alignment; tabs are not allowed
(#118) Tab found within whitespace
(#118) Line indented incorrectly; expected at least 12 spaces, found 4
(#119) Spaces must be used for alignment; tabs are not allowed
(#119) Tab found within whitespace
(#119) Line indented incorrectly; expected 8 spaces, found 3
(#120) Spaces must be used for alignment; tabs are not allowed
(#120) Tab found within whitespace
(#120) Line indented incorrectly; expected at least 12 spaces, found 4
(#121) Spaces must be used for alignment; tabs are not allowed
(#121) Tab found within whitespace
(#121) Line indented incorrectly; expected 8 spaces, found 3
(#122) Spaces must be used for alignment; tabs are not allowed
(#122) Tab found within whitespace
(#122) Line indented incorrectly; expected at least 8 spaces, found 3
(#122) Commas (,) must be followed by white space.
(#122) Commas (,) must be followed by white space.
(#122) Commas (,) must be followed by white space.
(#122) Commas (,) must be followed by white space.
(#122) Line exceeds 132 characters; contains 154 characters
(#122) Inline comments must start with a capital letter, digit or 3-dots sequence
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) Spaces must be used for alignment; tabs are not allowed
(#123) Tab found within whitespace
(#123) Whitespace found at end of line
(#124) Line indented incorrectly; expected at least 8 spaces, found 6
(#124) Variable "next_tag_pos" must not contain underscores.
(#125) Line indented incorrectly; expected at least 8 spaces, found 6
(#125) Variable "toc_text" must not contain underscores.
(#126) Line indented incorrectly; expected at least 8 spaces, found 6
(#126) Variable "last_level" must not contain underscores.
(#127) Line indented incorrectly; expected at least 8 spaces, found 6
(#127) Variable "num_entries" must not contain underscores.
(#129) Line indented incorrectly; expected at least 8 spaces, found 6
(#131) Line indented incorrectly; expected at least 8 spaces, found 6
(#132) Line indented incorrectly; expected at least 8 spaces, found 6
(#133) Line indented incorrectly; expected at least 8 spaces, found 6
(#135) Line indented incorrectly; expected at least 8 spaces, found 6
(#136) Spaces must be used for alignment; tabs are not allowed
(#136) Tab found within whitespace
(#136) Line indented incorrectly; expected at least 8 spaces, found 3
(#137) Spaces must be used for alignment; tabs are not allowed
(#137) Tab found within whitespace
(#137) Line indented incorrectly; expected at least 8 spaces, found 3
(#138) Spaces must be used for alignment; tabs are not allowed
(#138) Tab found within whitespace
(#138) Line indented incorrectly; expected at least 8 spaces, found 3
(#139) Spaces must be used for alignment; tabs are not allowed
(#139) Tab found within whitespace
(#139) Line indented incorrectly; expected 8 spaces, found 3
(#140) Spaces must be used for alignment; tabs are not allowed
(#140) Tab found within whitespace
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Line indented incorrectly; expected at least 12 spaces, found 2
(#141) Spaces must be used for alignment; tabs are not allowed
(#141) Tab found within whitespace
(#141) Line indented incorrectly; expected at least 12 spaces, found 2
(#142) Spaces must be used for alignment; tabs are not allowed
(#142) Tab found within whitespace
(#142) Line indented incorrectly; expected 12 spaces, found 2
(#142) Variable "heading_instance" must not contain underscores.
(#143) Spaces must be used for alignment; tabs are not allowed
(#143) Tab found within whitespace
(#143) Line indented incorrectly; expected 16 spaces, found 4
(#143) Variable "heading_instance" must not contain underscores.
(#144) Spaces must be used for alignment; tabs are not allowed
(#144) Tab found within whitespace
(#144) Line indented incorrectly; expected 20 spaces, found 5
(#145) Spaces must be used for alignment; tabs are not allowed
(#145) Tab found within whitespace
(#145) Line indented incorrectly; expected at least 24 spaces, found 4
(#146) Spaces must be used for alignment; tabs are not allowed
(#146) Tab found within whitespace
(#146) Line indented incorrectly; expected 24 spaces, found 4
(#146) Variable "heading_instance" must not contain underscores.
(#147) Spaces must be used for alignment; tabs are not allowed
(#147) Tab found within whitespace
(#147) Line indented incorrectly; expected at least 28 spaces, found 5
(#147) Variable "heading_instance" must not contain underscores.
(#148) Spaces must be used for alignment; tabs are not allowed
(#148) Tab found within whitespace
(#148) Line indented incorrectly; expected 24 spaces, found 4
(#149) Spaces must be used for alignment; tabs are not allowed
(#149) Tab found within whitespace
(#149) Line indented incorrectly; expected 20 spaces, found 5
(#150) Spaces must be used for alignment; tabs are not allowed
(#150) Tab found within whitespace
(#150) Line indented incorrectly; expected at least 24 spaces, found 4
(#150) Variable "heading_instance" must not contain underscores.
(#151) Spaces must be used for alignment; tabs are not allowed
(#151) Tab found within whitespace
(#151) Line indented incorrectly; expected 20 spaces, found 5
(#152) Spaces must be used for alignment; tabs are not allowed
(#152) Tab found within whitespace
(#152) Line indented incorrectly; expected 16 spaces, found 4
(#153) Spaces must be used for alignment; tabs are not allowed
(#153) Tab found within whitespace
(#153) Line indented incorrectly; expected 12 spaces, found 4
(#153) Closing brace indented incorrectly; expected 2 spaces, found 4
(#154) Spaces must be used for alignment; tabs are not allowed
(#154) Tab found within whitespace
(#154) Line indented incorrectly; expected at least 12 spaces, found 2
(#155) Spaces must be used for alignment; tabs are not allowed
(#155) Tab found within whitespace
(#155) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Line indented incorrectly; expected at least 12 spaces, found 2
(#156) Spaces must be used for alignment; tabs are not allowed
(#156) Tab found within whitespace
(#156) Line indented incorrectly; expected 12 spaces, found 5
(#156) Variable "heading_instance" must not contain underscores.
(#157) Spaces must be used for alignment; tabs are not allowed
(#157) Tab found within whitespace
(#157) Line indented incorrectly; expected 16 spaces, found 4
(#157) Variable "heading_instance" must not contain underscores.
(#158) Spaces must be used for alignment; tabs are not allowed
(#158) Tab found within whitespace
(#158) Line indented incorrectly; expected 20 spaces, found 5
(#159) Spaces must be used for alignment; tabs are not allowed
(#159) Tab found within whitespace
(#159) Line indented incorrectly; expected at least 24 spaces, found 4
(#160) Spaces must be used for alignment; tabs are not allowed
(#160) Tab found within whitespace
(#160) Line indented incorrectly; expected 24 spaces, found 4
(#160) Variable "heading_instance" must not contain underscores.
(#161) Spaces must be used for alignment; tabs are not allowed
(#161) Tab found within whitespace
(#161) Line indented incorrectly; expected at least 28 spaces, found 5
(#161) Variable "heading_instance" must not contain underscores.
(#162) Spaces must be used for alignment; tabs are not allowed
(#162) Tab found within whitespace
(#162) Line indented incorrectly; expected at least 28 spaces, found 5
(#162) Variable "num_entries" must not contain underscores.
(#163) Spaces must be used for alignment; tabs are not allowed
(#163) Tab found within whitespace
(#163) Line indented incorrectly; expected 24 spaces, found 4
(#164) Spaces must be used for alignment; tabs are not allowed
(#164) Tab found within whitespace
(#164) Line indented incorrectly; expected 20 spaces, found 5
(#165) Spaces must be used for alignment; tabs are not allowed
(#165) Tab found within whitespace
(#165) Line indented incorrectly; expected at least 24 spaces, found 4
(#165) Variable "heading_instance" must not contain underscores.
(#166) Spaces must be used for alignment; tabs are not allowed
(#166) Tab found within whitespace
(#166) Line indented incorrectly; expected at least 24 spaces, found 4
(#166) Variable "num_entries" must not contain underscores.
(#167) Spaces must be used for alignment; tabs are not allowed
(#167) Tab found within whitespace
(#167) Line indented incorrectly; expected 20 spaces, found 5
(#168) Spaces must be used for alignment; tabs are not allowed
(#168) Tab found within whitespace
(#168) Line indented incorrectly; expected 16 spaces, found 4
(#169) Spaces must be used for alignment; tabs are not allowed
(#169) Tab found within whitespace
(#169) Line indented incorrectly; expected 12 spaces, found 4
(#169) Closing brace indented incorrectly; expected 5 spaces, found 4
(#170) Line indented incorrectly; expected 8 spaces, found 6
(#170) Closing brace indented incorrectly; expected 3 spaces, found 6
(#172) Line indented incorrectly; expected at least 8 spaces, found 6
(#172) Inline control structures are not allowed
(#172) Variable "num_entries" must not contain underscores.
(#174) Whitespace found at end of line
(#175) Line indented incorrectly; expected at least 8 spaces, found 6
(#175) Line exceeds 132 characters; contains 155 characters
(#177) Line indented incorrectly; expected at least 8 spaces, found 6
(#177) Perl-style comments are not allowed; use "// Comment." instead
(#178) Line indented incorrectly; expected at least 8 spaces, found 6
(#179) Line indented incorrectly; expected at least 8 spaces, found 6
(#180) Whitespace found at end of line
(#181) Line indented incorrectly; expected at least 8 spaces, found 6
(#182) Spaces must be used for alignment; tabs are not allowed
(#182) Tab found within whitespace
(#182) Line indented incorrectly; expected 8 spaces, found 3
(#183) Spaces must be used for alignment; tabs are not allowed
(#183) Tab found within whitespace
(#183) Line indented incorrectly; expected at least 12 spaces, found 4
(#184) Spaces must be used for alignment; tabs are not allowed
(#184) Tab found within whitespace
(#184) Line indented incorrectly; expected 8 spaces, found 3
(#185) Spaces must be used for alignment; tabs are not allowed
(#185) Tab found within whitespace
(#185) Line indented incorrectly; expected at least 12 spaces, found 4
(#186) Spaces must be used for alignment; tabs are not allowed
(#186) Tab found within whitespace
(#186) Line indented incorrectly; expected 8 spaces, found 3
(#187) Spaces must be used for alignment; tabs are not allowed
(#187) Tab found within whitespace
(#187) Line indented incorrectly; expected 8 spaces, found 3
(#188) Spaces must be used for alignment; tabs are not allowed
(#188) Tab found within whitespace
(#188) Line indented incorrectly; expected 12 spaces, found 4
(#188) Expected 1 space after "<="; 0 found
(#188) Line exceeds 132 characters; contains 149 characters
(#189) Spaces must be used for alignment; tabs are not allowed
(#189) Tab found within whitespace
(#189) Line indented incorrectly; expected at least 16 spaces, found 3
(#190) Spaces must be used for alignment; tabs are not allowed
(#190) Tab found within whitespace
(#190) Line indented incorrectly; expected 12 spaces, found 4
(#191) Spaces must be used for alignment; tabs are not allowed
(#191) Tab found within whitespace
(#191) Line indented incorrectly; expected at least 16 spaces, found 3
(#192) Spaces must be used for alignment; tabs are not allowed
(#192) Tab found within whitespace
(#192) Line indented incorrectly; expected 12 spaces, found 4
(#193) Spaces must be used for alignment; tabs are not allowed
(#193) Tab found within whitespace
(#193) Line indented incorrectly; expected 8 spaces, found 3
(#194) Spaces must be used for alignment; tabs are not allowed
(#194) Tab found within whitespace
(#194) Line indented incorrectly; expected at least 12 spaces, found 4
(#195) Spaces must be used for alignment; tabs are not allowed
(#195) Tab found within whitespace
(#195) Line indented incorrectly; expected 8 spaces, found 3
(#196) Line indented incorrectly; expected at least 8 spaces, found 6
(#196) Line exceeds 132 characters; contains 159 characters
(#198) Line indented incorrectly; expected at least 8 spaces, found 6
(#198) Variable "insert_at" must not contain underscores.
(#200) Line indented incorrectly; expected 8 spaces, found 6
(#200) Variable "insert_at" must not contain underscores.
(#201) Line indented incorrectly; expected at least 12 spaces, found 8
(#201) Variable "insert_at" must not contain underscores.
(#201) Variable "insert_at" must not contain underscores.
(#202) Line indented incorrectly; expected 8 spaces, found 6
(#203) Line indented incorrectly; expected at least 12 spaces, found 8
(#204) Line indented incorrectly; expected 8 spaces, found 6
filter/toc/filterlocalsettings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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/>.".
(#34) Spaces must be used to indent lines; tabs are not allowed
(#34) Tab found within whitespace
(#34) Line indented incorrectly; expected at least 8 spaces, found 2
(#35) Spaces must be used to indent lines; tabs are not allowed
(#35) Tab found within whitespace
(#35) Whitespace found at end of line
(#37) Spaces must be used to indent lines; tabs are not allowed
(#37) Tab found within whitespace
(#37) Line indented incorrectly; expected at least 8 spaces, found 2
(#38) Spaces must be used to indent lines; tabs are not allowed
(#38) Tab found within whitespace
(#38) Whitespace found at end of line
(#39) Spaces must be used to indent lines; tabs are not allowed
(#39) Tab found within whitespace
(#39) Line indented incorrectly; expected at least 8 spaces, found 2
(#40) Spaces must be used to indent lines; tabs are not allowed
(#40) Tab found within whitespace
(#40) Line indented incorrectly; expected at least 8 spaces, found 2
(#41) Spaces must be used to indent lines; tabs are not allowed
(#41) Tab found within whitespace
(#41) Whitespace found at end of line
(#44) A closing tag is not permitted at the end of a PHP file
filter/toc/lang/en/filter_toc.php
(#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/>.".
filter/toc/settings.php
(#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/>.".
(#36) Spaces must be used to indent lines; tabs are not allowed
(#36) Tab found within whitespace
(#36) Line indented incorrectly; expected at least 4 spaces, found 1
(#39) Spaces must be used to indent lines; tabs are not allowed
(#39) Tab found within whitespace
(#39) Whitespace found at end of line
(#40) Spaces must be used to indent lines; tabs are not allowed
(#40) Tab found within whitespace
(#40) Line indented incorrectly; expected at least 4 spaces, found 1
(#44) Spaces must be used for alignment; tabs are not allowed
(#44) Tab found within whitespace
(#44) Whitespace found at end of line
(#45) Spaces must be used for alignment; tabs are not allowed
(#45) Tab found within whitespace
(#45) Whitespace found at end of line
(#46) Spaces must be used for alignment; tabs are not allowed
(#46) Tab found within whitespace
(#46) Line indented incorrectly; expected at least 4 spaces, found 1
(#52) Spaces must be used for alignment; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected at least 4 spaces, found 1
(#55) Spaces must be used for alignment; tabs are not allowed
(#55) Tab found within whitespace
(#55) Line indented incorrectly; expected at least 4 spaces, found 1
(#58) Spaces must be used for alignment; tabs are not allowed
(#58) Tab found within whitespace
(#58) Whitespace found at end of line
(#59) Spaces must be used for alignment; tabs are not allowed
(#59) Tab found within whitespace
(#59) Line indented incorrectly; expected at least 4 spaces, found 1
filter/toc/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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/>.".
(#28) Whitespace found at end of line
(#32) 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 eslint [More info]


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(22 errors, 0 warnings)

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

filter/toc/filter.php
(#31) Class filter_toc is not documented
(#41) Function filter_toc::is_within_div is not documented
(#52) Function filter_toc::is_within_non_toc_div is not documented
(#62) Function filter_toc::add_to_heading_list is not documented
(#98) Function filter_toc::adjust_tag_level is not documented
(#110) Function filter_toc::filter is not documented
(#33) Variable filter_toc::$headings_filter is not documented
(#35) Variable filter_toc::$headings_found is not documented
(#37) Variable filter_toc::$last_level is not documented
(#39) Variable filter_toc::$toc_text is not documented
(#19) No one-line description found in phpdocs for file
(#23) Package filter is not valid
filter/toc/filterlocalsettings.php
(#31) Class toc_filter_local_settings_form is not documented
(#32) Function toc_filter_local_settings_form::definition_inner is not documented
(#19) No one-line description found in phpdocs for file
(#23) Package filter is not valid
filter/toc/lang/en/filter_toc.php
(#19) No one-line description found in phpdocs for file
(#23) Package filter is not valid
filter/toc/settings.php
(#19) No one-line description found in phpdocs for file
(#23) Package filter is not valid
filter/toc/version.php
(#19) No one-line description found in phpdocs for file
(#23) Package filter 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]