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

(11 errors, 0 warnings)

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

blocks/su_agent_moodle/block_su_agent_moodle.php
(#73) Parentheses must be used when instantiating a new class
blocks/su_agent_moodle/db/services.php
(#37) Expected 1 blank line at end of file; 2 found
blocks/su_agent_moodle/externallib.php
(#31) Opening brace must not be followed by a blank line
(#61) Opening parenthesis of a multi-line function call must be the last content on the line
blocks/su_agent_moodle/lang/de/block_su_agent_moodle.php
(#55) Expected 1 blank line at end of file; 3 found
blocks/su_agent_moodle/lang/en/block_su_agent_moodle.php
(#55) Expected 1 blank line at end of file; 2 found
blocks/su_agent_moodle/lang/es/block_su_agent_moodle.php
(#55) Expected 1 blank line at end of file; 4 found
blocks/su_agent_moodle/lang/pt/block_su_agent_moodle.php
(#55) Expected 1 blank line at end of file; 2 found
blocks/su_agent_moodle/lang/pt_br/block_su_agent_moodle.php
(#55) Expected 1 blank line at end of file; 2 found
blocks/su_agent_moodle/sendmail.php
(#39) Blank line found at start of control structure
blocks/su_agent_moodle/settings.php
(#67) Expected 1 blank line at end of file; 2 found

Javascript coding style problems

(3 errors, 15 warnings)

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

blocks/su_agent_moodle/amd/src/copy.js
(#19) @package should be empty. (jsdoc/empty-tags)
(#38) Avoid wrapping return values in Promise.resolve (promise/no-return-wrap)
(#41) Unexpected console statement. (no-console)
(#98) Avoid nesting promises. (promise/no-nesting)
(#98) Avoid nesting promises. (promise/no-nesting)
(#102) Each then() should return a value or throw (promise/always-return)
(#103) Unexpected alert. (no-alert)
(#106) Unexpected console statement. (no-console)
(#107) Avoid nesting promises. (promise/no-nesting)
(#108) Each then() should return a value or throw (promise/always-return)
(#109) Unexpected alert. (no-alert)
(#120) Each then() should return a value or throw (promise/always-return)
(#121) Unexpected alert. (no-alert)
(#139) Each then() should return a value or throw (promise/always-return)
(#140) Avoid nesting promises. (promise/no-nesting)
(#141) Each then() should return a value or throw (promise/always-return)
(#150) Avoid nesting promises. (promise/no-nesting)
(#151) Each then() should return a value or throw (promise/always-return)

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

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "eslint:amd" 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, 1 warnings)

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

blocks/su_agent_moodle/templates/content.mustache
(#1) Example context missing.

Gherkin .feature problems

(0 errors, 0 warnings)

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