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

(141 errors, 32 warnings)

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

public/admin/tool/customfields_exportimport/classes/local/export/customfield_exporter.php
(#30) Opening brace must not be followed by a blank line
public/admin/tool/customfields_exportimport/classes/local/export/exporter_field_interface.php
(#27) Opening brace must not be followed by a blank line
public/admin/tool/customfields_exportimport/classes/local/export/field_exporter.php
(#29) Opening brace must not be followed by a blank line
public/admin/tool/customfields_exportimport/classes/local/export/profile_field_exporter.php
(#30) Opening brace must not be followed by a blank line
public/admin/tool/customfields_exportimport/classes/local/import/customfield_importer.php
(#32) Opening brace must not be followed by a blank line
(#103) Blank line found at start of control structure
(#107) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#108) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#109) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#110) Multi-line function call not indented correctly; expected 20 spaces but found 24
public/admin/tool/customfields_exportimport/classes/local/import/field_importer.php
(#29) Opening brace must not be followed by a blank line
public/admin/tool/customfields_exportimport/classes/local/import/profile_field_importer.php
(#33) Opening brace must not be followed by a blank line
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Variable "category_id" must not contain underscores.
(#81) Variable "category_id" must not contain underscores.
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Expected at least 1 space before "."; 0 found
(#85) Expected at least 1 space after "."; 0 found
(#92) Variable "category_id" must not contain underscores.
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Expected at least 1 space before "."; 0 found
(#95) Expected at least 1 space after "."; 0 found
(#98) Blank line found at start of control structure
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Variable "category_id" must not contain underscores.
(#106) Variable "category_id" must not contain underscores.
(#152) Variable "error_detail" must not contain underscores.
(#153) Variable "error_detail" must not contain underscores.
(#159) Function closing brace must go on the next line following the body; found 1 blank lines before brace
public/admin/tool/customfields_exportimport/classes/local/migration/migration_manager.php
(#33) Opening brace must not be followed by a blank line
(#40) Member variable "migrations_dir" must not contain underscores.
(#48) Variable "migrations_dir" must not contain underscores.
(#51) Variable "migrations_dir" must not contain underscores.
(#52) Variable "migrations_dir" must not contain underscores.
(#55) Variable "migrations_dir" must not contain underscores.
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) Variable "all_migrations" must not contain underscores.
(#104) Variable "all_migrations" must not contain underscores.
(#106) Variable "file_hash" must not contain underscores.
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Variable "file_hash" must not contain underscores.
(#119) Variable "file_hash" must not contain underscores.
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Variable "file_hash" must not contain underscores.
(#139) Variable "migration_name" must not contain underscores.
(#141) Variable "migration_name" must not contain underscores.
(#155) Variable "migration_name" must not contain underscores.
(#156) Variable "migration_hash" must not contain underscores.
(#157) Variable "migration_type" must not contain underscores.
(#159) Variable "error_message" must not contain underscores.
(#163) Variable "migration_name" must not contain underscores.
(#165) Variable "migration_record" must not contain underscores.
(#166) Variable "migration_record" must not contain underscores.
(#166) Variable "migration_name" must not contain underscores.
(#167) Variable "migration_record" must not contain underscores.
(#167) Variable "migration_hash" must not contain underscores.
(#168) Variable "migration_record" must not contain underscores.
(#168) Variable "migration_type" must not contain underscores.
(#169) Variable "migration_record" must not contain underscores.
(#170) Variable "migration_record" must not contain underscores.
(#171) Variable "migration_record" must not contain underscores.
(#171) Variable "error_message" must not contain underscores.
(#174) Inline comments must end in full-stops, exclamation marks, or question marks
(#175) Variable "migration_record" must not contain underscores.
(#177) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) Variable "migration_record" must not contain underscores.
(#179) Variable "migration_record" must not contain underscores.
(#218) Variable "all_migrations" must not contain underscores.
(#219) Variable "pending_migrations" must not contain underscores.
(#224) Variable "all_migrations" must not contain underscores.
(#226) Variable "pending_migrations" must not contain underscores.
public/admin/tool/customfields_exportimport/classes/privacy/provider.php
(#37) Opening brace must not be followed by a blank line
public/admin/tool/customfields_exportimport/cli/export.php
(#31) Long list syntax is not allowed
(#32) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#39) Multi-line function call not indented correctly; expected 4 spaces but found 8
public/admin/tool/customfields_exportimport/cli/import.php
(#37) Long list syntax is not allowed
(#38) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#44) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#65) Variable "is_dryrun" must not contain underscores.
(#66) Variable "is_auto" must not contain underscores.
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Variable "is_auto" must not contain underscores.
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Variable "migration_manager" must not contain underscores.
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Variable "migration_manager" must not contain underscores.
(#81) Variable "migration_manager" must not contain underscores.
(#89) Variable "applied_count" must not contain underscores.
(#90) Variable "failed_count" must not contain underscores.
(#94) Variable "status_label" must not contain underscores.
(#96) Variable "is_dryrun" must not contain underscores.
(#97) Variable "status_label" must not contain underscores.
(#101) Variable "status_label" must not contain underscores.
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) Variable "migration_type" must not contain underscores.
(#113) Variable "migration_manager" must not contain underscores.
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) Variable "migration_manager" must not contain underscores.
(#123) Variable "migration_type" must not contain underscores.
(#128) Variable "applied_count" must not contain underscores.
(#129) Blank line found at end of control structure
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) Variable "migration_type" must not contain underscores.
(#136) Variable "migration_manager" must not contain underscores.
(#137) Variable "migration_manager" must not contain underscores.
(#140) Variable "migration_type" must not contain underscores.
(#144) Variable "tracking_error" must not contain underscores.
(#145) Variable "tracking_error" must not contain underscores.
(#148) Variable "failed_count" must not contain underscores.
(#154) Variable "is_dryrun" must not contain underscores.
(#157) Variable "migration_manager" must not contain underscores.
(#159) Variable "applied_count" must not contain underscores.
(#160) Variable "failed_count" must not contain underscores.
(#165) Variable "failed_count" must not contain underscores.
(#166) Blank line found at end of control structure
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#195) Variable "migration_manager" must not contain underscores.
(#196) Variable "migration_type" must not contain underscores.
(#196) Variable "migration_manager" must not contain underscores.
(#197) Variable "migration_manager" must not contain underscores.
(#200) Variable "migration_type" must not contain underscores.
public/admin/tool/customfields_exportimport/db/upgrade.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#52) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
public/admin/tool/customfields_exportimport/import.php
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
(#52) Blank line found at start of control structure
(#84) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#85) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#86) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#87) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#89) Blank line found at end of control structure
public/admin/tool/customfields_exportimport/import_form.php
(#42) Opening brace must not be followed by a blank line
(#62) The closing brace for the class must go on the next line after the body
public/admin/tool/customfields_exportimport/index.php
(#28) Expected at least 1 space before "."; 0 found
(#28) Expected at least 1 space after "."; 0 found
(#114) Blank line found at start of control structure
(#193) Expected 1 blank line at end of file; 5 found
public/admin/tool/customfields_exportimport/lang/en/tool_customfields_exportimport.php
(#91) The string key "invaliddatatype" is not in the correct order, it should be before "type"
(#94) Unexpected comment found. Auto-fixing will not work after this comment
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) The string key "migration_applied" is not in the correct order, it should be before "typefortable"
(#98) The string key "migration_new" is not in the correct order, it should be before "migration_skipped"
(#99) The string key "migration_modified" is not in the correct order, it should be before "migration_new"
(#100) The string key "filenotfound" is not in the correct order, it should be before "migration_modified"
(#101) The string key "invalidjson" is duplicated
(#103) The string key "categoryduplicate" is not in the correct order, it should be before "missingtype"
(#104) Expected 1 blank line at end of file; 2 found
public/admin/tool/customfields_exportimport/lang/fr/tool_customfields_exportimport.php
(#91) The string key "invaliddatatype" is not in the correct order, it should be before "type"
(#92) Expected 1 blank line at end of file; 5 found
public/admin/tool/customfields_exportimport/process_export.php
(#28) Expected at least 1 space before "."; 0 found
(#28) Expected at least 1 space after "."; 0 found
public/admin/tool/customfields_exportimport/settings.php
(#31) Opening parenthesis of a multi-line function call must be the last content on the line
(#32) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#32) Closing parenthesis of a multi-line function call must be on a line by itself
(#34) Opening parenthesis of a multi-line function call must be the last content on the line
(#35) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#36) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#37) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#38) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#42) Opening parenthesis of a multi-line function call must be the last content on the line
(#43) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#44) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#45) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#46) Multi-line function call not indented correctly; expected 12 spaces but found 16

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

(0 errors, 0 warnings)

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


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]