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

(108 errors, 48 warnings)

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

course/format/columns/backup/moodle2/restore_format_columns_plugin.class.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#47) Line exceeds maximum limit of 180 characters; contains 263 characters
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Line exceeds 132 characters; contains 134 characters
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) This comment is 45% valid code; is this commented out code?
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Whitespace found at end of line
course/format/columns/config.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#32) Whitespace found at end of line
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#37) Blank comments are not allowed
course/format/columns/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r"
course/format/columns/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#53) Line exceeds 132 characters; contains 135 characters
course/format/columns/format.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
course/format/columns/lang/en/format_columns.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Expected 1 space after "="; newline found
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Expected 1 space after "="; newline found
(#94) A closing tag is not permitted at the end of a PHP file
course/format/columns/lib.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Visibility must be declared on method "ajax_section_move"
(#254) This comment is 50% valid code; is this commented out code?
(#255) Whitespace found at end of line
(#257) Inline comments must end in full-stops, exclamation marks, or question marks
(#266) Whitespace found at end of line
(#267) Inline comments must end in full-stops, exclamation marks, or question marks
(#267) This comment is 50% valid code; is this commented out code?
(#267) Whitespace found at end of line
(#271) Expected 1 space after "="; newline found
(#273) Expected 1 space after "="; newline found
(#308) Expected 1 space before "+"; 0 found
(#308) Expected 1 space after "+"; 0 found
(#329) Line exceeds 132 characters; contains 136 characters
(#353) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#354) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#376) This comment is 43% valid code; is this commented out code?
(#377) Inline comments must end in full-stops, exclamation marks, or question marks
(#381) Inline comments must end in full-stops, exclamation marks, or question marks
(#415) Line exceeds 132 characters; contains 143 characters
(#448) Whitespace found at end of line
course/format/columns/renderer.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Line exceeds 132 characters; contains 137 characters
(#54) Line exceeds 132 characters; contains 139 characters
(#175) Line exceeds 132 characters; contains 134 characters
(#176) Line exceeds 132 characters; contains 179 characters
(#179) Line exceeds 132 characters; contains 134 characters
(#180) Line exceeds 132 characters; contains 174 characters
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#209) Expected 1 space before "=>"; 0 found
(#209) Expected 1 space after "=>"; 0 found
(#209) Expected 1 space before "=>"; 0 found
(#225) Expected 1 space before ".="; 0 found
(#226) Expected 1 space before ".="; 0 found
(#227) Expected 1 space before ".="; 0 found
(#228) Expected 1 space before ".="; 0 found
(#288) Line exceeds 132 characters; contains 135 characters
(#289) Line exceeds maximum limit of 180 characters; contains 183 characters
(#295) Expected 1 space before ".="; 0 found
(#297) Inline comments must end in full-stops, exclamation marks, or question marks
(#321) Expected 1 space before ".="; 0 found
(#322) Line exceeds 132 characters; contains 137 characters
(#352) Possible useless method overriding detected
(#427) Inline comments must start with a capital letter, digit or 3-dots sequence
(#427) Inline comments must end in full-stops, exclamation marks, or question marks
(#428) Usage of ELSEIF not allowed; use ELSE IF instead
(#446) Inline comments must end in full-stops, exclamation marks, or question marks
(#470) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#478) Line exceeds 132 characters; contains 136 characters
(#494) Inline comments must start with a capital letter, digit or 3-dots sequence
(#494) Inline comments must end in full-stops, exclamation marks, or question marks
course/format/columns/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#56) This comment is 50% valid code; is this commented out code?
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) This comment is 50% valid code; is this commented out code?
course/format/columns/version.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#36) This comment is 45% valid code; is this commented out code?

Javascript coding style problems

(0 errors, 4 warnings)

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

course/format/columns/format.js
(#53) Missing semicolon.
(#72) Missing semicolon.
(#90) Expected '===' and instead saw '=='.
(#116) Missing semicolon.

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(28 errors, 13 warnings)

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

course/format/columns/backup/moodle2/restore_format_columns_plugin.class.php
(#84) Function restore_format_columns_plugin::after_execute_structure is not documented
(#32) No one-line description found in phpdocs for class restore_format_columns_plugin
(#53) Phpdocs for function restore_format_columns_plugin::process_columns has incomplete parameters list
(#32) Class restore_format_columns_plugin does not have @copyright tag
(#32) Class restore_format_columns_plugin does not have @license tag
(#10) Not recommended phpdocs tag @version used
(#8) Package course/format is not valid
course/format/columns/config.php
(#10) Not recommended phpdocs tag @version used
(#8) Package course/format is not valid
course/format/columns/db/upgrade.php
(#2) Empty line found after PHP open tag
(#33) Function xmldb_format_columns_upgrade is not documented
(#11) Not recommended phpdocs tag @version used
(#9) Package course/format is not valid
course/format/columns/format.php
(#10) Not recommended phpdocs tag @version used
(#8) Package course/format is not valid
course/format/columns/lang/en/format_columns.php
(#10) Not recommended phpdocs tag @version used
(#8) Package course/format is not valid
course/format/columns/lib.php
(#31) Class format_columns is not documented
(#33) Variable format_columns::$settings is not documented
(#35) Phpdocs for function format_columns::get_settings has incomplete parameters list
(#477) Phpdocs for function callback_columns_load_content has incomplete parameters list
(#10) Not recommended phpdocs tag @version used
(#8) Package course/format is not valid
course/format/columns/renderer.php
(#2) Empty line found after PHP open tag
(#34) Class format_columns_renderer is not documented
(#63) Function format_columns_renderer::start_section_list is not documented
(#532) Function format_columns_renderer::set_portable is not documented
(#36) Variable format_columns_renderer::$cncolumnwidth is not documented
(#37) Variable format_columns_renderer::$cncolumnpadding is not documented
(#38) Variable format_columns_renderer::$mobiletheme is not documented
(#39) Variable format_columns_renderer::$tablettheme is not documented
(#40) Variable format_columns_renderer::$courseformat is not documented
(#41) Variable format_columns_renderer::$cnsettings is not documented
(#11) Not recommended phpdocs tag @version used
(#9) Package course/format is not valid
course/format/columns/settings.php
(#2) Empty line found after PHP open tag
(#11) Not recommended phpdocs tag @version used
(#9) Package course/format is not valid
course/format/columns/version.php
(#2) Empty line found after PHP open tag
(#11) Not recommended phpdocs tag @version used
(#9) Package course/format is not valid

Update savepoints problems

(2 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

course/format/columns/db/upgrade.php
Detected more 'if' blocks (1) than 'savepoint' calls (0)
version 2114052000 is missing corresponding savepoint call

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]