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

(10 errors, 25 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
local/customcleanurl/classes/handler/customcleanurl_handler.php
(#41) 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"
(#36) The string key "add_new_url" is not in the correct order, it should be before "invalidsesskey"
(#38) The string key "forbiddenpage" is not in the correct order, it should be before "list_custom_url"
(#40) The string key "errorpage404" is not in the correct order, it should be before "pagenotfound"
(#41) The string key "cachedef_clean_url" is not in the correct order, it should be before "errorpage404"
(#44) The string key "delete_data_heading" is not in the correct order, it should be before "invalidcustomparam"
(#45) The string key "delete_conform_text" is not in the correct order, it should be before "delete_data_heading"
(#49) The string key "fail_customcleanurlroutecheck" is not in the correct order, it should be before "pass_customcleanurlroutecheck"
(#50) The string key "course_url" is not in the correct order, it should be before "fail_customcleanurlroutecheck"
(#52) The string key "define_custom_url" is not in the correct order, it should be before "user_url"
(#53) The string key "cleanurl_options_desc" is not in the correct order, it should be before "define_custom_url"
(#74) The string key "clean_url_type" is not in the correct order, it should be before "cleanurl_options_desc"
(#78) The string key "default_url" is not in the correct order, it should be before "sn"
(#80) The string key "custom_url" is not in the correct order, it should be before "default_url_help"
(#83) The string key "error_default_url" is not in the correct order, it should be before "error_default_url_adminurl"
(#86) The string key "error_default_url_not_originalurl" is not in the correct order, it should be before "error_default_url_path"
(#87) The string key "error_custom_url_is_default" is not in the correct order, it should be before "error_default_url_not_originalurl"
(#89) The string key "error_custom_exist" is not in the correct order, it should be before "error_custom_url_path"
(#93) The string key "edit_custom_url_title" is not in the correct order, it should be before "error_customurlparam"
(#94) The string key "data_saved" is not in the correct order, it should be before "edit_custom_url_title"
(#96) The string key "data_saved_error" is not in the correct order, it should be before "data_updated"
(#98) 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

Javascript coding style problems

(0 errors, 12 warnings)

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

local/customcleanurl/amd/src/customcleanurl.js
(#25) Unexpected space before function parentheses. (space-before-function-paren)
(#27) Unexpected space before function parentheses. (space-before-function-paren)
(#28) Unexpected space before function parentheses. (space-before-function-paren)
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#32) Identifier 'data_title' is not in camel case. (camelcase)
(#33) Identifier 'data_title' is not in camel case. (camelcase)
(#33) Identifier 'data_title' is not in camel case. (camelcase)
(#33) Identifier 'data_title' is not in camel case. (camelcase)
(#36) There should be no space after '{'. (@babel/object-curly-spacing)
(#36) Identifier 'data_title' is not in camel case. (camelcase)
(#36) There should be no space before '}'. (@babel/object-curly-spacing)
(#39) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(3 errors, 0 warnings)

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

local/customcleanurl/classes/customcleanurl.php
(#91) Phpdocs for function customcleanurl::get_base_href has incomplete parameters list
(#107) Phpdocs for function customcleanurl::get_replacestate_script has incomplete parameters list
(#122) Phpdocs for function customcleanurl::get_anchor_fix_javascript has incomplete parameters list

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, 1 warnings)

This section shows problems detected in mustache templates [More info]

local/customcleanurl/templates/404.mustache
(#1) Example context missing.

Gherkin .feature problems

(0 errors, 0 warnings)

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