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

(6 errors, 12 warnings)

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

blocks/dedication/dedication.php
(#53) Line exceeds 132 characters; contains 179 characters
(#119) Line exceeds 132 characters; contains 157 characters
(#120) Line exceeds 132 characters; contains 149 characters
(#122) Line exceeds 132 characters; contains 137 characters
(#123) Line exceeds 132 characters; contains 170 characters
(#125) Line exceeds 132 characters; contains 140 characters
(#138) Empty ELSE statement detected
(#189) Line exceeds 132 characters; contains 149 characters
(#191) Line exceeds 132 characters; contains 137 characters
(#192) Line exceeds 132 characters; contains 170 characters
blocks/dedication/dedication_lib.php
(#183) Line exceeds 132 characters; contains 144 characters
(#196) Line exceeds 132 characters; contains 136 characters
(#373) global $PAGE cannot be used in block classes. Use $this->page.
(#376) Variable "is_bootstrap_theme" must not contain underscores.
(#376) global $PAGE cannot be used in block classes. Use $this->page.
(#376) global $PAGE cannot be used in block classes. Use $this->page.
(#376) Line exceeds 132 characters; contains 149 characters
(#377) Variable "is_bootstrap_theme" must not contain underscores.

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

(34 errors, 0 warnings)

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

blocks/dedication/block_dedication.php
(#30) Package is not specified for class block_dedication. It is also not specified in file-level phpdocs
(#22) Package block is not valid
(#17) File-level phpdocs block is not found
(#30) Class block_dedication is not documented
(#32) Function block_dedication::init is not documented
(#36) Function block_dedication::specialization is not documented
(#47) Function block_dedication::get_content is not documented
(#86) Function block_dedication::applicable_formats is not documented
blocks/dedication/db/access.php
(#17) File-level phpdocs block is not found
blocks/dedication/dedication.php
(#17) File-level phpdocs block is not found
blocks/dedication/dedication_form.php
(#24) Package is not specified for class dedication_block_selection_form. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#24) Class dedication_block_selection_form is not documented
(#26) Function dedication_block_selection_form::definition is not documented
blocks/dedication/dedication_lib.php
(#26) Package is not specified for class block_dedication_manager. It is also not specified in file-level phpdocs
(#249) Package is not specified for class block_dedication_utils. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#36) Function block_dedication_manager::__construct is not documented
(#43) Function block_dedication_manager::get_students_dedication is not documented
(#95) Function block_dedication_manager::download_students_dedication is not documented
(#134) Function block_dedication_manager::get_user_dedication is not documented
(#31) Variable block_dedication_manager::$course is not documented
(#32) Variable block_dedication_manager::$mintime is not documented
(#33) Variable block_dedication_manager::$maxtime is not documented
(#34) Variable block_dedication_manager::$limit is not documented
(#254) Variable block_dedication_utils::$logstores is not documented
(#351) There is no description in phpdocs for function format_ips
(#206) Phpdocs for function block_dedication_manager::download_user_dedication has incomplete parameters list
blocks/dedication/edit_form.php
(#19) Package is not specified for class block_dedication_edit_form. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#19) Class block_dedication_edit_form is not documented
(#21) Function block_dedication_edit_form::specific_definition is not documented
blocks/dedication/lang/en/block_dedication.php
(#18) File-level phpdocs block is not found
blocks/dedication/version.php
(#17) File-level phpdocs block is not found

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]