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

(29 errors, 2 warnings)

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

blocks/myprogress/block_myprogress.php
(#55) Short array syntax must be used to define arrays
blocks/myprogress/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#61) Line indented incorrectly; expected at least 4 spaces, found 3
(#62) Expected 4 spaces before asterisk; 5 found
(#63) Expected 4 spaces before asterisk; 5 found
(#64) Expected 4 spaces before asterisk; 5 found
(#65) Expected 4 spaces before asterisk; 5 found
(#66) Expected 4 spaces before asterisk; 5 found
(#109) Line indented incorrectly; expected at least 4 spaces, found 3
(#110) Expected 4 spaces before asterisk; 5 found
(#111) Expected 4 spaces before asterisk; 5 found
(#112) Expected 4 spaces before asterisk; 5 found
(#113) Expected 4 spaces before asterisk; 5 found
(#114) Expected 4 spaces before asterisk; 5 found
(#115) Expected 4 spaces before asterisk; 5 found
(#146) Spaces must be used to indent lines; tabs are not allowed
(#146) Tab found within whitespace
(#146) Whitespace found at end of line
(#165) Line indented incorrectly; expected at least 8 spaces, found 7
(#168) Line indented incorrectly; expected at least 4 spaces, found 3
(#169) Expected 4 spaces before asterisk; 5 found
(#170) Expected 4 spaces before asterisk; 5 found
(#171) Expected 4 spaces before asterisk; 5 found
(#172) Expected 4 spaces before asterisk; 5 found
(#173) Expected 4 spaces before asterisk; 5 found
(#180) Line indented incorrectly; expected at least 4 spaces, found 3
(#181) Expected 4 spaces before asterisk; 5 found
(#182) Expected 4 spaces before asterisk; 5 found
(#183) Expected 4 spaces before asterisk; 5 found
(#184) Expected 4 spaces before asterisk; 5 found
(#185) Expected 4 spaces before asterisk; 5 found

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

(11 errors, 0 warnings)

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

blocks/myprogress/classes/output/block.php
(#33) Variable block::$course is not documented
(#34) Variable block::$context is not documented
(#35) Variable block::$config is not documented
(#40) Phpdocs for function block::__construct has incomplete parameters list
blocks/myprogress/classes/util/coursecompletion.php
(#28) Variable coursecompletion::$course is not documented
(#33) Phpdocs for function coursecompletion::__construct has incomplete parameters list
(#55) Phpdocs for function coursecompletion::insert_or_update_user_course_progress has incomplete parameters list
blocks/myprogress/classes/util/progress.php
(#31) Phpdocs for function progress::get_user_progress has incomplete parameters list
(#57) Phpdocs for function progress::get_class_average has incomplete parameters list
(#82) Phpdocs for function progress::get_groups_average has incomplete parameters list
(#124) Phpdocs for function progress::get_cohorts_average has incomplete parameters list

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

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

blocks/myprogress/templates/block.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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