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

(82 errors, 11 warnings)

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

blocks/profilespecifichtml/block_profilespecifichtml.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#31) Visibility must be declared on method "init"
(#35) Visibility must be declared on method "applicable_formats"
(#39) Visibility must be declared on method "specialization"
(#44) Visibility must be declared on method "instance_allow_multiple"
(#48) Visibility must be declared on method "content_is_trusted"
(#72) Visibility must be declared on method "get_content"
(#74) Whitespace found at end of line
(#75) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#85) Whitespace found at end of line
(#87) Whitespace found at end of line
(#92) Whitespace found at end of line
(#93) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#103) Line exceeds 132 characters; contains 137 characters
(#103) Whitespace found at end of line
(#115) The use of function eval() is forbidden
(#121) Line exceeds 132 characters; contains 141 characters
(#121) Whitespace found at end of line
(#130) Whitespace found at end of line
(#133) The use of function eval() is forbidden
(#135) Whitespace found at end of line
(#136) The use of function eval() is forbidden
(#142) Whitespace found at end of line
(#143) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#146) Whitespace found at end of line
(#147) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#160) Visibility must be declared on method "instance_config_save"
(#165) Expected 1 space before "=>"; 0 found
(#165) Expected 1 space after "=>"; 0 found
(#165) Line exceeds maximum limit of 180 characters; contains 194 characters
(#168) Expected 1 space before "=>"; 0 found
(#168) Expected 1 space after "=>"; 0 found
(#168) Line exceeds maximum limit of 180 characters; contains 198 characters
(#171) Expected 1 space before "=>"; 0 found
(#171) Expected 1 space after "=>"; 0 found
(#171) Line exceeds maximum limit of 180 characters; contains 206 characters
(#172) Space found before semicolon; expected "];" but found "] ;"
(#180) Visibility must be declared on method "hide_header"
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
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) 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 jshint [More info]


CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by csslint [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
(#29) Package is not specified for class block_profilespecifichtml. It is also not specified in file-level phpdocs
(#21) Category blocks is not valid
(#17) File-level phpdocs block is not found
(#29) Class block_profilespecifichtml is not documented
(#31) Function block_profilespecifichtml::init is not documented
(#35) Function block_profilespecifichtml::applicable_formats is not documented
(#39) Function block_profilespecifichtml::specialization is not documented
(#44) Function block_profilespecifichtml::instance_allow_multiple is not documented
(#48) Function block_profilespecifichtml::content_is_trusted is not documented
(#72) Function block_profilespecifichtml::get_content is not documented
(#180) Function block_profilespecifichtml::hide_header is not documented
(#157) 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

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, 0 warnings)

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

npm-shrinkwrap.json
Uncommitted change detected.

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]