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

(5 errors, 3 warnings)

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

blocks/demostudent/block_demostudent.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/demostudent/classes/privacy/provider.php
(#21) Whitespace found at end of line
blocks/demostudent/db/access.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/demostudent/db/install.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/demostudent/db/uninstall.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/demostudent/db/upgrade.php
(#40) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/demostudent/locallib.php
(#66) Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
blocks/demostudent/version.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

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

(40 errors, 0 warnings)

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

blocks/demostudent/block_demostudent.php
(#54) Class block_demostudent is not documented
(#55) Function block_demostudent::init is not documented
(#59) Function block_demostudent::get_content is not documented
(#90) Function block_demostudent::render_view is not documented
(#152) Function block_demostudent::ismoonfull is not documented
(#161) Function block_demostudent::instance_allow_multiple is not documented
(#165) Function block_demostudent::has_config is not documented
(#169) Function block_demostudent::html_attributes is not documented
(#175) Function block_demostudent::applicable_formats is not documented
(#16) File-level phpdocs block does not have @copyright tag
(#16) File-level phpdocs block does not have @license tag
blocks/demostudent/db/access.php
(#16) File-level phpdocs block does not have @copyright tag
(#16) File-level phpdocs block does not have @license tag
blocks/demostudent/db/install.php
(#23) Function xmldb_block_demostudent_install is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#18) Package block is not valid
blocks/demostudent/db/uninstall.php
(#23) Function xmldb_block_demostudent_uninstall is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#18) Package block is not valid
blocks/demostudent/db/upgrade.php
(#42) Function xmldb_block_demostudent_upgrade is not documented
(#35) No one-line description found in phpdocs for file
(#35) File-level phpdocs block does not have @copyright tag
(#35) File-level phpdocs block does not have @license tag
blocks/demostudent/lang/en/block_demostudent.php
(#16) File-level phpdocs block does not have @copyright tag
(#16) File-level phpdocs block does not have @license tag
blocks/demostudent/locallib.php
(#30) Phpdocs for function create_demostudent_account has incomplete parameters list
(#50) Phpdocs for function generate_demostudent_name has incomplete parameters list
(#61) Phpdocs for function get_roleid_by_roleshortname has incomplete parameters list
(#16) File-level phpdocs block does not have @copyright tag
(#16) File-level phpdocs block does not have @license tag
blocks/demostudent/remove.php
(#16) File-level phpdocs block does not have @copyright tag
(#16) File-level phpdocs block does not have @license tag
blocks/demostudent/switchview.php
(#16) File-level phpdocs block does not have @copyright tag
(#16) File-level phpdocs block does not have @license tag
blocks/demostudent/version.php
(#16) File-level phpdocs block does not have @copyright tag
(#16) File-level phpdocs block does not have @license tag

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]