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

(52 errors, 1 warnings)

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

blocks/openbiblio/block_openbiblio.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/openbiblio/db/access.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#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.".
(#7) Line 7 of the opening comment must start "//".
(#8) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#8) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#8) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#8) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#8) Line 12 of the opening comment must start "//".
(#8) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#8) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
blocks/openbiblio/lang/en/block_openbiblio.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) 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.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#21) A closing tag is not permitted at the end of a PHP file
blocks/openbiblio/lang/nl/block_openbiblio.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) 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.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#21) A closing tag is not permitted at the end of a PHP file
blocks/openbiblio/settings.php
(#24) Line exceeds maximum limit of 180 characters; contains 189 characters
(#25) Line exceeds maximum limit of 180 characters; contains 200 characters
(#26) Line exceeds maximum limit of 180 characters; contains 217 characters
(#27) Line exceeds maximum limit of 180 characters; contains 204 characters
(#28) Line exceeds maximum limit of 180 characters; contains 191 characters
(#29) Line exceeds maximum limit of 180 characters; contains 219 characters
blocks/openbiblio/version.php
(#23) 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

(11 errors, 0 warnings)

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

blocks/openbiblio/block_openbiblio.php
(#23) File-level phpdocs block is not found
(#23) Class block_openbiblio is not documented
(#24) Function block_openbiblio::init is not documented
(#30) Function block_openbiblio::has_config is not documented
(#34) Function block_openbiblio::get_content is not documented
(#23) Package is not specified for class block_openbiblio. It is also not specified in file-level phpdocs
blocks/openbiblio/db/access.php
(#8) File-level phpdocs block is not found
blocks/openbiblio/lang/en/block_openbiblio.php
(#2) File-level phpdocs block is not found
blocks/openbiblio/lang/nl/block_openbiblio.php
(#2) File-level phpdocs block is not found
blocks/openbiblio/settings.php
(#22) File-level phpdocs block is not found
blocks/openbiblio/version.php
(#23) File-level phpdocs block is not found

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]