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

(14 errors, 18 warnings)

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

blocks/section/block_section.php
(#20) Incorrect @package tag for file block_section.php. Expected block_section, found block.
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#27) Missing docblock for class block_section
(#28) Missing member variable doc comment
(#30) Missing docblock for function init
(#33) Missing docblock for function specialization
(#46) Missing docblock for function applicable_formats
(#50) There should be a comma after the last array item in a multi-line array.
(#53) Missing docblock for function instance_allow_multiple
(#57) Missing docblock for function get_content
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/section/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#43) There must not be a space before the colon in a return type declaration
blocks/section/db/access.php
(#20) Incorrect @package tag for file access.php. Expected block_section, found block.
(#36) There should be a comma after the last array item in a multi-line array.
(#39) There should be a comma after the last array item in a multi-line array.
(#48) There should be a comma after the last array item in a multi-line array.
(#51) There should be a comma after the last array item in a multi-line array.
(#52) There should be a comma after the last array item in a multi-line array.
blocks/section/edit_form.php
(#20) Incorrect @package tag for file edit_form.php. Expected block_section, found block.
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#28) Missing docblock for class block_section_edit_form
(#29) Missing docblock for function specific_definition
blocks/section/lang/en/block_section.php
(#28) The string key "blocksettings" is not in the correct order, it should be before "pluginname"
(#29) The string key "blockcourse" is not in the correct order, it should be before "blocksettings"
(#35) The string key "blockteacheredit" is not in the correct order, it should be before "blocktitle_help"
(#38) The string key "privacy:metadata" is not in the correct order, it should be before "section:myaddinstance"
blocks/section/version.php
(#20) Incorrect @package tag for file version.php. Expected block_section, found block.
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) 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

(0 errors, 0 warnings)

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


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]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]