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

(29 errors, 18 warnings)

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

enrol/saml/classes/admin_setting_configtext_enrol_trim.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion
(#27) Inline comments must start with a capital letter, digit or 3-dots sequence
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) Line indented incorrectly; expected at least 12 spaces, found 8
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Whitespace found at end of line
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
enrol/saml/lib.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion
(#211) Variable "SAML_COURSE_INFO" must be all lower-case
(#211) Variable "SAML_COURSE_INFO" must not contain underscores.
(#219) Variable "SAML_COURSE_INFO" must be all lower-case
(#219) Variable "SAML_COURSE_INFO" must not contain underscores.
(#219) Variable "SAML_COURSE_INFO" must be all lower-case
(#219) Variable "SAML_COURSE_INFO" must not contain underscores.
(#220) Variable "SAML_COURSE_INFO" must be all lower-case
(#220) Variable "SAML_COURSE_INFO" must not contain underscores.
(#225) Variable "SAML_COURSE_INFO" must be all lower-case
(#225) Variable "SAML_COURSE_INFO" must not contain underscores.
(#226) Variable "SAML_COURSE_INFO" must be all lower-case
(#226) Variable "SAML_COURSE_INFO" must not contain underscores.
(#227) Variable "SAML_COURSE_INFO" must be all lower-case
(#227) Variable "SAML_COURSE_INFO" must not contain underscores.
(#229) Variable "SAML_COURSE_INFO" must be all lower-case
(#229) Variable "SAML_COURSE_INFO" must not contain underscores.
(#230) Variable "SAML_COURSE_INFO" must be all lower-case
(#230) Variable "SAML_COURSE_INFO" must not contain underscores.
(#240) Line exceeds 132 characters; contains 133 characters
(#249) Line exceeds 132 characters; contains 165 characters
(#270) Line exceeds maximum limit of 180 characters; contains 186 characters
(#275) Line exceeds 132 characters; contains 179 characters
(#278) Variable "SAML_COURSE_INFO" must be all lower-case
(#278) Variable "SAML_COURSE_INFO" must not contain underscores.
(#278) Line exceeds 132 characters; contains 170 characters
(#289) Line exceeds 132 characters; contains 145 characters
(#292) Variable "SAML_COURSE_INFO" must be all lower-case
(#292) Variable "SAML_COURSE_INFO" must not contain underscores.
(#293) Variable "SAML_COURSE_INFO" must be all lower-case
(#293) Variable "SAML_COURSE_INFO" must not contain underscores.
(#325) Expected 1 space before "?"; 0 found
(#325) Line exceeds 132 characters; contains 144 characters
(#327) Line exceeds 132 characters; contains 142 characters
(#335) Inline comments must end in full-stops, exclamation marks, or question marks
(#339) Line exceeds 132 characters; contains 179 characters
(#345) Line exceeds 132 characters; contains 165 characters
enrol/saml/version.php
(#25) 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

(48 errors, 0 warnings)

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

enrol/saml/classes/admin_setting_configtext_enrol_trim.php
(#17) File-level phpdocs block is not found
(#25) Function admin_setting_configtext_enrol_trim::write_setting is not documented
(#17) Class admin_setting_configtext_enrol_trim does not have @copyright tag
(#20) Package enrol is not valid
enrol/saml/db/access.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package enrol is not valid
enrol/saml/db/install.php
(#27) Function xmldb_enrol_saml_install is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package enrol is not valid
enrol/saml/edit.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#21) Package enrol is not valid
enrol/saml/edit_form.php
(#30) Class enrol_saml_edit_form is not documented
(#32) Function enrol_saml_edit_form::definition is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#21) Package enrol is not valid
enrol/saml/lang/en/enrol_saml.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package enrol is not valid
enrol/saml/lang/es/enrol_saml.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package enrol is not valid
enrol/saml/lang/es_es/enrol_saml.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package enrol is not valid
enrol/saml/lib.php
(#17) File-level phpdocs block is not found
(#49) Function enrol_saml_plugin::roles_protected is not documented
(#54) Function enrol_saml_plugin::allow_unenrol is not documented
(#59) Function enrol_saml_plugin::allow_manage is not documented
(#64) Function enrol_saml_plugin::show_enrolme_link is not documented
(#181) Function enrol_saml_plugin::get_instance is not documented
(#193) Function enrol_saml_plugin::get_or_create_instance is not documented
(#201) Function enrol_saml_plugin::sync_user_enrolments is not documented
(#297) Function enrol_saml_plugin::group_matches_prefixes is not documented
(#312) Function enrol_saml_plugin::assign_group is not documented
(#352) Function enrol_saml_plugin::enrol_saml_log_error is not documented
(#356) Function enrol_saml_plugin::enrol_saml_log_info is not documented
(#360) Function enrol_saml_plugin::enrol_saml_write_in_log is not documented
(#373) Function enrol_saml_plugin::auth_saml_decorate_log is not documented
(#71) Phpdocs for function enrol_saml_plugin::add_course_navigation has incomplete parameters list
(#166) Phpdocs for function enrol_saml_plugin::add_instance has incomplete parameters list
(#17) Class enrol_saml_plugin does not have @copyright tag
(#400) Package is not specified for function enrol_saml_supports. It is also not specified in file-level phpdocs
(#20) Package enrol is not valid
enrol/saml/settings.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package enrol is not valid
enrol/saml/unenrolself.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package enrol is not valid
enrol/saml/version.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package enrol 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

(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]