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

(72 errors, 11 warnings)

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

blocks/profilespecifichtml/block_profilespecifichtml.php
(#73) Whitespace found at end of line
(#84) Whitespace found at end of line
(#86) Whitespace found at end of line
(#91) Whitespace found at end of line
(#92) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#102) Line exceeds 132 characters; contains 137 characters
(#102) Whitespace found at end of line
(#114) The use of function eval() is forbidden
(#120) Line exceeds 132 characters; contains 141 characters
(#120) Whitespace found at end of line
(#129) Whitespace found at end of line
(#132) The use of function eval() is forbidden
(#134) Whitespace found at end of line
(#135) The use of function eval() is forbidden
(#141) Whitespace found at end of line
(#142) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#145) Whitespace found at end of line
(#146) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#164) Expected 1 space before "=>"; 0 found
(#164) Expected 1 space after "=>"; 0 found
(#164) Line exceeds maximum limit of 180 characters; contains 194 characters
(#167) Expected 1 space before "=>"; 0 found
(#167) Expected 1 space after "=>"; 0 found
(#167) Line exceeds maximum limit of 180 characters; contains 198 characters
(#170) Expected 1 space before "=>"; 0 found
(#170) Expected 1 space after "=>"; 0 found
(#170) Line exceeds maximum limit of 180 characters; contains 206 characters
(#171) Space found before semicolon; expected "];" but found "] ;"
blocks/profilespecifichtml/db/access.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#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.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#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/>.".
(#17) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#22) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#25) Expected 1 space before comment text but found 11; use block comment if you need indentation
(#26) Expected 1 space before comment text but found 11; use block comment if you need indentation
(#29) Expected 1 space before comment text but found 3; use block comment if you need indentation
blocks/profilespecifichtml/edit_form.php
(#48) Line exceeds 132 characters; contains 142 characters
(#81) Line exceeds 132 characters; contains 142 characters
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Line exceeds 132 characters; contains 147 characters
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Line exceeds 132 characters; contains 151 characters
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Variable "text_all" must not contain underscores.
(#104) Variable "text_match" must not contain underscores.
(#105) Variable "text_nomatch" must not contain underscores.
(#109) Variable "text_all" must not contain underscores.
(#110) Variable "draftid_editor" must not contain underscores.
(#111) Variable "text_all" must not contain underscores.
(#114) Variable "text_all" must not contain underscores.
(#116) Variable "draftid_editor" must not contain underscores.
(#116) Line exceeds maximum limit of 180 characters; contains 200 characters
(#117) Variable "draftid_editor" must not contain underscores.
(#121) Variable "text_match" must not contain underscores.
(#122) Variable "draftid_editor" must not contain underscores.
(#123) Variable "text_match" must not contain underscores.
(#126) Variable "text_match" must not contain underscores.
(#128) Variable "draftid_editor" must not contain underscores.
(#128) Line exceeds maximum limit of 180 characters; contains 200 characters
(#129) Variable "draftid_editor" must not contain underscores.
(#133) Variable "text_nomatch" must not contain underscores.
(#134) Variable "draftid_editor" must not contain underscores.
(#135) Variable "text_nomatch" must not contain underscores.
(#138) Variable "text_nomatch" must not contain underscores.
(#140) Variable "draftid_editor" must not contain underscores.
(#140) Line exceeds maximum limit of 180 characters; contains 204 characters
(#141) Variable "draftid_editor" must not contain underscores.
(#161) Variable "text_all" must not contain underscores.
(#162) Variable "text_match" must not contain underscores.
(#163) Variable "text_nomatch" must not contain underscores.
blocks/profilespecifichtml/lib.php
(#27) Variable "birecord_or_cm" must not contain underscores.
(#45) Line exceeds 132 characters; contains 137 characters
(#49) Variable "birecord_or_cm" must not contain underscores.
blocks/profilespecifichtml/version.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Whitespace found at end of line

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


PHPDocs style problems

(28 errors, 0 warnings)

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

blocks/profilespecifichtml/block_profilespecifichtml.php
(#19) Category blocks is not valid
(#28) Class block_profilespecifichtml is not documented
(#30) Function block_profilespecifichtml::init is not documented
(#34) Function block_profilespecifichtml::applicable_formats is not documented
(#38) Function block_profilespecifichtml::specialization is not documented
(#43) Function block_profilespecifichtml::instance_allow_multiple is not documented
(#47) Function block_profilespecifichtml::content_is_trusted is not documented
(#71) Function block_profilespecifichtml::get_content is not documented
(#179) Function block_profilespecifichtml::hide_header is not documented
(#17) No one-line description found in phpdocs for file
(#156) Phpdocs for function block_profilespecifichtml::instance_config_save has incomplete parameters list
blocks/profilespecifichtml/db/access.php
(#) File-level phpdocs block is not found
blocks/profilespecifichtml/edit_form.php
(#28) Package is not specified for class block_profilespecifichtml_edit_form. It is also not specified in file-level phpdocs
(#23) Category blocks is not valid
(#17) File-level phpdocs block is not found
(#28) Class block_profilespecifichtml_edit_form is not documented
(#30) Function block_profilespecifichtml_edit_form::specific_definition is not documented
(#91) Function block_profilespecifichtml_edit_form::set_data is not documented
blocks/profilespecifichtml/lang/en/block_profilespecifichtml.php
(#17) File-level phpdocs block is not found
blocks/profilespecifichtml/lang/fr/block_profilespecifichtml.php
(#17) File-level phpdocs block is not found
blocks/profilespecifichtml/lib.php
(#27) Package is not specified for function block_profilespecifichtml_pluginfile. It is also not specified in file-level phpdocs
(#66) Package is not specified for function block_profilespecifichtml_global_db_replace. It is also not specified in file-level phpdocs
(#21) Category blocks is not valid
(#17) File-level phpdocs block is not found
(#27) Function block_profilespecifichtml_pluginfile is not documented
(#68) Phpdocs for function block_profilespecifichtml_global_db_replace has incomplete parameters list
blocks/profilespecifichtml/version.php
(#21) Category blocks is not valid
(#17) File-level phpdocs block does not have @copyright tag

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]