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

(21 errors, 18 warnings)

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

local/campaign/classes/admin_setting_campaigns.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#26) "require_once" must be immediately followed by an open parenthesis
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Variable "sanitized_values" must not contain underscores.
(#62) Variable "sanitized_values" must not contain underscores.
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Variable "old_value" must not contain underscores.
(#67) Variable "sanitized_old_values" must not contain underscores.
(#68) Variable "old_value" must not contain underscores.
(#71) Variable "sanitized_old_values" must not contain underscores.
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Variable "sanitized_values" must not contain underscores.
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Variable "sanitized_old_values" must not contain underscores.
(#79) Variable "sanitized_values" must not contain underscores.
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
local/campaign/db/install.php
(#26) "require_once" must be immediately followed by an open parenthesis
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) This comment is 58% valid code; is this commented out code?
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
local/campaign/lib.php
(#59) Variable "profile_campaigns" must not contain underscores.
(#60) Variable "config_campaigns" must not contain underscores.
(#62) Variable "profile_campaigns" must not contain underscores.
(#62) Variable "config_campaigns" must not contain underscores.
(#63) Variable "profile_campaigns" must not contain underscores.
(#67) Variable "user_info_data" must not contain underscores.
(#68) Variable "profile_campaigns" must not contain underscores.
(#75) Variable "user_info_data" must not contain underscores.
(#76) Variable "user_info_data" must not contain underscores.
local/campaign/version.php
(#28) 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

(16 errors, 0 warnings)

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

local/campaign/classes/admin_setting_campaigns.php
(#28) Class admin_setting_campaigns is not documented
(#17) No one-line description found in phpdocs for file
(#30) There is no description in phpdocs for function validate
(#45) There is no description in phpdocs for function config_write
(#31) Phpdocs for function admin_setting_campaigns::validate has incomplete parameters list
local/campaign/classes/privacy/provider.php
(#28) Class provider is not documented
(#17) No one-line description found in phpdocs for file
local/campaign/db/install.php
(#17) No one-line description found in phpdocs for file
(#28) There is no description in phpdocs for function xmldb_local_campaign_install
local/campaign/lang/en/local_campaign.php
(#17) No one-line description found in phpdocs for file
local/campaign/lib.php
(#17) No one-line description found in phpdocs for file
(#24) There is no description in phpdocs for function local_campaign_split_lines
(#32) There is no description in phpdocs for function local_campaign_before_http_headers
(#25) Phpdocs for function local_campaign_split_lines has incomplete parameters list
local/campaign/settings.php
(#17) No one-line description found in phpdocs for file
local/campaign/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]


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]