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

(128 errors, 20 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
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
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
(#211) 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
(#602) Expected 1 space before "/"; 0 found
(#602) Expected 1 space after "/"; 0 found
(#602) Expected 1 space before "*"; 0 found
(#602) Expected 1 space after "*"; 0 found
(#602) Expected 1 space before "/"; 0 found
(#602) Expected 1 space after "/"; 0 found
(#674) Expected 1 space before "-"; 0 found
(#674) Expected 1 space after "-"; 0 found
(#765) Expected 1 space before "/"; 0 found
(#765) Expected 1 space after "/"; 0 found
(#765) Expected 1 space before "*"; 0 found
(#765) Expected 1 space after "*"; 0 found
(#765) Expected 1 space before "/"; 0 found
(#765) Expected 1 space after "/"; 0 found
(#864) Whitespace found at end of line
(#1002) Whitespace found at end of line
(#1208) Variable "existing_xlists" must not contain underscores.
(#1209) Variable "existing_xlists" must not contain underscores.
(#1209) Variable "existing_xlist" must not contain underscores.
(#1210) Variable "existing_type" must not contain underscores.
(#1211) Variable "existing_type" must not contain underscores.
(#1211) Variable "existing_xlist" must not contain underscores.
(#1218) Variable "existing_type" must not contain underscores.
(#1218) Variable "existing_xlist" must not contain underscores.
(#1223) Variable "existing_type" must not contain underscores.
(#1223) Variable "existing_type" must not contain underscores.
(#1224) Variable "existing_type" must not contain underscores.
(#1225) Variable "existing_type" must not contain underscores.
(#1342) Expected 1 space before "/"; 0 found
(#1342) Expected 1 space after "/"; 0 found
(#1342) Expected 1 space before "*"; 0 found
(#1342) Expected 1 space after "*"; 0 found
(#1342) Expected 1 space before "/"; 0 found
(#1342) Expected 1 space after "/"; 0 found
(#1395) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1399) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1786) Expected 1 space before "=="; 0 found
(#1786) Expected 1 space after "=="; 0 found
(#1792) Expected 1 space before "=="; 0 found
(#1792) Expected 1 space after "=="; 0 found
(#2456) Expected 1 space before "=="; 0 found
(#2456) Expected 1 space after "=="; 0 found
(#2615) Expected 1 space before "/"; 0 found
(#2615) Expected 1 space after "/"; 0 found
(#2625) Expected 1 space before "/"; 0 found
(#2625) Expected 1 space after "/"; 0 found
(#2689) Expected 1 space before "/"; 0 found
(#2689) Expected 1 space after "/"; 0 found
(#2689) Expected 1 space before "*"; 0 found
(#2689) Expected 1 space after "*"; 0 found
(#2716) Expected 1 space before "/"; 0 found
(#2716) Expected 1 space after "/"; 0 found
(#2716) Expected 1 space before "*"; 0 found
(#2716) Expected 1 space after "*"; 0 found
(#2836) Line exceeds 132 characters; contains 142 characters
(#2941) Line exceeds 132 characters; contains 155 characters
(#3149) 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, require_admin, admin_externalpage_setup) following config inclusion. None found.
enrol/lmb/secure/xmlservice.php
(#27) Expected login check (require_login, require_course_login, require_admin, 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.)
(#206) Whitespace found at end of line
(#210) Inline comments must end in full-stops, exclamation marks, or question marks
(#215) Whitespace found at end of line
(#246) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Parse XLS.)
(#280) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Parse on.)
(#401) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Parse Enolmt.)
(#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
(#417) Expected 1 space before "=>"; 0 found
(#417) Expected 1 space after "=>"; 0 found
(#418) Expected 1 space before "=>"; 0 found
(#418) Expected 1 space after "=>"; 0 found
(#422) Expected 1 space before "=>"; 0 found
(#422) Expected 1 space after "=>"; 0 found
(#423) Expected 1 space before "=>"; 0 found
(#423) Expected 1 space after "=>"; 0 found
(#424) Expected 1 space before "=>"; 0 found
(#424) Expected 1 space after "=>"; 0 found
(#425) Expected 1 space before "=>"; 0 found
(#425) Expected 1 space after "=>"; 0 found
(#426) Expected 1 space before "=>"; 0 found
(#426) 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
(#22) Package enrol-lmb Based on enrol_imsenterprise from Dan Stowell. is not valid
(#17) File-level phpdocs block does not have @copyright tag
enrol/lmb/cli/folderprocess.php
(#22) Package enrol-lmb Based on enrol_imsenterprise from Dan Stowell. is not valid
(#17) File-level phpdocs block does not have @copyright tag
enrol/lmb/db/access.php
(#20) Package enrol_manual is not valid
enrol/lmb/db/upgrade.php
(#38) Package is not specified for function xmldb_enrol_lmb_upgrade. It is also not specified in file-level phpdocs
(#38) File-level phpdocs block is not found
(#38) Function xmldb_enrol_lmb_upgrade is not documented
enrol/lmb/enrollib.php
(#22) Package enrol-lmb Based on enrol_imsenterprise from Dan Stowell. is not valid
(#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
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
(#24) Package enrol-lmb Based on enrol_imsenterprise from Dan Stowell. is not valid
(#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
(#2806) Function enrol_lmb_plugin::process_enrolment_log is not documented
(#3169) 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
(#1076) Phpdocs for function enrol_lmb_plugin::process_crosslist_membership_tag has incomplete parameters list
(#1091) Phpdocs for function enrol_lmb_plugin::process_crosslist_membership_tag_error has incomplete parameters list
(#1645) Phpdocs for function enrol_lmb_plugin::process_person_tag has incomplete parameters list
(#2235) Phpdocs for function enrol_lmb_plugin::process_term_tag has incomplete parameters list
(#2338) Phpdocs for function enrol_lmb_plugin::process_membership_tag_error has incomplete parameters list
(#2359) Phpdocs for function enrol_lmb_plugin::process_person_membership_tag has incomplete parameters list
(#2522) Phpdocs for function enrol_lmb_plugin::process_properties_tag has incomplete parameters list
(#3038) Phpdocs for function enrol_lmb_plugin::update_custom_mapping has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
enrol/lmb/secure/index.php
(#) File-level phpdocs block is not found
enrol/lmb/secure/liveimport.php
(#24) Package enrol_lmb Based on enrol_imsenterprise from Dan Stowell. is not valid
(#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
enrol/lmb/secure/xmlservice.php
(#24) Package enrol_lmb Based on enrol_imsenterprise from Dan Stowell. is not valid
(#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
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]