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

(92 errors, 11 warnings)

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

auth/samlidp/auth.php
(#36) Member variable "simplesamlAutoloadPhp" must be all lower-case
(#57) Perl-style comments are not allowed; use "// Comment." instead
(#58) Perl-style comments are not allowed; use "// Comment." instead
(#65) Perl-style comments are not allowed; use "// Comment." instead
(#69) Whitespace found at end of line
(#80) Variable "sspConfig" must be all lower-case
(#81) Variable "sspAuthsources" must be all lower-case
(#82) Variable "cookieName" must be all lower-case
(#82) Variable "sspAuthsources" must be all lower-case
(#84) Variable "cookieName" must be all lower-case
(#84) Variable "cookieName" must be all lower-case
(#84) Variable "cookieName" must be all lower-case
(#85) Variable "sspConfig" must be all lower-case
(#86) Variable "cookieName" must be all lower-case
(#86) Variable "sspConfig" must be all lower-case
(#107) Whitespace found at end of line
(#111) Perl-style comments are not allowed; use "// Comment." instead
(#113) Perl-style comments are not allowed; use "// Comment." instead
(#127) Variable "sspConfig" must be all lower-case
(#128) Variable "sspAuthsources" must be all lower-case
(#129) Variable "cookieName" must be all lower-case
(#129) Variable "sspAuthsources" must be all lower-case
(#130) Variable "cookieName" must be all lower-case
(#130) Variable "cookieName" must be all lower-case
(#130) Variable "cookieName" must be all lower-case
(#132) Variable "cookieName" must be all lower-case
(#132) Variable "sspConfig" must be all lower-case
(#162) Line exceeds 132 characters; contains 151 characters
(#162) Whitespace found at end of line within string
(#173) Line exceeds maximum limit of 180 characters; contains 186 characters
(#288) Variable "userFields" must be all lower-case
auth/samlidp/logout.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Whitespace found at end of line
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Expected "foreach (...) {\n"; found "foreach(...) {\n"
auth/samlidp/moodle/lib/Auth/Source/External.php
(#25) Perl-style comments are not allowed; use "// Comment." instead
(#37) Perl-style comments are not allowed; use "// Comment." instead
(#39) Expected MOODLE_INTERNAL check or config.php inclusion
(#49) Line exceeds 132 characters; contains 170 characters
(#49) Perl-style comments are not allowed; use "// Comment." instead
(#51) Variable "ssp_config" must not contain underscores.
(#52) Variable "ssp_config" must not contain underscores.
(#53) Variable "ssp_config" must not contain underscores.
(#60) Perl-style comments are not allowed; use "// Comment." instead
(#64) Perl-style comments are not allowed; use "// Comment." instead
(#66) Variable "state_id" must not contain underscores.
(#67) Variable "return_to" must not contain underscores.
(#67) Variable "state_id" must not contain underscores.
(#67) Commas (,) must be followed by white space.
(#68) Variable "auth_page" must not contain underscores.
(#68) Variable "return_to" must not contain underscores.
(#69) Variable "auth_page" must not contain underscores.
(#69) Variable "return_to" must not contain underscores.
(#77) Variable "state_id" must not contain underscores.
(#79) Variable "state_id" must not contain underscores.
(#81) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#90) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#94) Whitespace found at end of line
(#96) Perl-style comments are not allowed; use "// Comment." instead
(#99) Private method name "sspmod_moodle_Auth_Source_External::getUser" must be in lower-case letters only
(#102) Variable "str_cookie" must not contain underscores.
(#103) Line exceeds 132 characters; contains 150 characters
(#103) Perl-style comments are not allowed; use "// Comment." instead
(#104) Perl-style comments are not allowed; use "// Comment." instead
(#105) Variable "arr_cookie" must not contain underscores.
(#105) Variable "str_cookie" must not contain underscores.
(#107) Variable "arr_cookie" must not contain underscores.
(#107) Variable "arr_cookie" must not contain underscores.
(#107) Whitespace found at end of line
(#108) Variable "arr_cookie" must not contain underscores.
(#108) Variable "arr_cookie" must not contain underscores.
(#108) Whitespace found at end of line
(#110) Perl-style comments are not allowed; use "// Comment." instead
(#111) Variable "arr_cookie" must not contain underscores.
(#111) Variable "arr_cookie" must not contain underscores.
(#112) Variable "arr_cookie" must not contain underscores.
(#119) Perl-style comments are not allowed; use "// Comment." instead
(#125) Perl-style comments are not allowed; use "// Comment." instead
(#136) Perl-style comments are not allowed; use "// Comment." instead
(#138) Perl-style comments are not allowed; use "// Comment." instead
(#139) Perl-style comments are not allowed; use "// Comment." instead
(#144) Perl-style comments are not allowed; use "// Comment." instead
(#151) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#153) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#157) Spaces must be used to indent lines; tabs are not allowed
(#157) Tab found within whitespace
(#157) Line indented incorrectly; expected 8 spaces, found 2
(#158) Spaces must be used to indent lines; tabs are not allowed
(#158) Tab found within whitespace
(#158) Line indented incorrectly; expected at least 12 spaces, found 3
(#159) Spaces must be used to indent lines; tabs are not allowed
(#159) Tab found within whitespace
(#159) Line indented incorrectly; expected 8 spaces, found 2
(#166) Variable "logout_url" must not contain underscores.
(#168) Variable "logout_url" must not contain underscores.
(#171) Variable "logout_url" must not contain underscores.
auth/samlidp/moodle/www/resume.php
(#24) 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 csslint [More info]


PHPDocs style problems

(13 errors, 1 warnings)

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

auth/samlidp/auth.php
(#31) Class auth_plugin_samlidp is not documented
(#36) Variable auth_plugin_samlidp::$simplesamlAutoloadPhp is not documented
(#33) Constant auth_plugin_samlidp::COMPONENT_NAME is not documented
(#34) Constant auth_plugin_samlidp::AUTH_COOKIE_DEFAULT is not documented
(#51) Phpdocs for function auth_plugin_samlidp::loginpage_hook has incomplete parameters list
auth/samlidp/logout.php
(#2) Empty line found after PHP open tag
auth/samlidp/moodle/lib/Auth/Source/External.php
(#39) Class sspmod_moodle_Auth_Source_External is not documented
(#43) Function sspmod_moodle_Auth_Source_External::__construct is not documented
(#57) Function sspmod_moodle_Auth_Source_External::authenticate is not documented
(#73) Function sspmod_moodle_Auth_Source_External::resume is not documented
(#99) Function sspmod_moodle_Auth_Source_External::getUser is not documented
(#156) Function sspmod_moodle_Auth_Source_External::logout is not documented
(#41) Variable sspmod_moodle_Auth_Source_External::$config is not documented
(#40) Constant sspmod_moodle_Auth_Source_External::STATE_IDENT is not documented

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]