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

(24 errors, 5 warnings)

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

user/profile/field/timestamp/define.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#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.
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
(#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
(#37) Expected 1 space after "?"; newline found
(#40) Expected 1 space before ":"; 0 found
(#40) Expected 1 space after ":"; newline 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.
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Whitespace found at end of line

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/define.class.php
(#2) Empty line found after PHP open tag
(#18) File-level phpdocs block is not found
user/profile/field/timestamp/field.class.php
(#2) Empty line found after PHP open tag
(#18) File-level phpdocs block is not found
(#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]


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]