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

(19 errors, 13 warnings)

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

question/format/csv/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#43) There must not be a space before the colon in a return type declaration
(#46) File must end with a newline character
question/format/csv/format.php
(#56) Expected 2 spaces before asterisk; 1 found
(#57) Expected 2 spaces before asterisk; 1 found
(#58) Expected 2 spaces before asterisk; 1 found
(#59) Expected 2 spaces before asterisk; 1 found
(#60) Expected 2 spaces before asterisk; 1 found
(#61) Expected 2 spaces before asterisk; 1 found
(#62) Expected 2 spaces before asterisk; 1 found
(#64) Missing docblock for class qformat_csv
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) No one-line description found in phpdocs for docblock of function provide_import
(#74) No one-line description found in phpdocs for docblock of function provide_export
(#82) No one-line description found in phpdocs for docblock of function export_file_extension
(#108) Short array syntax must be used to define arrays
(#235) Short array syntax must be used to define arrays
(#238) Short array syntax must be used to define arrays
(#349) Closing brace must be on a line by itself
(#353) Whitespace found at end of line
question/format/csv/lang/en/qformat_csv.php
(#28) The string key "commma_error" is not in the correct order, it should be before "pluginname_link"
(#30) The string key "csv_file_error" is not in the correct order, it should be before "newline_error"
(#32) The string key "privacy:metadata" is not in the correct order, it should be before "samplefile"
question/format/csv/sample.php
(#26) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Short array syntax must be used to define arrays
(#38) There should be a comma after the last array item in a multi-line array.
(#40) Short array syntax must be used to define arrays
(#47) There should be a comma after the last array item in a multi-line array.
(#49) Short array syntax must be used to define arrays
(#56) There should be a comma after the last array item in a multi-line array.
(#64) Missing docblock for function qformat_csv_download

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

(4 errors, 0 warnings)

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

question/format/csv/format.php
(#101) Phpdocs for function qformat_csv::readquestions has incomplete parameters list
(#249) Phpdocs for function qformat_csv::readquestion has incomplete parameters list
(#261) Phpdocs for function qformat_csv::presave_process has incomplete parameters list
(#275) Phpdocs for function qformat_csv::writequestion 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]