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

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

blocks/badgeawarder/block_badgeawarder.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/badgeawarder/forms/step1_form.php
(#66) Whitespace found at end of line
(#95) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#96) Whitespace found at end of line
blocks/badgeawarder/locallib.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/badgeawarder/settings.php
(#77) Whitespace found at end of line
(#89) Whitespace found at end of line

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by csslint [More info]


PHPDocs style problems

(29 errors, 0 warnings)

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

blocks/badgeawarder/block_badgeawarder.php
(#25) Class block_badgeawarder is not documented
(#27) Function block_badgeawarder::init is not documented
(#31) Function block_badgeawarder::applicable_formats is not documented
(#35) Function block_badgeawarder::specialization is not documented
(#39) Function block_badgeawarder::has_config is not documented
(#43) Function block_badgeawarder::instance_allow_multiple is not documented
(#47) Function block_badgeawarder::get_content is not documented
blocks/badgeawarder/forms/step1_form.php
(#37) Class block_badgeawarder_step1_form is not documented
blocks/badgeawarder/forms/step2_form.php
(#29) Class block_badgeawarder_step2_form is not documented
blocks/badgeawarder/locallib.php
(#17) No one-line description found in phpdocs for file
(#24) Phpdocs for function block_badgeawarder_page_header has incomplete parameters list
blocks/badgeawarder/processor.php
(#29) Class block_badgeawarder_processor is not documented
(#272) Function block_badgeawarder_processor::get_badge is not documented
(#288) Function block_badgeawarder_processor::check_badge_criteria is not documented
(#311) Function block_badgeawarder_processor::get_user is not documented
(#362) Function block_badgeawarder_processor::get_enrolments is not documented
(#367) Function block_badgeawarder_processor::get_enrolmentinstance is not documented
(#377) Function block_badgeawarder_processor::send_email is not documented
(#395) Function block_badgeawarder_processor::enrol_user is not documented
(#449) Function block_badgeawarder_processor::get_existing_useremailaddresses is not documented
(#455) Function block_badgeawarder_processor::get_existing_usernames is not documented
(#461) Function block_badgeawarder_processor::check_required_fields is not documented
(#106) Phpdocs for function block_badgeawarder_processor::__construct has incomplete parameters list
(#481) Phpdocs for function block_badgeawarder_processor::preview has incomplete parameters list
(#51) Phpdocs for variable block_badgeawarder_processor::$nothingtodo does not contain @var or incorrect
(#52) Invalid phpdocs tag @bool used
blocks/badgeawarder/tracker.php
(#28) Class block_badgeawarder_tracker is not documented
(#54) Phpdocs for function block_badgeawarder_tracker::__construct has incomplete parameters list
(#71) Phpdocs for function block_badgeawarder_tracker::results 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]


Mustache template problems

(0 errors, 0 warnings)

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