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

(16 errors, 5 warnings)

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

blocks/fbcomments/block_fbcomments.php
(#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/>.".
(#23) Expected MOODLE_INTERNAL check or config.php inclusion
(#56) Expected 1 space after "?"; newline found
blocks/fbcomments/db/access.php
(#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/>.".
blocks/fbcomments/db/upgrade.php
(#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/>.".
(#23) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/fbcomments/edit_form.php
(#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/>.".
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#42) Line exceeds 132 characters; contains 137 characters
blocks/fbcomments/lang/en/block_fbcomments.php
(#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/>.".
blocks/fbcomments/tests/behat/behat_block_fbcomments.php
(#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/>.".
(#47) Commas (,) must be followed by white space.
blocks/fbcomments/version.php
(#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, 2 warnings)

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

blocks/fbcomments/styles.css
(#3) Use of !important
(#7) Use of !important

PHPDocs style problems

(17 errors, 0 warnings)

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

blocks/fbcomments/block_fbcomments.php
(#16) File-level phpdocs block is not found
(#43) Function block_fbcomments::__construct is not documented
(#47) Function block_fbcomments::has_config is not documented
(#51) Function block_fbcomments::applicable_formats is not documented
(#55) Function block_fbcomments::specialization is not documented
(#60) Function block_fbcomments::instance_allow_multiple is not documented
(#64) Function block_fbcomments::get_content is not documented
(#25) Invalid phpdocs tag @const used
(#28) Invalid phpdocs tag @const used
(#31) Invalid phpdocs tag @const used
(#34) Invalid phpdocs tag @const used
(#37) Invalid phpdocs tag @const used
(#40) Invalid phpdocs tag @const used
blocks/fbcomments/db/upgrade.php
(#16) File-level phpdocs block is not found
(#16) Phpdocs for function xmldb_block_fbcomments_upgrade has incomplete parameters list
blocks/fbcomments/edit_form.php
(#31) Function block_fbcomments_edit_form::specific_definition is not documented
(#79) Function block_fbcomments_edit_form::get_page_options is not documented

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]