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

(22 errors, 6 warnings)

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

user/profile/field/timestamp/classes/privacy/provider.php
(#21) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
user/profile/field/timestamp/define.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) Opening brace should be on the same line as the declaration for class profile_define_timestamp
(#31) Visibility must be declared on method "define_form_specific"
(#32) Opening brace should be on the same line as the declaration
(#43) Visibility must be declared on method "define_save_preprocess"
(#44) Opening brace should be on the same line as the declaration
user/profile/field/timestamp/field.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#35) Visibility must be declared on method "display_data"
(#36) Opening brace should be on the same line as the declaration
(#37) Expected 1 space before "?"; 0 found
(#40) Expected 1 space before ":"; 0 found
(#49) Visibility must be declared on method "edit_field_add"
(#50) Opening brace should be on the same line as the declaration
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) 3 slashes comments are not allowed; use "// Comment." instead
(#61) Expected 1 space before "-"; 0 found
(#61) Expected 1 space after "-"; 0 found
(#62) Expected 1 space before "+"; 0 found
(#62) Expected 1 space after "+"; 0 found
user/profile/field/timestamp/lang/ca/profilefield_timestamp.php
(#2) The opening <?php tag must be followed by exactly one newline.
user/profile/field/timestamp/lang/en/profilefield_timestamp.php
(#2) The opening <?php tag must be followed by exactly one newline.
user/profile/field/timestamp/lang/es/profilefield_timestamp.php
(#2) The opening <?php tag must be followed by exactly one newline.
user/profile/field/timestamp/version.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) 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

(5 errors, 6 warnings)

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

user/profile/field/timestamp/classes/privacy/provider.php
(#23) Package is not specified for class provider. It is also not specified in file-level phpdocs
(#23) Class provider is not documented
user/profile/field/timestamp/define.class.php
(#2) Empty line found after PHP open tag
user/profile/field/timestamp/field.class.php
(#2) Empty line found after PHP open tag
(#58) Found comment starting with three or more slashes
(#18) No one-line description found in phpdocs for class profile_field_timestamp
user/profile/field/timestamp/lang/ca/profilefield_timestamp.php
(#2) Empty line found after PHP open tag
user/profile/field/timestamp/lang/en/profilefield_timestamp.php
(#2) Empty line found after PHP open tag
user/profile/field/timestamp/lang/es/profilefield_timestamp.php
(#2) Empty line found after PHP open tag
user/profile/field/timestamp/version.php
(#2) Empty line found after PHP open tag
(#18) 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]