Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(61 errors, 27 warnings)

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

filter/moddata/classes/privacy/provider.php
(#1) No one-line description found in phpdocs for docblock of file provider.php
(#2) Moodle boilerplate not found at first line
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class provider
(#31) Missing docblock for function get_reason
(#31) There must not be a space before the colon in a return type declaration
filter/moddata/classes/text_filter.php
(#1) No one-line description found in phpdocs for docblock of file text_filter.php
(#26) Missing docblock for class text_filter
(#28) Missing member variable doc comment
(#29) Missing member variable doc comment
(#31) Missing docblock for function filter
(#31) Visibility must be declared on method "filter"
(#31) Short array syntax must be used to define arrays
(#34) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#38) There should be a comma after the last array item in a multi-line array.
(#51) No one-line description found in phpdocs for docblock of function embed_data
(#51) Visibility must be declared on method "embed_data"
(#56) Variable "moddata_name" must not contain underscores.
(#59) Variable "generate_fakedata" must not contain underscores.
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Variable "dataset_recordids" must not contain underscores.
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Variable "item_recordids" must not contain underscores.
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) Variable "moddata_name" must not contain underscores.
(#87) There should be a comma after the last array item in a multi-line array.
(#92) Variable "moddata_name" must not contain underscores.
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) There should be a comma after the last array item in a multi-line array.
(#123) Variable "dataset_fieldid" must not contain underscores.
(#124) Variable "itemname_fieldid" must not contain underscores.
(#125) Variable "itemfield_fieldid" must not contain underscores.
(#128) Variable "dataset_fieldid" must not contain underscores.
(#131) Variable "itemname_fieldid" must not contain underscores.
(#134) Variable "itemfield_fieldid" must not contain underscores.
(#137) Variable "dataset_fieldid" must not contain underscores.
(#137) Variable "itemname_fieldid" must not contain underscores.
(#137) Variable "itemfield_fieldid" must not contain underscores.
(#150) Variable "dataset_recordids" must not contain underscores.
(#153) Variable "dataset_fieldid" must not contain underscores.
(#154) There should be a comma after the last array item in a multi-line array.
(#160) Variable "dataset_recordids" must not contain underscores.
(#162) Variable "dataset_recordids" must not contain underscores.
(#171) Variable "itemname_fieldid" must not contain underscores.
(#172) There should be a comma after the last array item in a multi-line array.
(#184) Variable "item_recordids" must not contain underscores.
(#186) Variable "item_recordids" must not contain underscores.
(#193) Variable "dataset_recordids" must not contain underscores.
(#193) Variable "item_recordids" must not contain underscores.
(#208) There should be a comma after the last array item in a multi-line array.
(#208) Variable "itemfield_fieldid" must not contain underscores.
(#219) Variable "generate_fakedata" must not contain underscores.
(#222) Variable "generate_fakedata" must not contain underscores.
(#232) Inline comments must end in full-stops, exclamation marks, or question marks
(#234) Line exceeds 132 characters; contains 145 characters
(#259) Expected 1 space before "/"; 0 found
(#259) Expected 1 space after "/"; 0 found
(#268) Line exceeds 132 characters; contains 149 characters
(#268) Inline comments must end in full-stops, exclamation marks, or question marks
(#272) Line exceeds 132 characters; contains 157 characters
(#273) Line exceeds 132 characters; contains 148 characters
(#294) No one-line description found in phpdocs for docblock of function get_fakedata
(#296) Inline comments must end in full-stops, exclamation marks, or question marks
(#298) Inline comments must end in full-stops, exclamation marks, or question marks
(#306) Inline comments must end in full-stops, exclamation marks, or question marks
(#306) No space found before comment text; expected "// Making sure we don't get the same number twice in a row" but found "//Making sure we don't get the same number twice in a row"
(#324) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#329) Expected "} else {\n"; found "}\n else {\n"
filter/moddata/filterlocalsettings.php
(#1) No one-line description found in phpdocs for docblock of file filterlocalsettings.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#26) Missing docblock for class moddata_filter_local_settings_form
(#27) Missing docblock for function definition_inner
filter/moddata/lang/en/filter_moddata.php
(#1) No one-line description found in phpdocs for docblock of file filter_moddata.php
(#25) The string key "databasenotfound" is not in the correct order, it should be before "filtername"
(#25) The use of backticks in strings is not recommended
(#27) The use of backticks in strings is not recommended
(#28) The string key "datasetrecordsnotfound" is not in the correct order, it should be before "requiredfieldsnotfound"
(#28) The use of backticks in strings is not recommended
(#29) The use of backticks in strings is not recommended
(#30) The use of backticks in strings is not recommended
(#31) The string key "couldnotgenfakedata" is not in the correct order, it should be before "toomanyrecordsfound"
(#33) The string key "debugenabled" is not in the correct order, it should be before "naorzero"
(#34) Unexpected string end, it should be a line feed after a semicolon
(#34) File must end with a newline character
filter/moddata/version.php
(#1) No one-line description found in phpdocs for docblock of file version.php
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) There should be a comma after the last array item in a multi-line array.

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

(2 errors, 0 warnings)

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

filter/moddata/classes/text_filter.php
(#45) Phpdocs for function text_filter::embed_data has incomplete parameters list
(#289) Phpdocs for function text_filter::get_fakedata has incomplete parameters list

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]