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

(149 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
(#33) Expected MOODLE_INTERNAL check or config.php inclusion
(#253) Expected 1 space before "=>"; 0 found
enrol/lmb/lang/en/enrol_lmb.php
(#163) 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
(#579) Expected 1 space before "/"; 0 found
(#579) Expected 1 space after "/"; 0 found
(#579) Expected 1 space before "*"; 0 found
(#579) Expected 1 space after "*"; 0 found
(#579) Expected 1 space before "/"; 0 found
(#579) Expected 1 space after "/"; 0 found
(#646) Expected 1 space before "-"; 0 found
(#646) Expected 1 space after "-"; 0 found
(#738) Expected 1 space before "/"; 0 found
(#738) Expected 1 space after "/"; 0 found
(#738) Expected 1 space before "*"; 0 found
(#738) Expected 1 space after "*"; 0 found
(#738) Expected 1 space before "/"; 0 found
(#738) Expected 1 space after "/"; 0 found
(#1120) Variable "existing_xlists" must not contain underscores.
(#1121) Variable "existing_xlists" must not contain underscores.
(#1121) Variable "existing_xlist" must not contain underscores.
(#1122) Variable "existing_type" must not contain underscores.
(#1123) Variable "existing_type" must not contain underscores.
(#1123) Variable "existing_xlist" must not contain underscores.
(#1130) Variable "existing_type" must not contain underscores.
(#1130) Variable "existing_xlist" must not contain underscores.
(#1135) Variable "existing_type" must not contain underscores.
(#1135) Variable "existing_type" must not contain underscores.
(#1136) Variable "existing_type" must not contain underscores.
(#1137) Variable "existing_type" must not contain underscores.
(#1243) Expected 1 space before "/"; 0 found
(#1243) Expected 1 space after "/"; 0 found
(#1243) Expected 1 space before "*"; 0 found
(#1243) Expected 1 space after "*"; 0 found
(#1243) Expected 1 space before "/"; 0 found
(#1243) Expected 1 space after "/"; 0 found
(#1295) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1303) Whitespace found at end of line
(#1676) Expected 1 space before "=="; 0 found
(#1676) Expected 1 space after "=="; 0 found
(#1682) Expected 1 space before "=="; 0 found
(#1682) Expected 1 space after "=="; 0 found
(#2064) This comment is 43% valid code; is this commented out code?
(#2310) Expected 1 space before "=="; 0 found
(#2310) Expected 1 space after "=="; 0 found
(#2469) Expected 1 space before "/"; 0 found
(#2469) Expected 1 space after "/"; 0 found
(#2479) Expected 1 space before "/"; 0 found
(#2479) Expected 1 space after "/"; 0 found
(#2543) Expected 1 space before "/"; 0 found
(#2543) Expected 1 space after "/"; 0 found
(#2543) Expected 1 space before "*"; 0 found
(#2543) Expected 1 space after "*"; 0 found
(#2570) Expected 1 space before "/"; 0 found
(#2570) Expected 1 space after "/"; 0 found
(#2570) Expected 1 space before "*"; 0 found
(#2570) Expected 1 space after "*"; 0 found
(#2690) Line exceeds 132 characters; contains 142 characters
(#2795) Line exceeds 132 characters; contains 155 characters
(#3003) 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.
(#40) Whitespace found at end of line
(#42) Whitespace found at end of line
(#47) Whitespace found at end of line
(#49) Whitespace found at end of line
(#54) Variable "valid_response" must not contain underscores.
(#55) Whitespace found at end of line
(#56) Variable "valid_response" must not contain underscores.
(#61) Whitespace found at end of line
(#68) Whitespace found at end of line
(#73) Whitespace found at end of line
(#75) Whitespace found at end of line
(#78) Whitespace found at end of line
enrol/lmb/secure/xmlservice.php
(#19) Whitespace found at end of line
(#27) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#56) Whitespace found at end of line
(#58) Whitespace found at end of line
(#63) Whitespace found at end of line
(#65) Whitespace found at end of line
(#70) Variable "valid_response" must not contain underscores.
(#71) Whitespace found at end of line
(#72) Variable "valid_response" must not contain underscores.
(#77) Whitespace found at end of line
(#84) Whitespace found at end of line
(#89) Whitespace found at end of line
(#91) Whitespace found at end of line
(#94) Whitespace found at end of line
enrol/lmb/settings.php
(#38) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Log Setins.)
(#62) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (LMB Security.)
(#76) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (LMB StausCheck.)
(#98) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Baner ExtcImpo.)
(#125) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Cron Optis.)
(#142) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Parse Cou.)
(#209) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Parse XLS.)
(#243) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Parse on.)
(#355) Comment separators are not allowed to contain other chars buy hyphens (-). Found: (Parse Enolmt.)
(#368) Expected 1 space before "=>"; 0 found
(#368) Expected 1 space after "=>"; 0 found
(#369) Expected 1 space before "=>"; 0 found
(#369) Expected 1 space after "=>"; 0 found
(#370) Expected 1 space before "=>"; 0 found
(#370) Expected 1 space after "=>"; 0 found
(#371) Expected 1 space before "=>"; 0 found
(#371) Expected 1 space after "=>"; 0 found
(#372) Expected 1 space before "=>"; 0 found
(#372) Expected 1 space after "=>"; 0 found
(#376) Expected 1 space before "=>"; 0 found
(#376) Expected 1 space after "=>"; 0 found
(#377) Expected 1 space before "=>"; 0 found
(#377) Expected 1 space after "=>"; 0 found
(#378) Expected 1 space before "=>"; 0 found
(#378) Expected 1 space after "=>"; 0 found
(#379) Expected 1 space before "=>"; 0 found
(#379) Expected 1 space after "=>"; 0 found
(#380) Expected 1 space before "=>"; 0 found
(#380) 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
(#53) Function enrol_lmb_get_crosslist_children is not documented
(#64) Function enrol_lmb_check_enrolled_in_xls_merged is not documented
(#89) Function enrol_lmb_get_crosslist_groupid is not documented
(#109) Function enrol_lmb_create_crosslist_group is not documented
(#396) 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
(#2660) 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
(#996) Phpdocs for function enrol_lmb_plugin::process_crosslist_membership_tag has incomplete parameters list
(#1011) Phpdocs for function enrol_lmb_plugin::process_crosslist_membership_tag_error has incomplete parameters list
(#1542) Phpdocs for function enrol_lmb_plugin::process_person_tag has incomplete parameters list
(#2104) Phpdocs for function enrol_lmb_plugin::process_term_tag has incomplete parameters list
(#2199) Phpdocs for function enrol_lmb_plugin::process_membership_tag_error has incomplete parameters list
(#2220) Phpdocs for function enrol_lmb_plugin::process_person_membership_tag has incomplete parameters list
(#2376) Phpdocs for function enrol_lmb_plugin::process_properties_tag has incomplete parameters list
(#2892) 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
(#88) 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
(#104) 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]