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

(4 errors, 7 warnings)

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

enrol/mmbrio/classes/observer.php
(#105) This comment is 45% valid code; is this commented out code?
enrol/mmbrio/edit.php
(#28) File is being unconditionally included; use "require_once" instead
enrol/mmbrio/enrol.php
(#23) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#24) File is being unconditionally included; use "require_once" instead
(#25) File is being unconditionally included; use "require_once" instead
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) This comment is 67% valid code; is this commented out code?
enrol/mmbrio/forms/payment_form.php
(#67) Whitespace found at end of line
(#73) Line exceeds 132 characters; contains 166 characters
(#77) Line exceeds 132 characters; contains 135 characters

Javascript coding style problems

(0 errors, 5 warnings)

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

enrol/mmbrio/amd/src/mmbrio_calls.js
(#36) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#56) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
enrol/mmbrio/amd/src/style.js
(#23) Unexpected space before function parentheses. (space-before-function-paren)
(#25) Unexpected space before function parentheses. (space-before-function-paren)
(#28) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(56 errors, 0 warnings)

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

enrol/mmbrio/classes/observer.php
(#31) Class enrol_mmbrio_observer is not documented
(#219) Function enrol_mmbrio_observer::get is not documented
(#237) Function enrol_mmbrio_observer::post is not documented
(#17) No one-line description found in phpdocs for file
(#154) Phpdocs for function enrol_mmbrio_observer::validate_user_enrolment has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#19) Package Enrol_mmbrio is not valid
(#18) Category Api_Calls is not valid
enrol/mmbrio/classes/privacy/provider.php
(#29) Class Provider is not documented
(#33) Function Provider::get_metadata is not documented
(#17) File-level phpdocs block does not have @copyright tag
enrol/mmbrio/db/access.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#18) Package enrol_mmrb is not valid
enrol/mmbrio/db/events.php
(#16) No one-line description found in phpdocs for file
enrol/mmbrio/db/upgrade.php
(#16) No one-line description found in phpdocs for file
enrol/mmbrio/edit.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#19) Package Enrol_Mmbr.Io is not valid
(#18) Category Api_Calls is not valid
enrol/mmbrio/enrol.php
(#17) No one-line description found in phpdocs for file
enrol/mmbrio/forms/edit_form.php
(#30) Class enrol_mmbrio_edit_form is not documented
(#17) No one-line description found in phpdocs for file
(#80) Phpdocs for function enrol_mmbrio_edit_form::validation has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
enrol/mmbrio/forms/instance_form.php
(#31) Class enrol_mmbrio_instance_form is not documented
(#35) Function enrol_mmbrio_instance_form::definition is not documented
(#33) Variable enrol_mmbrio_instance_form::$instances is not documented
(#33) Variable enrol_mmbrio_instance_form::$courseid is not documented
(#17) File-level phpdocs block does not have @copyright tag
enrol/mmbrio/forms/payment_form.php
(#31) Class enrol_mmbrio_payment_form is not documented
(#33) Variable enrol_mmbrio_payment_form::$instance is not documented
(#34) Variable enrol_mmbrio_payment_form::$moodle is not documented
(#35) Variable enrol_mmbrio_payment_form::$price is not documented
(#36) Variable enrol_mmbrio_payment_form::$email is not documented
(#37) Variable enrol_mmbrio_payment_form::$frequency is not documented
(#38) Variable enrol_mmbrio_payment_form::$currency is not documented
(#39) Variable enrol_mmbrio_payment_form::$courseid is not documented
(#40) Variable enrol_mmbrio_payment_form::$studentid is not documented
(#41) Variable enrol_mmbrio_payment_form::$mmbrkey is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#19) Package Enrol_mmbrio is not valid
(#18) Category Api_Calls is not valid
enrol/mmbrio/lib.php
(#472) Function enrol_mmbrio_plugin::confirm_enrolment is not documented
(#550) Function enrol_mmbrio_plugin::get_development_env is not documented
(#16) No one-line description found in phpdocs for file
(#403) Phpdocs for function enrol_mmbrio_plugin::enrol_get_instances has incomplete parameters list
(#453) Phpdocs for function enrol_mmbrio_plugin::get_enrolment_options has incomplete parameters list
(#27) Class enrol_mmbrio_plugin does not have @copyright tag
(#27) Class enrol_mmbrio_plugin does not have @license tag
(#282) Invalid phpdocs tag @redirect used
enrol/mmbrio/settings.php
(#16) No one-line description found in phpdocs for file
enrol/mmbrio/version.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#18) Category Version is not valid

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

(1 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]

enrol/mmbrio/amd/build/mmbrio_calls.min.js
Uncommitted change detected.

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]