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

(0 errors, 1 warnings)

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

blocks/theme_selector/version.php
(#33) This comment is 45% valid code; is this commented out code?

Javascript coding style problems

(4 errors, 1 warnings)

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

blocks/theme_selector/Gruntfile.js
(#41) 'module' is not defined. (no-undef)
(#47) '__dirname' is not defined. (no-undef)
(#50) 'process' is not defined. (no-undef)
(#57) 'process' is not defined. (no-undef)
(#82) Identifier 'dynamic_mappings' is not in camel case. (camelcase)

CSS problems

(2 errors, 0 warnings)

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

blocks/theme_selector/styles.css
(#2) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#2) Unexpected whitespace at end of line (no-eol-whitespace)

PHPDocs style problems

(11 errors, 0 warnings)

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

blocks/theme_selector/block_theme_selector.php
(#31) Class block_theme_selector is not documented
(#33) Function block_theme_selector::init is not documented
(#37) Function block_theme_selector::has_config is not documented
(#41) Function block_theme_selector::hide_header is not documented
(#45) Function block_theme_selector::get_content is not documented
(#20) Package block is not valid
blocks/theme_selector/db/access.php
(#20) Package block is not valid
blocks/theme_selector/db/upgrade.php
(#20) Package block is not valid
blocks/theme_selector/lang/en/block_theme_selector.php
(#20) Package block is not valid
blocks/theme_selector/settings.php
(#20) Package block is not valid
blocks/theme_selector/version.php
(#20) Package block is not valid

Update savepoints problems

(2 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

blocks/theme_selector/db/upgrade.php
Detected more 'if' blocks (1) than 'savepoint' calls (0)
version 2117050800 is missing corresponding savepoint call

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]