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

(26 errors, 15 warnings)

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

user/profile/field/multiselect/define.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#39) Opening brace should be on the same line as the declaration
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) 3 slashes comments are not allowed; use "// Comment." instead
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) 3 slashes comments are not allowed; use "// Comment." instead
(#58) Opening brace should be on the same line as the declaration
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) 3 slashes comments are not allowed; use "// Comment." instead
(#66) Usage of ELSEIF not allowed; use ELSE IF instead
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Line indented incorrectly; expected at least 12 spaces, found 8
(#69) 3 slashes comments are not allowed; use "// Comment." instead
(#70) Usage of ELSEIF not allowed; use ELSE IF instead
(#86) Opening brace should be on the same line as the declaration
user/profile/field/multiselect/field.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#42) Opening brace should be on the same line as the declaration
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) No space found before comment text; expected "// first call parent constructor" but found "//first call parent constructor"
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) 3 slashes comments are not allowed; use "// Comment." instead
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) No space found before comment text; expected "// multilang formatting" but found "//multilang formatting"
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) 3 slashes comments are not allowed; use "// Comment." instead
(#74) Opening brace should be on the same line as the declaration
(#84) Opening brace should be on the same line as the declaration
(#102) Opening brace should be on the same line as the declaration
(#103) Inline comments must start with a capital letter, digit or 3-dots sequence
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) This comment is 82% valid code; is this commented out code?
(#103) No space found before comment text; expected "// print "<pre>";print_r($data);die;" but found "//print "<pre>";print_r($data);die;"
(#126) Opening brace should be on the same line as the declaration
(#136) Opening brace should be on the same line as the declaration
(#155) Opening brace should be on the same line as the declaration
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
user/profile/field/multiselect/lang/en/profilefield_multiselect.php
(#2) The opening <?php tag must be followed by exactly one newline.
user/profile/field/multiselect/version.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) 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

(17 errors, 4 warnings)

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

user/profile/field/multiselect/define.class.php
(#2) Empty line found after PHP open tag
(#40) Found comment starting with three or more slashes
(#44) Found comment starting with three or more slashes
(#63) Found comment starting with three or more slashes
(#69) Found comment starting with three or more slashes
(#25) Package is not specified for class profile_define_multiselect. It is also not specified in file-level phpdocs
user/profile/field/multiselect/field.class.php
(#2) Empty line found after PHP open tag
(#33) Variable profile_field_multiselect::$options is not documented
(#34) Variable profile_field_multiselect::$datakey is not documented
(#45) Found comment starting with three or more slashes
(#57) Found comment starting with three or more slashes
(#36) Phpdocs for function profile_field_multiselect::__construct has incomplete parameters list
(#71) Phpdocs for function profile_field_multiselect::edit_field_add has incomplete parameters list
(#79) Phpdocs for function profile_field_multiselect::edit_field_set_default has incomplete parameters list
(#123) Phpdocs for function profile_field_multiselect::edit_load_user_data has incomplete parameters list
(#133) Phpdocs for function profile_field_multiselect::edit_field_set_locked has incomplete parameters list
(#25) Package is not specified for class profile_field_multiselect. It is also not specified in file-level phpdocs
user/profile/field/multiselect/lang/en/profilefield_multiselect.php
(#2) Empty line found after PHP open tag
(#21) Package profilefield_menu is not valid
user/profile/field/multiselect/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]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]