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

(32 errors, 5 warnings)

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

local/custom_registration/lang/en/local_custom_registration.php
(#2) The opening <?php tag must be followed by exactly one newline.
local/custom_registration/lang/fr/local_custom_registration.php
(#2) The opening <?php tag must be followed by exactly one newline.
local/custom_registration/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Variable "additional_fields" must not contain underscores.
(#95) Variable "additional_fields" must not contain underscores.
(#95) Variable "field_name" must not contain underscores.
(#96) Variable "field_name" must not contain underscores.
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) Variable "field_name" must not contain underscores.
(#99) Variable "field_name" must not contain underscores.
(#99) Line exceeds 132 characters; contains 144 characters
(#101) Variable "field_name" must not contain underscores.
(#101) Variable "field_name" must not contain underscores.
(#103) Variable "field_name" must not contain underscores.
(#106) Variable "field_name" must not contain underscores.
(#106) Line exceeds 132 characters; contains 142 characters
(#109) Variable "field_name" must not contain underscores.
(#110) Variable "field_name" must not contain underscores.
(#132) Variable "added_fields" must not contain underscores.
(#134) Variable "added_fields" must not contain underscores.
(#135) Variable "real_field" must not contain underscores.
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) Variable "real_field" must not contain underscores.
local/custom_registration/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#39) Variable "additional_fields" must not contain underscores.
(#41) Variable "additional_fields" must not contain underscores.
(#41) Variable "field_name" must not contain underscores.
(#43) Variable "field_name" must not contain underscores.
(#44) Variable "field_name" must not contain underscores.
(#49) Variable "field_name" must not contain underscores.
(#50) Variable "field_name" must not contain underscores.
(#51) Variable "field_name" must not contain underscores.
(#56) Variable "field_name" must not contain underscores.
(#57) Variable "field_name" must not contain underscores.
(#58) Variable "field_name" must not contain underscores.
local/custom_registration/version.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

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

(8 errors, 4 warnings)

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

local/custom_registration/lang/en/local_custom_registration.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
local/custom_registration/lang/fr/local_custom_registration.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
local/custom_registration/lib.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#87) Phpdocs for function local_custom_registration_extend_signup_form has incomplete parameters list
(#119) Phpdocs for function local_custom_registration_validate_extend_signup_form has incomplete parameters list
(#129) Phpdocs for function local_custom_registration_post_signup_requests has incomplete parameters list
local/custom_registration/settings.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
local/custom_registration/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]