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

(20 errors, 28 warnings)

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

local/customcleanurl/classes/customcleanurl.php
(#39) Opening brace must not be followed by a blank line
(#64) Blank line found at start of control structure
local/customcleanurl/classes/form/customcleanurl_form.php
(#42) Opening brace must not be followed by a blank line
(#113) Blank line found at start of control structure
(#138) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#141) Each line in a multi-line control structure must be indented at least once; expected at least 24 spaces, but found 20
(#141) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#176) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#179) Each line in a multi-line control structure must be indented at least once; expected at least 24 spaces, but found 20
(#179) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#198) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#201) Each line in a multi-line control structure must be indented at least once; expected at least 24 spaces, but found 20
(#201) The closing parenthesis of a multi-line control structure must be on the line after the last expression
local/customcleanurl/classes/handler/customcleanurl_handler.php
(#42) Opening brace must not be followed by a blank line
local/customcleanurl/classes/hooks/hook_callbacks.php
(#38) Opening brace must not be followed by a blank line
local/customcleanurl/classes/local/clean_url.php
(#40) Opening brace must not be followed by a blank line
local/customcleanurl/classes/local/helper.php
(#40) Opening brace must not be followed by a blank line
local/customcleanurl/classes/local/htaccess.php
(#37) Opening brace must not be followed by a blank line
local/customcleanurl/classes/privacy/provider.php
(#34) Opening brace must not be followed by a blank line
local/customcleanurl/lang/en/local_customcleanurl.php
(#31) The string key "configtitle" is not in the correct order, it should be before "pluginname_desc"
(#33) The string key "invalidaccess" is not in the correct order, it should be before "privacy:metadata"
(#34) The string key "featureisnotenable" is not in the correct order, it should be before "invalidaccess"
(#37) The string key "add_new_url" is not in the correct order, it should be before "invalidsesskey"
(#39) The string key "forbiddenpage" is not in the correct order, it should be before "list_custom_url"
(#41) The string key "errorpage404" is not in the correct order, it should be before "pagenotfound"
(#42) The string key "cachedef_clean_url" is not in the correct order, it should be before "errorpage404"
(#45) The string key "delete_data_heading" is not in the correct order, it should be before "invalidcustomparam"
(#46) The string key "delete_conform_text" is not in the correct order, it should be before "delete_data_heading"
(#50) The string key "fail_customcleanurlroutecheck" is not in the correct order, it should be before "pass_customcleanurlroutecheck"
(#51) The string key "course_url" is not in the correct order, it should be before "fail_customcleanurlroutecheck"
(#53) The string key "define_custom_url" is not in the correct order, it should be before "user_url"
(#54) The string key "cleanurl_options_desc" is not in the correct order, it should be before "define_custom_url"
(#81) The string key "add_new_url_redirect" is not in the correct order, it should be before "list_custom_urlredirect"
(#83) The string key "clean_url_type" is not in the correct order, it should be before "destination_url"
(#89) The string key "default_url" is not in the correct order, it should be before "sn"
(#91) The string key "custom_url" is not in the correct order, it should be before "default_url_help"
(#93) The string key "custom_url_help" is not in the correct order, it should be before "redirect_url"
(#95) The string key "error_default_url" is not in the correct order, it should be before "error_default_url_adminurl"
(#98) The string key "error_default_url_not_originalurl" is not in the correct order, it should be before "error_default_url_path"
(#99) The string key "error_custom_url_is_default" is not in the correct order, it should be before "error_default_url_not_originalurl"
(#101) The string key "error_custom_exist" is not in the correct order, it should be before "error_custom_url_path"
(#105) The string key "edit_custom_url_title" is not in the correct order, it should be before "error_customurlparam"
(#106) The string key "data_saved" is not in the correct order, it should be before "edit_custom_url_title"
(#108) The string key "data_saved_error" is not in the correct order, it should be before "data_updated"
(#110) The string key "data_delete" is not in the correct order, it should be before "something_went_wrong"
local/customcleanurl/route.php
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
local/customcleanurl/settings.php
(#34) Blank line found at start of control structure
local/customcleanurl/version.php
(#46) Inline comments must end in full-stops, exclamation marks, or question marks

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]