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

(83 errors, 14 warnings)

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

local/quickregister/classes/link_generator_form.php
(#30) "require_once" must be immediately followed by an open parenthesis
(#31) "require_once" must be immediately followed by an open parenthesis
(#32) "require_once" must be immediately followed by an open parenthesis
(#47) Line exceeds 132 characters; contains 135 characters
(#69) Variable "default_country" must not contain underscores.
(#70) Variable "default_country" must not contain underscores.
(#74) Variable "local_installed_plugins" must not contain underscores.
(#75) Variable "local_installed_plugins" must not contain underscores.
(#79) "require_once" must be immediately followed by an open parenthesis
(#82) Variable "campaigns_options" must not contain underscores.
(#83) Variable "campaigns_options" must not contain underscores.
(#89) Line exceeds 132 characters; contains 163 characters
local/quickregister/classes/link_generator_result_form.php
(#30) "require_once" must be immediately followed by an open parenthesis
(#31) "require_once" must be immediately followed by an open parenthesis
(#32) "require_once" must be immediately followed by an open parenthesis
(#42) Line exceeds 132 characters; contains 140 characters
(#45) Line exceeds maximum limit of 180 characters; contains 296 characters
(#47) Line exceeds 132 characters; contains 159 characters
(#50) Line exceeds maximum limit of 180 characters; contains 298 characters
local/quickregister/classes/observer.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) Variable "config_campaigns" must not contain underscores.
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Variable "config_campaigns" must not contain underscores.
(#40) "require_once" must be immediately followed by an open parenthesis
(#42) Variable "config_campaigns" must not contain underscores.
(#42) Variable "config_campaigns" must not contain underscores.
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Variable "config_campaigns" must not contain underscores.
(#45) Variable "config_campaigns" must not contain underscores.
(#45) Line exceeds 132 characters; contains 144 characters
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Variable "user_info_data" must not contain underscores.
(#61) Variable "config_campaigns" must not contain underscores.
(#63) Variable "user_info_data" must not contain underscores.
(#64) Variable "user_info_data" must not contain underscores.
local/quickregister/classes/privacy/provider.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/quickregister/db/events.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#8) File must end with a newline character
local/quickregister/lib.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#53) Variable "subscription_data" must not contain underscores.
(#54) Variable "subscription_signature" must not contain underscores.
(#55) Variable "subscription_ts" must not contain underscores.
(#57) Variable "subscription_data" must not contain underscores.
(#57) Variable "subscription_signature" must not contain underscores.
(#57) Variable "subscription_ts" must not contain underscores.
(#59) Variable "link_validity_period" must not contain underscores.
(#60) Variable "subscription_data" must not contain underscores.
(#60) Variable "subscription_ts" must not contain underscores.
(#61) Variable "subscription_ts" must not contain underscores.
(#61) Variable "link_validity_period" must not contain underscores.
(#61) Variable "subscription_signature" must not contain underscores.
(#64) Variable "subscription_data" must not contain underscores.
(#64) Variable "subscription_data" must not contain underscores.
(#65) Variable "subscription_data" must not contain underscores.
(#68) Variable "subscription_data" must not contain underscores.
(#69) Variable "subscription_data" must not contain underscores.
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Variable "subscription_data" must not contain underscores.
(#93) Variable "subscription_data" must not contain underscores.
(#95) Variable "subscription_data" must not contain underscores.
(#96) Variable "subscription_data" must not contain underscores.
(#98) Variable "subscription_data" must not contain underscores.
(#99) Variable "subscription_data" must not contain underscores.
local/quickregister/link_generator.php
(#24) "require_once" must be immediately followed by an open parenthesis
(#39) Variable "link_generator_form" must not contain underscores.
(#45) Variable "link_generator_form" must not contain underscores.
(#47) Variable "link_generator_form" must not contain underscores.
(#49) Usage of ELSEIF not allowed; use ELSE IF instead
(#49) Variable "link_generator_form_data" must not contain underscores.
(#49) Variable "link_generator_form" must not contain underscores.
(#50) Variable "link_generator_result_form" must not contain underscores.
(#52) Variable "subscription_data_fields" must not contain underscores.
(#54) Variable "subscription_data_fields" must not contain underscores.
(#56) Variable "subscription_data" must not contain underscores.
(#57) Variable "subscription_data_fields" must not contain underscores.
(#58) Variable "subscription_data" must not contain underscores.
(#58) Variable "link_generator_form_data" must not contain underscores.
(#60) Variable "subscription_data" must not contain underscores.
(#60) Variable "subscription_data" must not contain underscores.
(#61) Variable "subscription_ts" must not contain underscores.
(#62) Variable "subscription_signature" must not contain underscores.
(#62) Variable "subscription_data" must not contain underscores.
(#62) Variable "subscription_ts" must not contain underscores.
(#64) Variable "result_url" must not contain underscores.
(#64) Variable "link_generator_form_data" must not contain underscores.
(#64) Line exceeds 132 characters; contains 152 characters
(#66) Variable "link_generator_result_form" must not contain underscores.
(#68) Variable "result_url" must not contain underscores.
(#69) Variable "result_url" must not contain underscores.
(#69) Variable "link_generator_form_data" must not contain underscores.
(#75) Variable "link_generator_result_form" must not contain underscores.
local/quickregister/settings.php
(#39) Line exceeds maximum limit of 180 characters; contains 243 characters
(#40) Line exceeds maximum limit of 180 characters; contains 242 characters
(#64) Line exceeds maximum limit of 180 characters; contains 217 characters
local/quickregister/version.php
(#28) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 4 warnings)

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

local/quickregister/js/local_quickregister.js
(#1) Identifier 'local_quickregister' is not in camel case. (camelcase)
(#3) Unexpected space before function parentheses. (space-before-function-paren)
(#13) Unexpected space before function parentheses. (space-before-function-paren)
(#17) 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

(23 errors, 2 warnings)

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

local/quickregister/classes/link_generator_form.php
(#34) Class link_generator_form is not documented
(#17) No one-line description found in phpdocs for file
(#36) There is no description in phpdocs for function definition
local/quickregister/classes/link_generator_result_form.php
(#34) Class link_generator_result_form is not documented
(#17) No one-line description found in phpdocs for file
(#36) There is no description in phpdocs for function definition
local/quickregister/classes/observer.php
(#2) Empty line found after PHP open tag
(#32) Class observer is not documented
(#34) Function observer::user_created is not documented
(#18) No one-line description found in phpdocs for file
local/quickregister/classes/privacy/provider.php
(#28) Class provider is not documented
(#17) No one-line description found in phpdocs for file
local/quickregister/db/events.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
local/quickregister/lang/en/local_quickregister.php
(#17) No one-line description found in phpdocs for file
local/quickregister/lib.php
(#17) No one-line description found in phpdocs for file
(#28) There is no description in phpdocs for function local_quickregister_encode_subscription_data
(#36) There is no description in phpdocs for function local_quickregister_decode_subscription_data
(#45) There is no description in phpdocs for function local_quickregister_before_http_headers
(#79) There is no description in phpdocs for function local_quickregister_extend_signup_form
(#29) Phpdocs for function local_quickregister_encode_subscription_data has incomplete parameters list
(#37) Phpdocs for function local_quickregister_decode_subscription_data has incomplete parameters list
local/quickregister/link_generator.php
(#17) No one-line description found in phpdocs for file
local/quickregister/settings.php
(#17) No one-line description found in phpdocs for file
local/quickregister/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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 0 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [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]