Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(6 errors, 27 warnings)

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

auth/casattras/auth.php
(#28) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
(#46) Expected "bool" but found "boolean" for @var tag in member variable comment
(#63) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#78) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#157) Logical operator "and" is prohibited; use "&&" instead
(#239) Expected 0 spaces after "user_login"; 1 found
(#250) Short array syntax must be used to define arrays
(#276) Short array syntax must be used to define arrays
(#280) Short array syntax must be used to define arrays
auth/casattras/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#46) There must not be a space before the colon in a return type declaration
auth/casattras/db/upgrade.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
auth/casattras/lang/en/auth_casattras.php
(#27) The string key "auth_casattras_auth_logo" is not in the correct order, it should be before "auth_casattras_auth_logo_description"
(#29) The string key "auth_casattras_auth_name" is not in the correct order, it should be before "auth_casattras_auth_name_description"
(#32) The string key "auth_casattras_baseuri" is not in the correct order, it should be before "auth_casattras_baseuri_key"
(#35) The string key "auth_casattras_certificate_check" is not in the correct order, it should be before "auth_casattras_certificate_check_key"
(#37) The string key "auth_casattras_certificate_path_empty" is duplicated
(#39) The string key "auth_casattras_certificate_path" is not in the correct order, it should be before "auth_casattras_certificate_path_key"
(#42) The string key "auth_casattras_hostname" is not in the correct order, it should be before "auth_casattras_hostname_key"
(#44) The string key "auth_casattras_logout_return_url" is not in the correct order, it should be before "auth_casattras_logout_return_url_key"
(#46) The string key "auth_casattras_logoutcas" is not in the correct order, it should be before "auth_casattras_logoutcas_key"
(#48) The string key "auth_casattras_multiauth" is not in the correct order, it should be before "auth_casattras_multiauth_key"
(#50) The string key "auth_casattras_port" is not in the correct order, it should be before "auth_casattras_port_key"
(#52) The string key "auth_casattras_proxycas" is not in the correct order, it should be before "auth_casattras_proxycas_key"
(#61) The string key "convert_authtype" is not in the correct order, it should be before "convert_authtype_none"
auth/casattras/lib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
auth/casattras/settings.php
(#41) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
auth/casattras/version.php
(#1) More than one @package tag found in file version.php.
(#34) Short array syntax must be used to define arrays

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

(0 errors, 0 warnings)

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


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]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]