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, 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
(#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
(#736) Variable "valid_response" must not contain underscores.
(#738) Variable "valid_response" must not contain underscores.
enrol/lmb/lang/en/enrol_lmb.php
(#208) Expected 1 space after "="; 0 found
enrol/lmb/lib.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#76) Expected 1 space before "*"; 0 found
(#76) Expected 1 space after "*"; 0 found
(#83) Expected 1 space before "*"; 0 found
(#83) Expected 1 space after "*"; 0 found
(#169) This comment is 50% valid code; is this commented out code?
(#236) Expected 1 space before "/"; 0 found
(#236) Expected 1 space after "/"; 0 found
(#236) Expected 1 space before "*"; 0 found
(#236) Expected 1 space after "*"; 0 found
(#381) Expected 1 space before "==="; 0 found
(#381) Expected 1 space after "==="; 0 found
(#398) Opening brace must be the last content on the line
(#587) Expected 1 space before "/"; 0 found
(#587) Expected 1 space after "/"; 0 found
(#587) Expected 1 space before "*"; 0 found
(#587) Expected 1 space after "*"; 0 found
(#587) Expected 1 space before "/"; 0 found
(#587) Expected 1 space after "/"; 0 found
(#654) Expected 1 space before "-"; 0 found
(#654) 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
(#1136) Variable "existing_xlists" must not contain underscores.
(#1137) Variable "existing_xlists" must not contain underscores.
(#1137) Variable "existing_xlist" must not contain underscores.
(#1138) Variable "existing_type" must not contain underscores.
(#1139) Variable "existing_type" must not contain underscores.
(#1139) Variable "existing_xlist" must not contain underscores.
(#1146) Variable "existing_type" must not contain underscores.
(#1146) Variable "existing_xlist" must not contain underscores.
(#1151) Variable "existing_type" must not contain underscores.
(#1151) Variable "existing_type" must not contain underscores.
(#1152) Variable "existing_type" must not contain underscores.
(#1153) Variable "existing_type" must not contain underscores.
(#1259) Expected 1 space before "/"; 0 found
(#1259) Expected 1 space after "/"; 0 found
(#1259) Expected 1 space before "*"; 0 found
(#1259) Expected 1 space after "*"; 0 found
(#1259) Expected 1 space before "/"; 0 found
(#1259) Expected 1 space after "/"; 0 found
(#1311) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1692) Expected 1 space before "=="; 0 found
(#1692) Expected 1 space after "=="; 0 found
(#1698) Expected 1 space before "=="; 0 found
(#1698) Expected 1 space after "=="; 0 found
(#2105) This comment is 43% valid code; is this commented out code?
(#2366) Expected 1 space before "=="; 0 found
(#2366) Expected 1 space after "=="; 0 found
(#2525) Expected 1 space before "/"; 0 found
(#2525) Expected 1 space after "/"; 0 found
(#2535) Expected 1 space before "/"; 0 found
(#2535) Expected 1 space after "/"; 0 found
(#2599) Expected 1 space before "/"; 0 found
(#2599) Expected 1 space after "/"; 0 found
(#2599) Expected 1 space before "*"; 0 found
(#2599) Expected 1 space after "*"; 0 found
(#2626) Expected 1 space before "/"; 0 found
(#2626) Expected 1 space after "/"; 0 found
(#2626) Expected 1 space before "*"; 0 found
(#2626) Expected 1 space after "*"; 0 found
(#2746) Line exceeds 132 characters; contains 142 characters
(#2851) Line exceeds 132 characters; contains 155 characters
(#3059) 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.)
(#388) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Parse Enolmt.)
(#401) Expected 1 space before "=>"; 0 found
(#401) Expected 1 space after "=>"; 0 found
(#402) Expected 1 space before "=>"; 0 found
(#402) Expected 1 space after "=>"; 0 found
(#403) Expected 1 space before "=>"; 0 found
(#403) Expected 1 space after "=>"; 0 found
(#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
(#409) Expected 1 space before "=>"; 0 found
(#409) Expected 1 space after "=>"; 0 found
(#410) Expected 1 space before "=>"; 0 found
(#410) Expected 1 space after "=>"; 0 found
(#411) Expected 1 space before "=>"; 0 found
(#411) 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
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 jshint [More info]


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(59 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
(#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
(#94) Function enrol_lmb_plugin::unhide_courses is not documented
(#2716) Function enrol_lmb_plugin::process_enrolment_log 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
(#17) No one-line description found in phpdocs for file
(#178) Phpdocs for function enrol_lmb_plugin::process_file has incomplete parameters list
(#292) Phpdocs for function enrol_lmb_plugin::process_folder has incomplete parameters list
(#424) Phpdocs for function enrol_lmb_plugin::process_group_tag has incomplete parameters list
(#450) Phpdocs for function enrol_lmb_plugin::process_course_section_tag has incomplete parameters list
(#1004) Phpdocs for function enrol_lmb_plugin::process_crosslist_membership_tag has incomplete parameters list
(#1019) Phpdocs for function enrol_lmb_plugin::process_crosslist_membership_tag_error has incomplete parameters list
(#1558) Phpdocs for function enrol_lmb_plugin::process_person_tag has incomplete parameters list
(#2145) Phpdocs for function enrol_lmb_plugin::process_term_tag has incomplete parameters list
(#2248) Phpdocs for function enrol_lmb_plugin::process_membership_tag_error has incomplete parameters list
(#2269) Phpdocs for function enrol_lmb_plugin::process_person_membership_tag has incomplete parameters list
(#2432) Phpdocs for function enrol_lmb_plugin::process_properties_tag has incomplete parameters list
(#2948) 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/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]