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

(13 errors, 27 warnings)

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

auth/oidc/auth.php
(#43) Variable "STATEADDITIONALDATA" must be all lower-case
(#46) Variable "STATEADDITIONALDATA" must be all lower-case
(#46) Variable "STATEADDITIONALDATA" must be all lower-case
(#47) Variable "STATEADDITIONALDATA" must be all lower-case
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
auth/oidc/classes/event/action_failed.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
auth/oidc/classes/event/user_authed.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
auth/oidc/classes/event/user_connected.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
auth/oidc/classes/event/user_created.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
auth/oidc/classes/event/user_disconnected.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
auth/oidc/classes/event/user_loggedin.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
auth/oidc/classes/form/adminsetting/iconselect.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
(#90) Line exceeds 132 characters; contains 150 characters
auth/oidc/classes/form/adminsetting/loginflow.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
auth/oidc/classes/form/adminsetting/redirecturi.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
auth/oidc/classes/httpclient.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
auth/oidc/classes/httpclientinterface.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
auth/oidc/classes/jwt.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
auth/oidc/classes/loginflow/authcode.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
(#142) Variable "STATEADDITIONALDATA" must be all lower-case
(#172) Variable "STATEADDITIONALDATA" must be all lower-case
auth/oidc/classes/loginflow/base.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
(#199) Line exceeds 132 characters; contains 139 characters
(#231) Line exceeds 132 characters; contains 133 characters
auth/oidc/classes/loginflow/rocreds.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
(#118) The use of function error_log() is forbidden
auth/oidc/classes/observers.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
auth/oidc/classes/oidcclient.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
auth/oidc/classes/tests/mockhttpclient.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
auth/oidc/classes/tests/mockoidcclient.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
(#39) Possible useless method overriding detected
auth/oidc/classes/utils.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
(#104) The use of function print_r() is forbidden
(#106) The use of function print_r() is forbidden
auth/oidc/db/events.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
auth/oidc/db/upgrade.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
auth/oidc/index.php
(#24) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
auth/oidc/lib.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion
auth/oidc/settings.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, 2 warnings)

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

auth/oidc/classes/form/adminsetting/iconselect.css
(#2) Use of !important
(#3) Use of !important

PHPDocs style problems

(125 errors, 2 warnings)

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

auth/oidc/auth.php
(#17) No one-line description found in phpdocs for file
(#39) Phpdocs for function auth_plugin_oidc::__construct has incomplete parameters list
(#80) Phpdocs for function auth_plugin_oidc::set_httpclient has incomplete parameters list
(#111) Phpdocs for function auth_plugin_oidc::disconnect has incomplete parameters list
(#29) Class auth_plugin_oidc does not have @copyright tag
(#29) Class auth_plugin_oidc does not have @license tag
(#90) Not recommended phpdocs tag @global used
(#90) Not recommended phpdocs tag @global used
auth/oidc/classes/event/action_failed.php
(#17) No one-line description found in phpdocs for file
(#26) Class action_failed does not have @copyright tag
(#26) Class action_failed does not have @license tag
auth/oidc/classes/event/user_authed.php
(#17) No one-line description found in phpdocs for file
(#26) Class user_authed does not have @copyright tag
(#26) Class user_authed does not have @license tag
auth/oidc/classes/event/user_connected.php
(#17) No one-line description found in phpdocs for file
(#26) Class user_connected does not have @copyright tag
(#26) Class user_connected does not have @license tag
auth/oidc/classes/event/user_created.php
(#17) No one-line description found in phpdocs for file
(#26) Class user_created does not have @copyright tag
(#26) Class user_created does not have @license tag
auth/oidc/classes/event/user_disconnected.php
(#17) No one-line description found in phpdocs for file
(#26) Class user_disconnected does not have @copyright tag
(#26) Class user_disconnected does not have @license tag
auth/oidc/classes/event/user_loggedin.php
(#17) No one-line description found in phpdocs for file
(#26) Class user_loggedin does not have @copyright tag
(#26) Class user_loggedin does not have @license tag
auth/oidc/classes/form/adminsetting/iconselect.php
(#17) No one-line description found in phpdocs for file
(#26) Class iconselect does not have @copyright tag
(#26) Class iconselect does not have @license tag
auth/oidc/classes/form/adminsetting/loginflow.php
(#17) No one-line description found in phpdocs for file
(#26) Class loginflow does not have @copyright tag
(#26) Class loginflow does not have @license tag
auth/oidc/classes/form/adminsetting/redirecturi.php
(#17) No one-line description found in phpdocs for file
(#34) Phpdocs for function redirecturi::__construct has incomplete parameters list
(#63) Phpdocs for function redirecturi::write_setting has incomplete parameters list
(#72) Phpdocs for function redirecturi::output_html has incomplete parameters list
(#26) Class redirecturi does not have @copyright tag
(#26) Class redirecturi does not have @license tag
auth/oidc/classes/form/disconnect.php
(#17) No one-line description found in phpdocs for file
(#30) Class disconnect does not have @copyright tag
(#30) Class disconnect does not have @license tag
auth/oidc/classes/httpclient.php
(#17) No one-line description found in phpdocs for file
(#28) Class httpclient does not have @copyright tag
(#28) Class httpclient does not have @license tag
auth/oidc/classes/httpclientinterface.php
(#17) No one-line description found in phpdocs for file
auth/oidc/classes/jwt.php
(#17) No one-line description found in phpdocs for file
(#26) Class jwt does not have @copyright tag
(#26) Class jwt does not have @license tag
auth/oidc/classes/loginflow/authcode.php
(#17) No one-line description found in phpdocs for file
(#337) Phpdocs for function authcode::check_for_matched has incomplete parameters list
(#26) Class authcode does not have @copyright tag
(#26) Class authcode does not have @license tag
auth/oidc/classes/loginflow/base.php
(#26) Class base is not documented
(#33) Function base::__construct is not documented
(#17) No one-line description found in phpdocs for file
(#78) Phpdocs for function base::loginpage_hook has incomplete parameters list
(#143) Phpdocs for function base::set_httpclient has incomplete parameters list
(#152) Phpdocs for function base::disconnect has incomplete parameters list
auth/oidc/classes/loginflow/rocreds.php
(#17) No one-line description found in phpdocs for file
(#32) Phpdocs for function rocreds::check_objects has incomplete parameters list
(#55) Phpdocs for function rocreds::loginpage_hook has incomplete parameters list
(#26) Class rocreds does not have @copyright tag
(#26) Class rocreds does not have @license tag
auth/oidc/classes/observers.php
(#17) No one-line description found in phpdocs for file
(#28) Class observers does not have @copyright tag
(#28) Class observers does not have @license tag
auth/oidc/classes/oidcclient.php
(#118) Function oidcclient::get_endpoint is not documented
(#17) No one-line description found in phpdocs for file
(#57) Phpdocs for function oidcclient::setcreds has incomplete parameters list
(#159) Phpdocs for function oidcclient::getnewstate has incomplete parameters list
(#234) Phpdocs for function oidcclient::tokenrequest has incomplete parameters list
(#26) Class oidcclient does not have @copyright tag
(#26) Class oidcclient does not have @license tag
auth/oidc/classes/tests/mockhttpclient.php
(#17) No one-line description found in phpdocs for file
(#26) Class mockhttpclient does not have @copyright tag
(#26) Class mockhttpclient does not have @license tag
auth/oidc/classes/tests/mockoidcclient.php
(#17) No one-line description found in phpdocs for file
(#36) Phpdocs for function mockoidcclient::getnewstate has incomplete parameters list
(#26) Class mockoidcclient does not have @copyright tag
(#26) Class mockoidcclient does not have @license tag
auth/oidc/classes/utils.php
(#17) No one-line description found in phpdocs for file
(#34) Phpdocs for function utils::process_json_response has incomplete parameters list
(#113) Phpdocs for function utils::debug has incomplete parameters list
(#26) Class utils does not have @copyright tag
(#26) Class utils does not have @license tag
auth/oidc/db/access.php
(#17) No one-line description found in phpdocs for file
auth/oidc/db/events.php
(#17) No one-line description found in phpdocs for file
auth/oidc/db/upgrade.php
(#17) No one-line description found in phpdocs for file
auth/oidc/index.php
(#17) No one-line description found in phpdocs for file
auth/oidc/lang/cs/auth_oidc.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
auth/oidc/lang/de/auth_oidc.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
auth/oidc/lang/en/auth_oidc.php
(#17) No one-line description found in phpdocs for file
auth/oidc/lang/es/auth_oidc.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
auth/oidc/lang/fi/auth_oidc.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
auth/oidc/lang/fr/auth_oidc.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
auth/oidc/lang/it/auth_oidc.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
auth/oidc/lang/ja/auth_oidc.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
auth/oidc/lang/nl/auth_oidc.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
auth/oidc/lang/pl/auth_oidc.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
auth/oidc/lang/pt_br/auth_oidc.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
auth/oidc/lib.php
(#24) Function auth_oidc_initialize_customicon is not documented
(#17) No one-line description found in phpdocs for file
auth/oidc/settings.php
(#17) No one-line description found in phpdocs for file
auth/oidc/tests/jwt_test.php
(#17) No one-line description found in phpdocs for file
(#109) Phpdocs for function auth_oidc_jwt_testcase::test_decode has incomplete parameters list
(#28) Class auth_oidc_jwt_testcase does not have @copyright tag
(#28) Class auth_oidc_jwt_testcase does not have @license tag
(#31) Invalid phpdocs tag @group used
(#31) Invalid phpdocs tag @group used
auth/oidc/tests/oidcclient_test.php
(#17) No one-line description found in phpdocs for file
(#102) Phpdocs for function auth_oidc_oidcclient_testcase::test_endpoints_getters_and_setters has incomplete parameters list
(#28) Class auth_oidc_oidcclient_testcase does not have @copyright tag
(#28) Class auth_oidc_oidcclient_testcase does not have @license tag
(#31) Invalid phpdocs tag @group used
(#31) Invalid phpdocs tag @group used
auth/oidc/ucp.php
(#17) No one-line description found in phpdocs for file
auth/oidc/version.php
(#17) No one-line description found in phpdocs for file

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]