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

(153 errors, 19 warnings)

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

blocks/graph_stats/block_graph_stats.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#84) Whitespace found at end of line
(#85) Whitespace found at end of line
(#96) Whitespace found at end of line
(#97) Whitespace found at end of line
(#106) Whitespace found at end of line
blocks/graph_stats/db/access.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/graph_stats/db/caches.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#12) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/graph_stats/details.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#57) Line exceeds maximum limit of 180 characters; contains 201 characters
(#57) Whitespace found at end of line
(#75) Whitespace found at end of line
(#91) Whitespace found at end of line
(#103) Whitespace found at end of line
blocks/graph_stats/lang/de/block_graph_stats.php
(#2) Inline comments must end in full-stops, exclamation marks, or question marks
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) 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 "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#11) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/graph_stats/lang/en/block_graph_stats.php
(#2) The opening <?php tag must be followed by exactly one newline.
blocks/graph_stats/lang/es/block_graph_stats.php
(#1) Whitespace found at end of line
(#1) The opening <?php tag must be followed by exactly one newline.
(#2) Inline comments must end in full-stops, exclamation marks, or question marks
(#12) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/graph_stats/lang/fr/block_graph_stats.php
(#2) Inline comments must end in full-stops, exclamation marks, or question marks
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) 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 "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Inline comments must end in full-stops, exclamation marks, or question marks
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#6) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#16) Inline comments must end in full-stops, exclamation marks, or question marks
(#24) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/graph_stats/lang/hu/block_graph_stats.php
(#2) Inline comments must end in full-stops, exclamation marks, or question marks
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) 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 "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) 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/>.".
blocks/graph_stats/lang/pl/block_graph_stats.php
(#2) Inline comments must end in full-stops, exclamation marks, or question marks
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) 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 "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) 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/>.".
blocks/graph_stats/lang/pt/block_graph_stats.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) 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 "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Inline comments must end in full-stops, exclamation marks, or question marks
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#6) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#13) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/graph_stats/lang/ru/block_graph_stats.php
(#2) The opening <?php tag must be followed by exactly one newline.
blocks/graph_stats/lang/uk/block_graph_stats.php
(#2) Inline comments must end in full-stops, exclamation marks, or question marks
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Whitespace found at end of line
(#3) 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 "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Inline comments must end in full-stops, exclamation marks, or question marks
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#6) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#13) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/graph_stats/lang/zh_cn/block_graph_stats.php
(#2) The opening <?php tag must be followed by exactly one newline.
blocks/graph_stats/locallib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#33) Whitespace found at end of line
(#35) Whitespace found at end of line
(#57) Whitespace found at end of line
(#62) Expected 1 space after "*"; 0 found
(#63) Expected 1 space after "*"; 0 found
(#66) Whitespace found at end of line within string
(#70) Whitespace found at end of line
(#71) Whitespace found at end of line
(#72) Whitespace found at end of line
(#84) Expected 1 space after "*"; 0 found
(#85) Expected 1 space after "*"; 0 found
(#88) Whitespace found at end of line within string
(#92) Whitespace found at end of line
(#93) Whitespace found at end of line
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Whitespace found at end of line within string
(#108) Whitespace found at end of line
(#109) Whitespace found at end of line
(#112) Inline comments must start with a capital letter, digit or 3-dots sequence
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) Whitespace found at end of line
(#151) Whitespace found at end of line
(#170) Whitespace found at end of line within string
(#174) Whitespace found at end of line within string
blocks/graph_stats/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#66) Whitespace found at end of line
(#68) Whitespace found at end of line
(#73) Whitespace found at end of line
(#74) Whitespace found at end of line
(#75) Whitespace found at end of line
(#80) Whitespace found at end of line
(#81) Whitespace found at end of line
(#82) Whitespace found at end of line
(#83) Whitespace found at end of line
(#88) Whitespace found at end of line
(#89) Whitespace found at end of line
(#90) Whitespace found at end of line
(#91) Whitespace found at end of line
(#96) Whitespace found at end of line
(#97) Whitespace found at end of line
(#98) Whitespace found at end of line
(#99) Whitespace found at end of line
(#104) Whitespace found at end of line
(#105) Whitespace found at end of line
(#106) Whitespace found at end of line
(#107) Whitespace found at end of line
blocks/graph_stats/version.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

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 csslint [More info]


PHPDocs style problems

(29 errors, 11 warnings)

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

blocks/graph_stats/block_graph_stats.php
(#2) Empty line found after PHP open tag
(#27) File-level phpdocs block is not found
(#29) Class block_graph_stats is not documented
(#35) Function block_graph_stats::init is not documented
(#39) Function block_graph_stats::has_config is not documented
(#43) Function block_graph_stats::instance_allow_config is not documented
(#47) Function block_graph_stats::instance_allow_multiple is not documented
(#51) Function block_graph_stats::applicable_formats is not documented
(#57) Function block_graph_stats::get_required_javascript is not documented
(#63) Function block_graph_stats::get_content is not documented
(#29) Package is not specified for class block_graph_stats. It is also not specified in file-level phpdocs
blocks/graph_stats/db/access.php
(#2) Empty line found after PHP open tag
(#27) File-level phpdocs block is not found
(#21) Package block is not valid
blocks/graph_stats/db/caches.php
(#2) Empty line found after PHP open tag
(#6) Package block is not valid
blocks/graph_stats/details.php
(#2) Empty line found after PHP open tag
(#21) Package block is not valid
blocks/graph_stats/lang/de/block_graph_stats.php
(#3) File-level phpdocs block is not found
blocks/graph_stats/lang/en/block_graph_stats.php
(#2) Empty line found after PHP open tag
(#21) Package block is not valid
blocks/graph_stats/lang/es/block_graph_stats.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
blocks/graph_stats/lang/fr/block_graph_stats.php
(#3) File-level phpdocs block is not found
blocks/graph_stats/lang/hu/block_graph_stats.php
(#3) File-level phpdocs block is not found
blocks/graph_stats/lang/pl/block_graph_stats.php
(#3) File-level phpdocs block is not found
blocks/graph_stats/lang/pt/block_graph_stats.php
(#3) File-level phpdocs block is not found
blocks/graph_stats/lang/ru/block_graph_stats.php
(#2) Empty line found after PHP open tag
(#3) No one-line description found in phpdocs for file
(#4) Package block is not valid
blocks/graph_stats/lang/uk/block_graph_stats.php
(#3) File-level phpdocs block is not found
blocks/graph_stats/lang/zh_cn/block_graph_stats.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
blocks/graph_stats/locallib.php
(#2) Empty line found after PHP open tag
(#31) Function block_graph_stats_graph_google is not documented
(#21) Package block is not valid
blocks/graph_stats/settings.php
(#2) Empty line found after PHP open tag
(#21) Package block is not valid
blocks/graph_stats/version.php
(#2) Empty line found after PHP open tag
(#21) Package block 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]