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

(9 errors, 55 warnings)

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

local/appcrue/autologin.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
local/appcrue/avatar.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
local/appcrue/db/services.php
(#105) Line exceeds 132 characters; contains 137 characters
local/appcrue/externallib.php
(#55) Line exceeds 132 characters; contains 140 characters
(#60) Line exceeds 132 characters; contains 138 characters
(#93) Whitespace found at end of line
(#133) Line exceeds 132 characters; contains 162 characters
(#149) Line exceeds 132 characters; contains 169 characters
(#213) Line exceeds 132 characters; contains 160 characters
local/appcrue/lang/en/local_appcrue.php
(#27) The string key "idpheader" is not in the correct order, it should be before "pluginname"
(#29) The string key "idp_token_url" is not in the correct order, it should be before "idpheader_help"
(#33) The string key "idp_client_id" is not in the correct order, it should be before "idp_url_help"
(#37) The string key "api_key" is not in the correct order, it should be before "idp_client_secret_help"
(#40) The string key "cachedef_sitemaps" is not in the correct order, it should be before "missingtoken"
(#47) The string key "share_course_events" is not in the correct order, it should be before "share_site_events_help"
(#51) The string key "examen_event_type" is not in the correct order, it should be before "share_user_events_help"
(#53) The string key "event_imgdetail" is not in the correct order, it should be before "examen_event_type_help"
(#57) The string key "autologinheader" is not in the correct order, it should be before "privacy:metadata"
(#61) The string key "allow_continue" is not in the correct order, it should be before "enable_autologin_help"
(#63) The string key "allow_continue_help" is not in the correct order, it should be before "continue_not_allowed"
(#66) The string key "match_user_by" is not in the correct order, it should be before "pattern_lib_help"
(#68) The string key "idp_user_json_path" is not in the correct order, it should be before "match_user_by_help"
(#70) The string key "course_pattern" is not in the correct order, it should be before "idp_user_json_path_help"
(#72) The string key "cachedef_sitemap" is not in the correct order, it should be before "course_pattern_help"
(#73) The string key "avatarheader" is not in the correct order, it should be before "cachedef_sitemap"
(#79) The string key "enable_sitemap" is not in the correct order, it should be before "sitemapheader_help"
(#81) The string key "cache_sitemap" is not in the correct order, it should be before "enable_sitemap_help"
(#88) The string key "notify_grade_revdate" is not in the correct order, it should be before "notify_grade_revdate_null"
(#89) The string key "notify_grade_header" is not in the correct order, it should be before "notify_grade_revdate"
(#93) The string key "notify_grade_anyteacher" is not in the correct order, it should be before "notify_grade_sender_help"
local/appcrue/lang/es/local_appcrue.php
(#27) The string key "idpheader" is not in the correct order, it should be before "pluginname"
(#29) The string key "idp_url" is not in the correct order, it should be before "idpheader_help"
(#31) The string key "idp_token_url" is not in the correct order, it should be before "idp_url_help"
(#33) The string key "idp_client_id" is not in the correct order, it should be before "idp_token_url_help"
(#38) The string key "calendarheader" is not in the correct order, it should be before "idp_client_secret_help"
(#44) The string key "share_course_events" is not in the correct order, it should be before "share_site_events_help"
(#48) The string key "examen_event_type" is not in the correct order, it should be before "share_user_events_help"
(#50) The string key "event_imgdetail" is not in the correct order, it should be before "examen_event_type_help"
(#56) The string key "autologinheader" is not in the correct order, it should be before "privacy:metadata"
(#60) The string key "allow_continue" is not in the correct order, it should be before "enable_autologin_help"
(#64) The string key "match_user_by" is not in the correct order, it should be before "pattern_lib_help"
(#66) The string key "idp_user_json_path" is not in the correct order, it should be before "match_user_by_help"
(#68) The string key "course_pattern" is not in the correct order, it should be before "idp_user_json_path_help"
(#71) The string key "avatarheader" is not in the correct order, it should be before "course_pattern_help"
(#77) The string key "enable_sitemap" is not in the correct order, it should be before "sitemapheader_help"
(#79) The string key "cache_sitemap" is not in the correct order, it should be before "enable_sitemap_help"
(#86) The string key "notify_grade_revdate" is not in the correct order, it should be before "notify_grade_revdate_null"
(#87) The string key "notify_grade_header" is not in the correct order, it should be before "notify_grade_revdate"
(#91) The string key "notify_grade_anyteacher" is not in the correct order, it should be before "notify_grade_sender_help"
local/appcrue/locallib.php
(#46) Inline doc block comments are not allowed; use "// Comment." instead
(#58) Inline doc block comments are not allowed; use "// Comment." instead
(#71) Inline doc block type-hinting for '$DB' does not match next code line 'global...'
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) This comment is 50% valid code; is this commented out code?
(#267) Line exceeds 132 characters; contains 152 characters
(#326) Inline doc block type-hinting for '$DB' does not match next code line 'global...'
local/appcrue/settings.php
(#177) This comment is 63% valid code; is this commented out code?
local/appcrue/sitemap.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#29) Inline doc block comments are not allowed; use "// Comment." instead
local/appcrue/usercalendar.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file usercalendar.php
(#24) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.

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

(6 errors, 0 warnings)

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

local/appcrue/locallib.php
(#97) Phpdocs for function local_appcrue_get_token_param has incomplete parameters list
(#115) Phpdocs for function local_appcrue_validate_token has incomplete parameters list
(#228) Phpdocs for function local_appcrue_filter_urls has incomplete parameters list
(#243) Phpdocs for function local_appcrue_get_json_node has incomplete parameters list
(#264) Phpdocs for function local_appcrue_get_target_url has incomplete parameters list
(#265) Inline phpdocs tag not enclosed with curly brackets @see 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]


Gherkin .feature problems

(0 errors, 0 warnings)

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