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

(10 errors, 99 warnings)

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

local/envbar/classes/form/config.php
(#47) Short array syntax must be used to define arrays
(#60) There should be a comma after the last array item in a multi-line array.
(#90) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
(#167) Short array syntax must be used to define arrays
(#171) Short array syntax must be used to define arrays
(#208) Short array syntax must be used to define arrays
(#217) Short array syntax must be used to define arrays
(#231) Short array syntax must be used to define arrays
(#252) Short array syntax must be used to define arrays
(#274) Short array syntax must be used to define arrays
(#274) Short array syntax must be used to define arrays
(#275) Short array syntax must be used to define arrays
(#301) Short array syntax must be used to define arrays
(#317) Short array syntax must be used to define arrays
(#325) Short array syntax must be used to define arrays
(#333) Short array syntax must be used to define arrays
(#336) There should be a comma after the last array item in a multi-line array.
(#344) Short array syntax must be used to define arrays
(#355) Short array syntax must be used to define arrays
(#356) Short array syntax must be used to define arrays
(#361) Short array syntax must be used to define arrays
(#367) Short array syntax must be used to define arrays
(#371) There should be a comma after the last array item in a multi-line array.
(#376) Short array syntax must be used to define arrays
(#380) There should be a comma after the last array item in a multi-line array.
(#385) Short array syntax must be used to define arrays
local/envbar/classes/local/envbarlib.php
(#63) Expected "bool" but found "boolean" for @var tag in member variable comment
(#157) Short array syntax must be used to define arrays
(#255) Short array syntax must be used to define arrays
(#349) Short array syntax must be used to define arrays
(#360) Short array syntax must be used to define arrays
(#488) Short array syntax must be used to define arrays
(#667) Short array syntax must be used to define arrays
local/envbar/db/caches.php
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#30) There should be a comma after the last array item in a multi-line array.
(#31) There should be a comma after the last array item in a multi-line array.
local/envbar/db/tasks.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#35) There should be a comma after the last array item in a multi-line array.
local/envbar/db/upgrade.php
(#69) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
local/envbar/index.php
(#38) Short array syntax must be used to define arrays
local/envbar/last_refresh.php
(#36) Short array syntax must be used to define arrays
local/envbar/renderer.php
(#45) Short array syntax must be used to define arrays
(#146) A comma after the last array item in a single-line array is not allowed.
(#186) Short array syntax must be used to define arrays
local/envbar/service/updatelastrefresh.php
(#40) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
local/envbar/tests/lib_test.php
(#34) Unit test lib_test should be declared as final.
(#53) Data provider method "get_data_for_pattern_matching" will need to be converted to static in future.
(#53) Data provider method "get_data_for_pattern_matching" must return an array, a Generator or an Iterable.
(#54) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#91) Test method test_pattern_matching() is missing any coverage information, own or at class level
(#91) Test method test_pattern_matching() is missing a return type
(#99) Test method test_inject() is missing any coverage information, own or at class level
(#99) Test method test_inject() is missing a return type
(#128) Test method test_is_secret_key_overridden() is missing any coverage information, own or at class level
(#128) Test method test_is_secret_key_overridden() is missing a return type
(#139) Short array syntax must be used to define arrays
(#142) Short array syntax must be used to define arrays
(#155) Test method test_get_secret_key() is missing any coverage information, own or at class level
(#155) Test method test_get_secret_key() is missing a return type
(#173) Test method test_get_toggle_debug_config() is missing any coverage information, own or at class level
(#173) Test method test_get_toggle_debug_config() is missing a return type
(#178) Short array syntax must be used to define arrays
(#190) Test method test_get_debug_display_config() is missing any coverage information, own or at class level
(#190) Test method test_get_debug_display_config() is missing a return type
(#193) Short array syntax must be used to define arrays
(#205) Test method test_get_debugging_status_string() is missing any coverage information, own or at class level
(#205) Test method test_get_debugging_status_string() is missing a return type
(#226) Test method test_get_debug_toggle_string() is missing any coverage information, own or at class level
(#226) Test method test_get_debug_toggle_string() is missing a return type
(#247) Test method test_set_debug_config() is missing any coverage information, own or at class level
(#247) Test method test_set_debug_config() is missing a return type
(#252) Short array syntax must be used to define arrays
local/envbar/version.php
(#31) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 0 warnings)

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


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

(0 errors, 0 warnings)

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


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]