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

(31 errors, 17 warnings)

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

blocks/obf_displayer/block_obf_displayer.php
(#22) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#45) Line indented incorrectly; expected at least 8 spaces, found 6
(#49) Line exceeds 132 characters; contains 167 characters
(#60) Whitespace found at end of line
(#64) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#64) Expected "if (...) {\n"; found "if(...) {\n"
(#71) Line exceeds 132 characters; contains 145 characters
(#78) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#79) Whitespace found at end of line
(#95) Variable "moodle_assertions" must not contain underscores.
(#96) Variable "moodle_assertions" must not contain underscores.
(#97) Variable "moodle_assertions" must not contain underscores.
(#102) Whitespace found at end of line
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) No space found before comment text; expected "// Get badges issued with previous emails" but found "//Get badges issued with previous emails"
(#133) Line indented incorrectly; expected 20 spaces, found 19
(#139) Closing brace indented incorrectly; expected 19 spaces, found 20
(#141) Line indented incorrectly; expected at least 20 spaces, found 18
(#144) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#158) Whitespace found at end of line
(#166) Variable "badgeslib_file" must not contain underscores.
(#167) Whitespace found at end of line
(#169) Variable "badgeslib_file" must not contain underscores.
(#169) Line exceeds 132 characters; contains 147 characters
(#170) Variable "badgeslib_file" must not contain underscores.
blocks/obf_displayer/db/access.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/obf_displayer/db/caches.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/obf_displayer/edit_form.php
(#22) Expected MOODLE_INTERNAL check or config.php inclusion
(#32) Whitespace found at end of line
(#33) Line exceeds 132 characters; contains 134 characters
(#36) Whitespace found at end of line
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Line exceeds 132 characters; contains 161 characters
(#45) Line exceeds 132 characters; contains 159 characters
(#47) Line exceeds 132 characters; contains 161 characters
(#48) Line exceeds maximum limit of 180 characters; contains 186 characters
(#50) Line exceeds 132 characters; contains 147 characters
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) This comment is 64% valid code; is this commented out code?
(#52) Line indented incorrectly; expected at least 8 spaces, found 7
(#65) Whitespace found at end of line
(#70) Line exceeds 132 characters; contains 141 characters
(#73) Whitespace found at end of line
(#79) Protected method name "block_obf_displayer_edit_form::setExpanded" must be in lower-case letters only
blocks/obf_displayer/version.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#31) 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

(0 errors, 0 warnings)

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


PHPDocs style problems

(7 errors, 0 warnings)

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

blocks/obf_displayer/block_obf_displayer.php
(#48) Function block_obf_displayer::get_badge_displaytype is not documented
(#103) Function block_obf_displayer::is_cache_assertions_enabled is not documented
(#17) No one-line description found in phpdocs for file
blocks/obf_displayer/edit_form.php
(#17) File-level phpdocs block is not found
(#24) Function block_obf_displayer_edit_form::specific_definition is not documented
(#79) Function block_obf_displayer_edit_form::setExpanded is not documented
(#17) No one-line description found in phpdocs for class block_obf_displayer_edit_form

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]