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
(#32) This comment is 45% valid code; is this commented out code?

Javascript coding style problems

(4 errors, 6 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)
blocks/theme_selector/amd/src/block_theme_selector.js
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#36) Unexpected space before function parentheses. (space-before-function-paren)
(#39) Unexpected space before function parentheses. (space-before-function-paren)
(#40) Unexpected space before function parentheses. (space-before-function-paren)
(#67) Unexpected space before function parentheses. (space-before-function-paren)

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

(0 errors, 0 warnings)

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


Update savepoints problems

(3 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
version 2117050800 is higher than that defined in /var/lib/jenkins/git_repositories/prechecker/blocks/theme_selector/version.php file

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]

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

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]