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

(297 errors, 64 warnings)

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

course/format/onetopic/duplicate.php
(#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/>.".
(#45) Variable "num_newsection" must not contain underscores.
(#59) Variable "course_format" must not contain underscores.
(#61) Variable "last_section_num" must not contain underscores.
(#63) This comment is 60% valid code; is this commented out code?
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) No space found before comment text; expected "// $courseformatoptions = $course_format->get_format_options();" but found "//$courseformatoptions = $course_format->get_format_options();"
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) This comment is 100% valid code; is this commented out code?
(#64) No space found before comment text; expected "// $courseformatoptions['numsections']++;" but found "//$courseformatoptions['numsections']++;"
(#65) Variable "num_newsection" must not contain underscores.
(#65) Variable "last_section_num" must not contain underscores.
(#67) Variable "course_format" must not contain underscores.
(#67) Variable "num_newsection" must not contain underscores.
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) No space found before comment text; expected "// Assign same section info" but found "//Assign same section info"
(#77) Variable "num_newsection" must not contain underscores.
(#78) No space found before comment text; expected "// The name is not duplicated" but found "//The name is not duplicated"
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) This comment is 50% valid code; is this commented out code?
(#79) No space found before comment text; expected "// $data->name = $sectioninfo->name;" but found "//$data->name = $sectioninfo->name;"
(#85) Variable "new_section_id" must not contain underscores.
(#87) Variable "num_newsection" must not contain underscores.
(#89) Variable "num_newsection" must not contain underscores.
(#92) Variable "format_options" must not contain underscores.
(#92) Variable "course_format" must not contain underscores.
(#93) Variable "format_options" must not contain underscores.
(#93) Variable "format_options" must not contain underscores.
(#94) Variable "format_options" must not contain underscores.
(#94) Variable "new_section_id" must not contain underscores.
(#95) Variable "course_format" must not contain underscores.
(#95) Variable "format_options" must not contain underscores.
(#101) Variable "new_section_id" must not contain underscores.
(#104) Variable "num_newsection" must not contain underscores.
(#110) Inline comments must start with a capital letter, digit or 3-dots sequence
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) This comment is 70% valid code; is this commented out code?
(#110) No space found before comment text; expected "// rebuild_course_cache($course->id, true);" but found "//rebuild_course_cache($course->id, true);"
(#111) Variable "new_sectioninfo" must not contain underscores.
(#111) Variable "num_newsection" must not contain underscores.
(#116) Variable "section_mods" must not contain underscores.
(#118) Variable "section_mods" must not contain underscores.
(#120) Variable "progress_bar_elements" must not contain underscores.
(#120) Variable "section_mods" must not contain underscores.
(#121) Variable "data_progress" must not contain underscores.
(#122) Variable "data_progress" must not contain underscores.
(#123) Variable "data_progress" must not contain underscores.
(#123) Variable "progress_bar_elements" must not contain underscores.
(#125) Variable "data_progress" must not contain underscores.
(#126) Variable "section_mods" must not contain underscores.
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) No space found before comment text; expected "// Move new module to new section" but found "//Move new module to new section"
(#137) Expected "if (...) {\n"; found "if(...) {\n"
(#138) Variable "new_sectioninfo" must not contain underscores.
(#141) Variable "data_progress" must not contain underscores.
(#142) Variable "progress_bar_elements" must not contain underscores.
(#143) Variable "data_progress" must not contain underscores.
(#147) Expected "} else {\n"; found "}\n else {\n"
(#151) Variable "section_togo" must not contain underscores.
(#151) Variable "num_newsection" must not contain underscores.
(#153) Expected "} else {\n"; found "}\nelse {\n"
(#154) Variable "section_togo" must not contain underscores.
(#160) Variable "num_newsection" must not contain underscores.
(#163) No space found before comment text; expected "// Redirect to new section or to current section if the new was not created" but found "//Redirect to new section or to current section if the new was not created"
(#164) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) No space found before comment text; expected "// redirect(course_get_url($course, $num_newsection));" but found "//redirect(course_get_url($course, $num_newsection));"
course/format/onetopic/format.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#1) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Expected 1 space after ">="; 0 found
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) No space found before comment text; expected "// onetopic format is always multipage" but found "//onetopic format is always multipage"
(#64) Whitespace found at end of line
(#65) Expected "} else {\n"; found "} \nelse {\n"
(#74) Variable "disable_ajax" must not contain underscores.
(#80) Variable "disable_ajax" must not contain underscores.
(#81) Variable "disable_ajax" must not contain underscores.
(#84) Expected "} else {\n"; found "}\n else {\n"
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
course/format/onetopic/lang/en/format_onetopic.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/>.".
course/format/onetopic/lang/es/format_onetopic.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/>.".
course/format/onetopic/lang/eu/format_onetopic.php
(#1) File has mixed line endings; this may cause incorrect results
(#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/>.".
course/format/onetopic/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".
(#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/>.".
(#65) No space found before comment text; expected "// ToDo: For new feature: subtabs. It is not implemented yet" but found "//ToDo: For new feature: subtabs. It is not implemented yet"
(#66) This comment is 56% valid code; is this commented out code?
(#146) Variable "disable_ajax" must not contain underscores.
(#149) Variable "disable_ajax" must not contain underscores.
(#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
(#170) Inline comments must start with a capital letter, digit or 3-dots sequence
(#170) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) Visibility must be declared on method "ajax_section_move"
(#323) Expected 1 space before "+"; 0 found
(#323) Expected 1 space after "+"; 0 found
(#355) This comment is 43% valid code; is this commented out code?
(#356) Inline comments must end in full-stops, exclamation marks, or question marks
(#357) Whitespace found at end of line within string
(#360) Inline comments must end in full-stops, exclamation marks, or question marks
(#365) This comment is 43% valid code; is this commented out code?
(#366) Inline comments must end in full-stops, exclamation marks, or question marks
(#449) Line exceeds 132 characters; contains 137 characters
(#449) Inline comments must start with a capital letter, digit or 3-dots sequence
(#449) Inline comments must end in full-stops, exclamation marks, or question marks
(#449) This comment is 75% valid code; is this commented out code?
(#449) No space found before comment text; expected "// array_merge_recursive($sectionformatoptions, $sectionformatoptionsedit);" but found "//array_merge_recursive($sectionformatoptions, $sectionformatoptionsedit);"
course/format/onetopic/renderer.php
(#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/>.".
(#44) Line exceeds 132 characters; contains 136 characters
(#45) Line exceeds 132 characters; contains 139 characters
(#134) Line exceeds 132 characters; contains 163 characters
(#178) Variable "real_course_display" must not contain underscores.
(#181) Variable "real_course_display" must not contain underscores.
(#181) Whitespace found at end of line
(#189) Inline comments must end in full-stops, exclamation marks, or question marks
(#200) Line exceeds 132 characters; contains 170 characters
(#211) Inline comments must end in full-stops, exclamation marks, or question marks
(#214) Inline comments must end in full-stops, exclamation marks, or question marks
(#214) No space found before comment text; expected "// Move controls" but found "//Move controls"
(#215) Variable "can_move" must not contain underscores.
(#217) Variable "can_move" must not contain underscores.
(#219) Variable "move_list_html" must not contain underscores.
(#220) Variable "count_move_sections" must not contain underscores.
(#222) Inline comments must end in full-stops, exclamation marks, or question marks
(#222) No space found before comment text; expected "// Init custom tabs" but found "//Init custom tabs"
(#227) Variable "inactive_tabs" must not contain underscores.
(#229) Variable "default_topic" must not contain underscores.
(#244) Expected "} else if (...) {\n"; found "}\n else if (...){\n"
(#244) Expected "if (...) {\n"; found "if (...){\n"
(#255) Variable "default_topic" must not contain underscores.
(#256) Variable "default_topic" must not contain underscores.
(#259) Variable "default_topic" must not contain underscores.
(#263) Variable "format_options" must not contain underscores.
(#271) Variable "custom_styles" must not contain underscores.
(#273) Variable "format_options" must not contain underscores.
(#275) Variable "format_options" must not contain underscores.
(#276) Variable "custom_styles" must not contain underscores.
(#276) Variable "format_options" must not contain underscores.
(#279) Variable "format_options" must not contain underscores.
(#280) Variable "custom_styles" must not contain underscores.
(#280) Variable "format_options" must not contain underscores.
(#283) Variable "format_options" must not contain underscores.
(#284) Variable "custom_styles" must not contain underscores.
(#284) Variable "format_options" must not contain underscores.
(#287) Variable "format_options" must not contain underscores.
(#288) Variable "format_options" must not contain underscores.
(#298) Variable "special_style" must not contain underscores.
(#300) Variable "special_style" must not contain underscores.
(#300) Whitespace found at end of line
(#304) Variable "special_style" must not contain underscores.
(#307) Variable "inactive_tabs" must not contain underscores.
(#311) Variable "new_tab" must not contain underscores.
(#312) Variable "custom_styles" must not contain underscores.
(#312) Variable "special_style" must not contain underscores.
(#312) Line exceeds 132 characters; contains 149 characters
(#314) Variable "format_options" must not contain underscores.
(#314) Variable "format_options" must not contain underscores.
(#316) Expected "if (...) {\n"; found "if(...) {\n"
(#316) Variable "format_options" must not contain underscores.
(#317) Variable "new_tab" must not contain underscores.
(#318) Variable "new_tab" must not contain underscores.
(#320) Expected "} else {\n"; found "}\n else {\n"
(#321) Variable "parent_index" must not contain underscores.
(#322) Variable "parent_index" must not contain underscores.
(#323) Variable "parent_index" must not contain underscores.
(#325) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#325) Variable "parent_index" must not contain underscores.
(#326) Variable "parent_index" must not contain underscores.
(#326) Variable "parent_index" must not contain underscores.
(#327) Variable "parent_index" must not contain underscores.
(#328) Variable "parent_section" must not contain underscores.
(#328) Expected 1 space before "-"; 0 found
(#328) Expected 1 space after "-"; 0 found
(#329) Variable "parentformat_options" must not contain underscores.
(#329) Variable "parent_section" must not contain underscores.
(#330) Variable "parentformat_options" must not contain underscores.
(#331) Variable "firsttab_text" must not contain underscores.
(#331) Variable "parentformat_options" must not contain underscores.
(#333) Variable "firsttab_text" must not contain underscores.
(#335) Variable "parent_index" must not contain underscores.
(#335) Variable "firsttab_text" must not contain underscores.
(#335) Line exceeds 132 characters; contains 140 characters
(#336) Variable "parent_index" must not contain underscores.
(#338) Expected "if (...) {\n"; found "if(...) {\n"
(#339) Variable "parent_index" must not contain underscores.
(#342) Variable "new_tab" must not contain underscores.
(#343) Variable "parent_index" must not contain underscores.
(#343) Variable "new_tab" must not contain underscores.
(#346) Expected "} else {\n"; found "}\n else {\n"
(#347) Variable "new_tab" must not contain underscores.
(#350) Inline comments must end in full-stops, exclamation marks, or question marks
(#350) No space found before comment text; expected "// Init move section list***************************************************************************" but found "//Init move section list***************************************************************************"
(#351) Variable "can_move" must not contain underscores.
(#352) Inline comments must end in full-stops, exclamation marks, or question marks
(#360) No space found before comment text; expected "// ToDo: For new feature: subtabs. It is not implemented yet" but found "//ToDo: For new feature: subtabs. It is not implemented yet"
(#361) This comment is 54% valid code; is this commented out code?
(#363) Line exceeds 132 characters; contains 149 characters
(#365) Line exceeds 132 characters; contains 160 characters
(#376) Inline comments must end in full-stops, exclamation marks, or question marks
(#376) Line exceeds maximum limit of 180 characters; contains 215 characters
(#376) No space found before comment text; expected "// Define class from sublevels in order to move a margen in the left. Not apply if it is the first element (condition !empty($move_list_html)) because the first element can't be a sublevel" but found "//Define class from sublevels in order to move a margen in the left. Not apply if it is the first element (condition !empty($move_list_html)) because the first element can't be a sublevel"
(#377) Variable "li_class" must not contain underscores.
(#378) Variable "format_options" must not contain underscores.
(#378) Variable "format_options" must not contain underscores.
(#378) Variable "format_options" must not contain underscores.
(#378) Variable "move_list_html" must not contain underscores.
(#378) Line exceeds 132 characters; contains 154 characters
(#379) Variable "li_class" must not contain underscores.
(#383) Variable "move_list_html" must not contain underscores.
(#383) Variable "li_class" must not contain underscores.
(#383) Line exceeds 132 characters; contains 142 characters
(#384) Line indented incorrectly; expected 28 spaces, found 31
(#384) Closing brace indented incorrectly; expected 28 spaces, found 31
(#385) Expected "} else {\n"; found "}\n else {\n"
(#386) Variable "move_list_html" must not contain underscores.
(#386) Variable "li_class" must not contain underscores.
(#390) Line exceeds 132 characters; contains 134 characters
(#390) Inline comments must end in full-stops, exclamation marks, or question marks
(#390) No space found before comment text; expected "// End move section list***************************************************************************" but found "//End move section list***************************************************************************"
(#390) Whitespace found at end of line
(#400) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#426) Variable "inactive_tabs" must not contain underscores.
(#426) Inline comments must start with a capital letter, digit or 3-dots sequence
(#426) Inline comments must end in full-stops, exclamation marks, or question marks
(#426) This comment is 62% valid code; is this commented out code?
(#426) Line exceeds maximum limit of 180 characters; contains 189 characters
(#426) No space found before comment text; expected "// print_tabs($tabs, "tab_topic_" . $displaysection, $inactive_tabs, $active_tabs, true);" but found "//print_tabs($tabs, "tab_topic_" . $displaysection, $inactive_tabs, $active_tabs, true);"
(#432) Empty IF statement detected
(#433) Inline comments must end in full-stops, exclamation marks, or question marks
(#433) No space found before comment text; expected "// Not used more, is controled in /course/view.php" but found "//Not used more, is controled in /course/view.php"
(#437) Expected "} else {\n"; found "}\n else {\n"
(#465) Inline comments must start with a capital letter, digit or 3-dots sequence
(#467) Whitespace found at end of line
(#471) Line exceeds maximum limit of 180 characters; contains 186 characters
(#472) Whitespace found at end of line
(#472) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#474) Inline comments must end in full-stops, exclamation marks, or question marks
(#474) No space found before comment text; expected "// Move controls" but found "//Move controls"
(#475) Variable "can_move" must not contain underscores.
(#475) Variable "move_list_html" must not contain underscores.
(#481) Variable "move_list_html" must not contain underscores.
(#488) Whitespace found at end of line
(#497) Variable "text_button_disableajax" must not contain underscores.
(#499) Expected "} else {\n"; found "}\n else {\n"
(#501) Variable "text_button_disableajax" must not contain underscores.
(#509) Variable "text_button_disableajax" must not contain underscores.
(#516) Inline comments must end in full-stops, exclamation marks, or question marks
(#516) No space found before comment text; expected "// Duplicate current section option" but found "//Duplicate current section option"
(#518) Variable "url_duplicate" must not contain underscores.
(#518) Line exceeds 132 characters; contains 177 characters
(#520) Variable "url_duplicate" must not contain underscores.
(#521) Line exceeds 132 characters; contains 156 characters
(#552) Whitespace found at end of line
(#556) Whitespace found at end of line
(#565) Whitespace found at end of line
(#566) Expected 1 space before ".="; 0 found
(#567) Expected 1 space before "=>"; 0 found
(#567) Expected 1 space after "=>"; 0 found
(#568) Expected 1 space before "=>"; 0 found
(#569) Whitespace found at end of line
(#571) Expected 1 space before ".="; 0 found
(#572) Whitespace found at end of line
(#574) Expected 1 space before ".="; 0 found
(#575) Expected 1 space before ".="; 0 found
(#576) Whitespace found at end of line
(#579) Expected 1 space before ".="; 0 found
(#580) Whitespace found at end of line
(#581) Expected 1 space before ".="; 0 found
(#582) Expected 1 space before ".="; 0 found
(#583) Whitespace found at end of line
(#586) Expected 1 space before "=>"; 0 found
(#586) Expected 1 space after "=>"; 0 found
(#586) Expected 1 space before "=>"; 0 found
(#586) Expected 1 space after "=>"; 0 found
(#587) Expected 1 space before ".="; 0 found
(#592) Expected 1 space before ".="; 0 found
(#593) Whitespace found at end of line
(#596) Whitespace found at end of line
(#611) Whitespace found at end of line
(#616) Whitespace found at end of line
course/format/onetopic/version.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/>.".
(#28) 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, 1 warnings)

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

course/format/onetopic/styles.css
(#17) Unknown property 'opactity'.

PHPDocs style problems

(12 errors, 1 warnings)

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

course/format/onetopic/duplicate.php
(#20) Package contribution is not valid
course/format/onetopic/format.php
(#2) Empty line found after PHP open tag
(#16) No one-line description found in phpdocs for file
(#19) Package contribution is not valid
course/format/onetopic/lang/en/format_onetopic.php
(#20) Package contribution is not valid
course/format/onetopic/lang/es/format_onetopic.php
(#20) Package contribution is not valid
course/format/onetopic/lang/eu/format_onetopic.php
(#20) Package contribution is not valid
course/format/onetopic/lib.php
(#37) Class format_onetopic is not documented
(#375) Function format_onetopic::section_format_options is not documented
(#32) Package contribution is not valid
course/format/onetopic/renderer.php
(#16) No one-line description found in phpdocs for file
(#19) Package contribution is not valid
course/format/onetopic/version.php
(#19) Package contribution 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]