Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(6 errors, 0 warnings)

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

blocks/dixeo_coursegen/block_dixeo_coursegen.php
(#29) Opening brace must not be followed by a blank line
blocks/dixeo_coursegen/classes/course_generator.php
(#152) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#152) Opening parenthesis of a multi-line function call must be the last content on the line
(#155) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#155) Closing parenthesis of a multi-line function call must be on a line by itself
(#155) The closing parenthesis of a multi-line control structure must be on the line after the last expression

Javascript coding style problems

(0 errors, 5 warnings)

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

blocks/dixeo_coursegen/amd/src/dirty.js
(#27) Expected to return a value at the end of function. (consistent-return)
blocks/dixeo_coursegen/amd/src/generator.js
(#69) Avoid nesting promises. (promise/no-nesting)
(#77) Each then() should return a value or throw (promise/always-return)
(#229) Each then() should return a value or throw (promise/always-return)
(#285) Each then() should return a value or throw (promise/always-return)

CSS problems

(6 errors, 5 warnings)

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

blocks/dixeo_coursegen/styles.css
(#122) Expected "#FFF" to be "#fff" (color-hex-case)
(#86) Unexpected !important (declaration-no-important)
(#190) Unexpected !important (declaration-no-important)
(#198) Unexpected !important (declaration-no-important)
(#260) Unexpected !important (declaration-no-important)
(#264) Unexpected !important (declaration-no-important)
(#282) Unexpected !important (declaration-no-important)
(#184) Unexpected unit (length-zero-no-unit)
(#184) Unexpected unit (length-zero-no-unit)
(#255) Unexpected unit (length-zero-no-unit)
(#255) Unexpected unit (length-zero-no-unit)

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

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

This section shows problems detected in mustache templates [More info]

blocks/dixeo_coursegen/templates/course_generator.mustache
(#1) Example context missing (@template section not found.)
blocks/dixeo_coursegen/templates/filenames.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content
blocks/dixeo_coursegen/templates/generation.mustache
(#1) Example context missing (@template section not found.)
blocks/dixeo_coursegen/templates/prompt.mustache
(#1) Example context missing (@template section not found.)
blocks/dixeo_coursegen/templates/success_message.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 7: Bad value “25px” for attribute “width” on element “img”: Expected a digit but saw “p” instead. ( <img src="/blocks/dixeo_coursegen/pix/dixeo-white.svg" alt="Logo" width="25px" height="25px"> )
(#1) HTML Validation error, line 7: Bad value “25px” for attribute “height” on element “img”: Expected a digit but saw “p” instead. ( <img src="/blocks/dixeo_coursegen/pix/dixeo-white.svg" alt="Logo" width="25px" height="25px"> )

Gherkin .feature problems

(0 errors, 0 warnings)

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