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


CSS problems

(14 errors, 0 warnings)

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

blocks/fbcomments/styles.css
(#3) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#7) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#3) Unexpected single-line block (block-no-single-line)
(#7) Unexpected single-line block (block-no-single-line)
(#3) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#7) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#3) Unexpected !important (declaration-no-important)
(#7) Unexpected !important (declaration-no-important)
(#1) Unexpected whitespace at end of line (no-eol-whitespace)
(#5) Unexpected whitespace at end of line (no-eol-whitespace)
(#6) Unexpected whitespace at end of line (no-eol-whitespace)
(#1) Expected newline after "," (selector-list-comma-newline-after)
(#5) Expected newline after "," (selector-list-comma-newline-after)
(#6) Expected newline after "," (selector-list-comma-newline-after)

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]


grunt changes

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Task "stylelint:css" failed. Use --force to continue.
Problems running grunt

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]