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

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

blocks/dash/classes/local/layout/abstract_layout.php
(#281) Expected 1 space after "="; 2 found
(#287) Functions must not contain multiple empty lines in a row; found 2 empty lines
blocks/dash/classes/output/mustache_custom_loader.php
(#49) Protected method name "mustache_custom_loader::getFileName" must be in lower-case letters only
blocks/dash/download.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#36) Variable "filterform_data" must not contain underscores.
(#53) Variable "filterform_data" must not contain underscores.
(#62) Expected 1 space after "="; 2 found
(#65) 3 slashes comments are not allowed; use "// Comment." instead
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) 3 slashes comments are not allowed; use "// Comment." instead
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) 3 slashes comments are not allowed; use "// Comment." instead
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) 3 slashes comments are not allowed; use "// Comment." instead
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) 3 slashes comments are not allowed; use "// Comment." instead
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) 3 slashes comments are not allowed; use "// Comment." instead
blocks/dash/lang/en/block_dash.php
(#512) File must end with a newline character

Javascript coding style problems

(1 errors, 14 warnings)

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

blocks/dash/amd/src/dash_instance.js
(#57) Extra space after key 'download'. (key-spacing)
(#73) There should be no space after '{'. (babel/object-curly-spacing)
(#73) There should be no space before '}'. (babel/object-curly-spacing)
(#74) There should be no space after '{'. (babel/object-curly-spacing)
(#74) There should be no space before '}'. (babel/object-curly-spacing)
(#75) There should be no space after '{'. (babel/object-curly-spacing)
(#75) There should be no space before '}'. (babel/object-curly-spacing)
(#76) There should be no space after '{'. (babel/object-curly-spacing)
(#76) There should be no space before '}'. (babel/object-curly-spacing)
(#77) There should be no space after '{'. (babel/object-curly-spacing)
(#77) There should be no space before '}'. (babel/object-curly-spacing)
(#78) There should be no space after '{'. (babel/object-curly-spacing)
(#78) There should be no space before '}'. (babel/object-curly-spacing)
(#130) Unexpected tab character. (no-tabs)
(#196) Extra space after key 'pagelayout'. (key-spacing)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(6 errors, 0 warnings)

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

blocks/dash/download.php
(#65) Found comment starting with three or more slashes
(#66) Found comment starting with three or more slashes
(#68) Found comment starting with three or more slashes
(#71) Found comment starting with three or more slashes
(#73) Found comment starting with three or more slashes
(#95) Found comment starting with three or more slashes

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/dash/templates/extra_css.mustache
(#1) HTML Validation error, line 2: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><style> #)

Gherkin .feature problems

(0 errors, 0 warnings)

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