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

(125 errors, 19 warnings)

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

enrol/lmb/cli/fileprocess.php
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#45) Expected 1 space after "="; newline found
enrol/lmb/cli/folderprocess.php
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#45) Expected 1 space after "="; newline found
enrol/lmb/db/upgrade.php
(#38) Expected MOODLE_INTERNAL check or config.php inclusion
(#470) Variable "config_bad" must not contain underscores.
(#472) Variable "config_bad" must not contain underscores.
(#686) Variable "config_bad" must not contain underscores.
(#688) Variable "config_bad" must not contain underscores.
(#874) Line exceeds 132 characters; contains 145 characters
enrol/lmb/enrollib.php
(#37) Expected MOODLE_INTERNAL check or config.php inclusion
(#257) Expected 1 space before "=>"; 0 found
(#763) Variable "valid_response" must not contain underscores.
(#765) Variable "valid_response" must not contain underscores.
enrol/lmb/lang/en/enrol_lmb.php
(#210) Expected 1 space after "="; 0 found
enrol/lmb/lib.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#84) Expected 1 space before "*"; 0 found
(#84) Expected 1 space after "*"; 0 found
(#91) Expected 1 space before "*"; 0 found
(#91) Expected 1 space after "*"; 0 found
(#177) This comment is 50% valid code; is this commented out code?
(#244) Expected 1 space before "/"; 0 found
(#244) Expected 1 space after "/"; 0 found
(#244) Expected 1 space before "*"; 0 found
(#244) Expected 1 space after "*"; 0 found
(#389) Expected 1 space before "==="; 0 found
(#389) Expected 1 space after "==="; 0 found
(#406) Opening brace must be the last content on the line
(#596) Expected 1 space before "/"; 0 found
(#596) Expected 1 space after "/"; 0 found
(#596) Expected 1 space before "*"; 0 found
(#596) Expected 1 space after "*"; 0 found
(#596) Expected 1 space before "/"; 0 found
(#596) Expected 1 space after "/"; 0 found
(#663) Expected 1 space before "-"; 0 found
(#663) Expected 1 space after "-"; 0 found
(#746) Expected 1 space before "/"; 0 found
(#746) Expected 1 space after "/"; 0 found
(#746) Expected 1 space before "*"; 0 found
(#746) Expected 1 space after "*"; 0 found
(#746) Expected 1 space before "/"; 0 found
(#746) Expected 1 space after "/"; 0 found
(#1165) Variable "existing_xlists" must not contain underscores.
(#1166) Variable "existing_xlists" must not contain underscores.
(#1166) Variable "existing_xlist" must not contain underscores.
(#1167) Variable "existing_type" must not contain underscores.
(#1168) Variable "existing_type" must not contain underscores.
(#1168) Variable "existing_xlist" must not contain underscores.
(#1175) Variable "existing_type" must not contain underscores.
(#1175) Variable "existing_xlist" must not contain underscores.
(#1180) Variable "existing_type" must not contain underscores.
(#1180) Variable "existing_type" must not contain underscores.
(#1181) Variable "existing_type" must not contain underscores.
(#1182) Variable "existing_type" must not contain underscores.
(#1290) Expected 1 space before "/"; 0 found
(#1290) Expected 1 space after "/"; 0 found
(#1290) Expected 1 space before "*"; 0 found
(#1290) Expected 1 space after "*"; 0 found
(#1290) Expected 1 space before "/"; 0 found
(#1290) Expected 1 space after "/"; 0 found
(#1343) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1740) Expected 1 space before "=="; 0 found
(#1740) Expected 1 space after "=="; 0 found
(#1746) Expected 1 space before "=="; 0 found
(#1746) Expected 1 space after "=="; 0 found
(#2410) Expected 1 space before "=="; 0 found
(#2410) Expected 1 space after "=="; 0 found
(#2569) Expected 1 space before "/"; 0 found
(#2569) Expected 1 space after "/"; 0 found
(#2579) Expected 1 space before "/"; 0 found
(#2579) Expected 1 space after "/"; 0 found
(#2643) Expected 1 space before "/"; 0 found
(#2643) Expected 1 space after "/"; 0 found
(#2643) Expected 1 space before "*"; 0 found
(#2643) Expected 1 space after "*"; 0 found
(#2670) Expected 1 space before "/"; 0 found
(#2670) Expected 1 space after "/"; 0 found
(#2670) Expected 1 space before "*"; 0 found
(#2670) Expected 1 space after "*"; 0 found
(#2790) Line exceeds 132 characters; contains 142 characters
(#2895) Line exceeds 132 characters; contains 155 characters
(#3103) This comment is 60% valid code; is this commented out code?
enrol/lmb/secure/index.php
(#1) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
enrol/lmb/secure/liveimport.php
(#27) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
enrol/lmb/secure/xmlservice.php
(#27) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
enrol/lmb/settings.php
(#39) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Log Setins.)
(#63) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (LMB Security.)
(#89) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (LMB StausCheck.)
(#111) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Baner ExtcImpo.)
(#138) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Cron Optis.)
(#154) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Term Filts.)
(#169) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Parse Cou.)
(#236) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Parse XLS.)
(#270) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Parse on.)
(#391) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Parse Enolmt.)
(#404) Expected 1 space before "=>"; 0 found
(#404) Expected 1 space after "=>"; 0 found
(#405) Expected 1 space before "=>"; 0 found
(#405) Expected 1 space after "=>"; 0 found
(#406) Expected 1 space before "=>"; 0 found
(#406) Expected 1 space after "=>"; 0 found
(#407) Expected 1 space before "=>"; 0 found
(#407) Expected 1 space after "=>"; 0 found
(#408) Expected 1 space before "=>"; 0 found
(#408) Expected 1 space after "=>"; 0 found
(#412) Expected 1 space before "=>"; 0 found
(#412) Expected 1 space after "=>"; 0 found
(#413) Expected 1 space before "=>"; 0 found
(#413) Expected 1 space after "=>"; 0 found
(#414) Expected 1 space before "=>"; 0 found
(#414) Expected 1 space after "=>"; 0 found
(#415) Expected 1 space before "=>"; 0 found
(#415) Expected 1 space after "=>"; 0 found
(#416) Expected 1 space before "=>"; 0 found
(#416) Expected 1 space after "=>"; 0 found
enrol/lmb/tools/prunelmbtables.php
(#38) Expected 1 space before "-"; 0 found
(#38) Expected 1 space after "-"; 0 found
(#38) Expected 1 space before "*"; 0 found
(#38) Expected 1 space after "*"; 0 found
(#38) Expected 1 space before "*"; 0 found
(#38) Expected 1 space after "*"; 0 found
(#38) Expected 1 space before "*"; 0 found
(#38) Expected 1 space after "*"; 0 found
enrol/lmb/version.php
(#18) 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

(64 errors, 0 warnings)

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

enrol/lmb/cli/fileprocess.php
(#17) File-level phpdocs block does not have @copyright tag
(#22) Package enrol-lmb Based on enrol_imsenterprise from Dan Stowell. is not valid
enrol/lmb/cli/folderprocess.php
(#17) File-level phpdocs block does not have @copyright tag
(#22) Package enrol-lmb Based on enrol_imsenterprise from Dan Stowell. is not valid
enrol/lmb/db/access.php
(#20) Package enrol_manual is not valid
enrol/lmb/db/upgrade.php
(#38) File-level phpdocs block is not found
(#38) Function xmldb_enrol_lmb_upgrade is not documented
(#38) Package is not specified for function xmldb_enrol_lmb_upgrade. It is also not specified in file-level phpdocs
enrol/lmb/enrollib.php
(#57) Function enrol_lmb_get_crosslist_children is not documented
(#68) Function enrol_lmb_check_enrolled_in_xls_merged is not documented
(#93) Function enrol_lmb_get_crosslist_groupid is not documented
(#113) Function enrol_lmb_create_crosslist_group is not documented
(#400) Function enrol_lmb_get_course_ids is not documented
(#483) Function enrol_lmb_backfill_end_dates is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#22) Package enrol-lmb Based on enrol_imsenterprise from Dan Stowell. is not valid
enrol/lmb/importnow.php
(#17) File-level phpdocs block is not found
enrol/lmb/lang/en/enrol_lmb.php
(#17) File-level phpdocs block is not found
enrol/lmb/lib.php
(#34) Class enrol_lmb_plugin is not documented
(#51) Function enrol_lmb_plugin::__construct is not documented
(#102) Function enrol_lmb_plugin::unhide_courses is not documented
(#2760) Function enrol_lmb_plugin::process_enrolment_log is not documented
(#3123) Function enrol_lmb_plugin::can_hide_show_instance is not documented
(#36) Variable enrol_lmb_plugin::$log is not documented
(#38) Variable enrol_lmb_plugin::$silent is not documented
(#39) Variable enrol_lmb_plugin::$islmb is not documented
(#41) Variable enrol_lmb_plugin::$processid is not documented
(#42) Variable enrol_lmb_plugin::$terms is not documented
(#44) Variable enrol_lmb_plugin::$customfields is not documented
(#46) Variable enrol_lmb_plugin::$xmlcache is not documented
(#48) Variable enrol_lmb_plugin::$catcache is not documented
(#17) No one-line description found in phpdocs for file
(#186) Phpdocs for function enrol_lmb_plugin::process_file has incomplete parameters list
(#300) Phpdocs for function enrol_lmb_plugin::process_folder has incomplete parameters list
(#432) Phpdocs for function enrol_lmb_plugin::process_group_tag has incomplete parameters list
(#458) Phpdocs for function enrol_lmb_plugin::process_course_section_tag has incomplete parameters list
(#1033) Phpdocs for function enrol_lmb_plugin::process_crosslist_membership_tag has incomplete parameters list
(#1048) Phpdocs for function enrol_lmb_plugin::process_crosslist_membership_tag_error has incomplete parameters list
(#1599) Phpdocs for function enrol_lmb_plugin::process_person_tag has incomplete parameters list
(#2189) Phpdocs for function enrol_lmb_plugin::process_term_tag has incomplete parameters list
(#2292) Phpdocs for function enrol_lmb_plugin::process_membership_tag_error has incomplete parameters list
(#2313) Phpdocs for function enrol_lmb_plugin::process_person_membership_tag has incomplete parameters list
(#2476) Phpdocs for function enrol_lmb_plugin::process_properties_tag has incomplete parameters list
(#2992) Phpdocs for function enrol_lmb_plugin::update_custom_mapping has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#24) Package enrol-lmb Based on enrol_imsenterprise from Dan Stowell. is not valid
enrol/lmb/secure/index.php
(#) File-level phpdocs block is not found
enrol/lmb/secure/liveimport.php
(#41) Function getallheaders is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#24) Package enrol_lmb Based on enrol_imsenterprise from Dan Stowell. is not valid
enrol/lmb/secure/xmlservice.php
(#57) Function getallheaders is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#24) Package enrol_lmb Based on enrol_imsenterprise from Dan Stowell. is not valid
enrol/lmb/settings.php
(#17) File-level phpdocs block is not found
enrol/lmb/tools/backfillenddates.php
(#17) File-level phpdocs block is not found
enrol/lmb/tools/cleanxlsdrops.php
(#17) File-level phpdocs block is not found
enrol/lmb/tools/extractprocess.php
(#17) File-level phpdocs block is not found
enrol/lmb/tools/index.php
(#17) File-level phpdocs block is not found
enrol/lmb/tools/lmbstatus.php
(#17) File-level phpdocs block is not found
enrol/lmb/tools/prunelmbtables.php
(#17) File-level phpdocs block is not found
enrol/lmb/tools/reprocessenrolments.php
(#19) File-level phpdocs block is not found
enrol/lmb/version.php
(#18) 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]