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

(8 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
(#101) Spaces must be used to indent lines; tabs are not allowed
(#101) Tab found within whitespace
(#101) Line indented incorrectly; expected at least 8 spaces, found 4
(#101) Spaces must be used for alignment; tabs are not allowed
(#101) Tab found within whitespace
(#101) Spaces must be used for alignment; tabs are not allowed
(#101) Tab found within whitespace
(#101) Whitespace found at end of line
(#145) Short array syntax must be used to define arrays

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]