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

(2 errors, 12 warnings)

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

local/commander/lang/en/local_commander.php
(#30) The string key "commander:display" is not in the correct order, it should be before "pluginname"
(#33) Unexpected comment found. Auto-fixing will not work after this comment
(#34) The string key "js:header" is not in the correct order, it should be before "privacy:null_reason"
(#35) The string key "js:command_placeholder" is not in the correct order, it should be before "js:header"
(#39) Unexpected comment found. Auto-fixing will not work after this comment
(#43) Unexpected comment found. Auto-fixing will not work after this comment
(#44) The string key "error:noaccess" is not in the correct order, it should be before "setting:keys_desc"
local/commander/tests/commander_test.php
(#43) Unit test commander_test should be declared as final.
(#48) The setUp() method in unit tests must always call to parent::setUp().
(#48) There must not be a space before the colon in a return type declaration
(#56) Test method test_navigation_site() is missing any coverage information, own or at class level
(#56) Test method test_navigation_site() is missing a return type
(#75) Test method test_navigation_course() is missing any coverage information, own or at class level
(#75) Test method test_navigation_course() is missing a return type

Javascript coding style problems

(0 errors, 5 warnings)

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

local/commander/amd/src/commander.js
(#22) There should be no space after '{'. (@babel/object-curly-spacing)
(#22) There should be no space before '}'. (@babel/object-curly-spacing)
(#89) Comments should not begin with a lowercase character. (capitalized-comments)
(#380) A constructor name should not start with a lowercase letter. (@babel/new-cap)
local/commander/amd/src/settings.js
(#41) Each then() should return a value or throw (promise/always-return)

CSS problems

(190 errors, 0 warnings)

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

local/commander/styles.css
(#2) Expected indentation of 4 spaces (indentation)
(#3) Expected indentation of 4 spaces (indentation)
(#4) Expected indentation of 4 spaces (indentation)
(#5) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#7) Expected indentation of 4 spaces (indentation)
(#8) Expected indentation of 4 spaces (indentation)
(#9) Expected indentation of 4 spaces (indentation)
(#13) Expected indentation of 4 spaces (indentation)
(#22) Expected indentation of 4 spaces (indentation)
(#14) Expected indentation of 8 spaces (indentation)
(#15) Expected indentation of 8 spaces (indentation)
(#16) Expected indentation of 8 spaces (indentation)
(#17) Expected indentation of 8 spaces (indentation)
(#18) Expected indentation of 8 spaces (indentation)
(#19) Expected indentation of 8 spaces (indentation)
(#20) Expected indentation of 8 spaces (indentation)
(#21) Expected indentation of 8 spaces (indentation)
(#25) Expected indentation of 4 spaces (indentation)
(#26) Expected indentation of 4 spaces (indentation)
(#27) Expected indentation of 4 spaces (indentation)
(#28) Expected indentation of 4 spaces (indentation)
(#29) Expected indentation of 4 spaces (indentation)
(#30) Expected indentation of 4 spaces (indentation)
(#31) Expected indentation of 4 spaces (indentation)
(#32) Expected indentation of 4 spaces (indentation)
(#33) Expected indentation of 4 spaces (indentation)
(#34) Expected indentation of 4 spaces (indentation)
(#35) Expected indentation of 4 spaces (indentation)
(#36) Expected indentation of 4 spaces (indentation)
(#37) Expected indentation of 4 spaces (indentation)
(#38) Expected indentation of 4 spaces (indentation)
(#39) Expected indentation of 4 spaces (indentation)
(#42) Expected indentation of 4 spaces (indentation)
(#43) Expected indentation of 4 spaces (indentation)
(#46) Expected indentation of 4 spaces (indentation)
(#47) Expected indentation of 4 spaces (indentation)
(#50) Expected indentation of 4 spaces (indentation)
(#51) Expected indentation of 4 spaces (indentation)
(#52) Expected indentation of 4 spaces (indentation)
(#53) Expected indentation of 4 spaces (indentation)
(#54) Expected indentation of 4 spaces (indentation)
(#55) Expected indentation of 4 spaces (indentation)
(#56) Expected indentation of 4 spaces (indentation)
(#57) Expected indentation of 4 spaces (indentation)
(#58) Expected indentation of 4 spaces (indentation)
(#61) Expected indentation of 4 spaces (indentation)
(#62) Expected indentation of 4 spaces (indentation)
(#65) Expected indentation of 4 spaces (indentation)
(#66) Expected indentation of 4 spaces (indentation)
(#67) Expected indentation of 4 spaces (indentation)
(#68) Expected indentation of 4 spaces (indentation)
(#71) Expected indentation of 4 spaces (indentation)
(#72) Expected indentation of 4 spaces (indentation)
(#73) Expected indentation of 4 spaces (indentation)
(#74) Expected indentation of 4 spaces (indentation)
(#75) Expected indentation of 4 spaces (indentation)
(#78) Expected indentation of 4 spaces (indentation)
(#79) Expected indentation of 4 spaces (indentation)
(#82) Expected indentation of 4 spaces (indentation)
(#85) Expected indentation of 4 spaces (indentation)
(#86) Expected indentation of 4 spaces (indentation)
(#89) Expected indentation of 4 spaces (indentation)
(#90) Expected indentation of 4 spaces (indentation)
(#93) Expected indentation of 4 spaces (indentation)
(#96) Expected indentation of 4 spaces (indentation)
(#97) Expected indentation of 4 spaces (indentation)
(#98) Expected indentation of 4 spaces (indentation)
(#101) Expected indentation of 4 spaces (indentation)
(#104) Expected indentation of 4 spaces (indentation)
(#105) Expected indentation of 4 spaces (indentation)
(#106) Expected indentation of 4 spaces (indentation)
(#107) Expected indentation of 4 spaces (indentation)
(#111) Expected indentation of 4 spaces (indentation)
(#112) Expected indentation of 4 spaces (indentation)
(#113) Expected indentation of 4 spaces (indentation)
(#114) Expected indentation of 4 spaces (indentation)
(#115) Expected indentation of 4 spaces (indentation)
(#116) Expected indentation of 4 spaces (indentation)
(#117) Expected indentation of 4 spaces (indentation)
(#118) Expected indentation of 4 spaces (indentation)
local/commander/styles.scss
(#2) Expected indentation of 4 spaces (indentation)
(#3) Expected indentation of 4 spaces (indentation)
(#4) Expected indentation of 4 spaces (indentation)
(#5) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#7) Expected indentation of 4 spaces (indentation)
(#8) Expected indentation of 4 spaces (indentation)
(#9) Expected indentation of 4 spaces (indentation)
(#13) Expected indentation of 4 spaces (indentation)
(#22) Expected indentation of 4 spaces (indentation)
(#14) Expected indentation of 8 spaces (indentation)
(#15) Expected indentation of 8 spaces (indentation)
(#16) Expected indentation of 8 spaces (indentation)
(#17) Expected indentation of 8 spaces (indentation)
(#18) Expected indentation of 8 spaces (indentation)
(#19) Expected indentation of 8 spaces (indentation)
(#20) Expected indentation of 8 spaces (indentation)
(#21) Expected indentation of 8 spaces (indentation)
(#27) Expected indentation of 4 spaces (indentation)
(#28) Expected indentation of 4 spaces (indentation)
(#29) Expected indentation of 4 spaces (indentation)
(#30) Expected indentation of 4 spaces (indentation)
(#31) Expected indentation of 4 spaces (indentation)
(#32) Expected indentation of 4 spaces (indentation)
(#33) Expected indentation of 4 spaces (indentation)
(#34) Expected indentation of 4 spaces (indentation)
(#35) Expected indentation of 4 spaces (indentation)
(#36) Expected indentation of 4 spaces (indentation)
(#37) Expected indentation of 4 spaces (indentation)
(#38) Expected indentation of 4 spaces (indentation)
(#39) Expected indentation of 4 spaces (indentation)
(#40) Expected indentation of 4 spaces (indentation)
(#41) Expected indentation of 4 spaces (indentation)
(#43) Expected indentation of 4 spaces (indentation)
(#51) Expected indentation of 4 spaces (indentation)
(#44) Expected indentation of 8 spaces (indentation)
(#45) Expected indentation of 8 spaces (indentation)
(#47) Expected indentation of 8 spaces (indentation)
(#50) Expected indentation of 8 spaces (indentation)
(#48) Expected indentation of 12 spaces (indentation)
(#49) Expected indentation of 12 spaces (indentation)
(#53) Expected indentation of 4 spaces (indentation)
(#63) Expected indentation of 4 spaces (indentation)
(#54) Expected indentation of 8 spaces (indentation)
(#55) Expected indentation of 8 spaces (indentation)
(#56) Expected indentation of 8 spaces (indentation)
(#57) Expected indentation of 8 spaces (indentation)
(#58) Expected indentation of 8 spaces (indentation)
(#59) Expected indentation of 8 spaces (indentation)
(#60) Expected indentation of 8 spaces (indentation)
(#61) Expected indentation of 8 spaces (indentation)
(#62) Expected indentation of 8 spaces (indentation)
(#65) Expected indentation of 4 spaces (indentation)
(#123) Expected indentation of 4 spaces (indentation)
(#66) Expected indentation of 8 spaces (indentation)
(#67) Expected indentation of 8 spaces (indentation)
(#69) Expected indentation of 8 spaces (indentation)
(#101) Expected indentation of 8 spaces (indentation)
(#70) Expected indentation of 12 spaces (indentation)
(#71) Expected indentation of 12 spaces (indentation)
(#72) Expected indentation of 12 spaces (indentation)
(#73) Expected indentation of 12 spaces (indentation)
(#75) Expected indentation of 12 spaces (indentation)
(#95) Expected indentation of 12 spaces (indentation)
(#76) Expected indentation of 16 spaces (indentation)
(#77) Expected indentation of 16 spaces (indentation)
(#78) Expected indentation of 16 spaces (indentation)
(#79) Expected indentation of 16 spaces (indentation)
(#80) Expected indentation of 16 spaces (indentation)
(#82) Expected indentation of 16 spaces (indentation)
(#85) Expected indentation of 16 spaces (indentation)
(#83) Expected indentation of 20 spaces (indentation)
(#84) Expected indentation of 20 spaces (indentation)
(#87) Expected indentation of 16 spaces (indentation)
(#94) Expected indentation of 16 spaces (indentation)
(#88) Expected indentation of 20 spaces (indentation)
(#90) Expected indentation of 20 spaces (indentation)
(#93) Expected indentation of 20 spaces (indentation)
(#91) Expected indentation of 24 spaces (indentation)
(#92) Expected indentation of 24 spaces (indentation)
(#97) Expected indentation of 12 spaces (indentation)
(#100) Expected indentation of 12 spaces (indentation)
(#98) Expected indentation of 16 spaces (indentation)
(#99) Expected indentation of 16 spaces (indentation)
(#103) Expected indentation of 8 spaces (indentation)
(#105) Expected indentation of 8 spaces (indentation)
(#104) Expected indentation of 12 spaces (indentation)
(#107) Expected indentation of 8 spaces (indentation)
(#111) Expected indentation of 8 spaces (indentation)
(#108) Expected indentation of 12 spaces (indentation)
(#109) Expected indentation of 12 spaces (indentation)
(#110) Expected indentation of 12 spaces (indentation)
(#113) Expected indentation of 8 spaces (indentation)
(#115) Expected indentation of 8 spaces (indentation)
(#114) Expected indentation of 12 spaces (indentation)
(#117) Expected indentation of 8 spaces (indentation)
(#122) Expected indentation of 8 spaces (indentation)
(#118) Expected indentation of 12 spaces (indentation)
(#119) Expected indentation of 12 spaces (indentation)
(#120) Expected indentation of 12 spaces (indentation)
(#121) Expected indentation of 12 spaces (indentation)
(#127) Expected indentation of 4 spaces (indentation)
(#128) Expected indentation of 4 spaces (indentation)
(#129) Expected indentation of 4 spaces (indentation)
(#130) Expected indentation of 4 spaces (indentation)
(#131) Expected indentation of 4 spaces (indentation)
(#132) Expected indentation of 4 spaces (indentation)
(#133) Expected indentation of 4 spaces (indentation)
(#134) Expected indentation of 4 spaces (indentation)

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