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

(1 errors, 19 warnings)

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

blocks/key_figures/block_key_figures.php
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#315) Line exceeds 132 characters; contains 133 characters
blocks/key_figures/db/access.php
(#34) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
blocks/key_figures/edit_form.php
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/key_figures/lang/en/block_key_figures.php
(#34) The string key "key_figures:myaddinstance" is not in the correct order, it should be before "pluginname"
(#36) The string key "config_background_color_desc" is not in the correct order, it should be before "key_figures:myaddinstance"
(#42) The string key "config_icon_color_desc" is not in the correct order, it should be before "configspace_desc"
(#44) The string key "config_caption_color_desc" is not in the correct order, it should be before "config_tile_background_color_desc"
(#46) The string key "config_block_number_desc" is not in the correct order, it should be before "config_number_color_desc"
(#48) The string key "config_block_settings" is not in the correct order, it should be before "config_tile_border"
(#54) The string key "config_number_caption_desc" is not in the correct order, it should be before "config_row"
blocks/key_figures/lang/fr/block_key_figures.php
(#34) The string key "key_figures:myaddinstance" is not in the correct order, it should be before "pluginname"
(#36) The string key "config_background_color_desc" is not in the correct order, it should be before "key_figures:myaddinstance"
(#40) Whitespace found at end of line within string
(#42) The string key "config_icon_color_desc" is not in the correct order, it should be before "configspace_desc"
(#44) The string key "config_caption_color_desc" is not in the correct order, it should be before "config_tile_background_color_desc"
(#46) The string key "config_block_number_desc" is not in the correct order, it should be before "config_number_color_desc"
(#48) The string key "config_block_settings" is not in the correct order, it should be before "config_tile_border"
(#54) The string key "config_number_caption_desc" is not in the correct order, it should be before "config_row"

Javascript coding style problems

(2 errors, 4 warnings)

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

blocks/key_figures/amd/src/editform.js
(#38) Unexpected console statement. (no-console)
(#57) Unexpected console statement. (no-console)
(#90) Expected to return a value at the end of arrow function. (consistent-return)
(#108) Unreachable code. (no-unreachable)
(#118) Expected to return a value at the end of arrow function. (consistent-return)
(#136) Unreachable code. (no-unreachable)

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, 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]