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

(30 errors, 7 warnings)

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

admin/tool/lpimportcsv/classes/form/export.php
(#54) Whitespace found at end of line
admin/tool/lpimportcsv/classes/framework_exporter.php
(#49) Whitespace found at end of line
(#122) Whitespace found at end of line
admin/tool/lpimportcsv/classes/framework_importer.php
(#44) Inline doc block comments are not allowed; use "// Comment." instead
(#45) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#45) Scope modifier not specified for member variable "$error"
(#47) Inline doc block comments are not allowed; use "// Comment." instead
(#48) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#48) Scope modifier not specified for member variable "$flat"
(#49) Inline doc block comments are not allowed; use "// Comment." instead
(#50) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#50) Scope modifier not specified for member variable "$framework"
(#51) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#51) Scope modifier not specified for member variable "$mappings"
(#52) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#52) Scope modifier not specified for member variable "$importid"
(#53) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#53) Scope modifier not specified for member variable "$importer"
(#54) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#54) Scope modifier not specified for member variable "$foundheaders"
(#91) Whitespace found at end of line
(#108) Whitespace found at end of line
(#140) Line exceeds 132 characters; contains 179 characters
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Whitespace found at end of line
(#166) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#198) Whitespace found at end of line
(#236) Whitespace found at end of line
(#248) Whitespace found at end of line
(#385) Whitespace found at end of line
(#388) Inline comments must end in full-stops, exclamation marks, or question marks
admin/tool/lpimportcsv/continue.php
(#25) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#42) Line exceeds 132 characters; contains 139 characters
admin/tool/lpimportcsv/export.php
(#25) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#45) Whitespace found at end of line
admin/tool/lpimportcsv/index.php
(#25) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#74) 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 csslint [More info]


PHPDocs style problems

(21 errors, 0 warnings)

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

admin/tool/lpimportcsv/classes/form/import.php
(#78) Function import::set_import_error is not documented
admin/tool/lpimportcsv/classes/framework_exporter.php
(#48) Phpdocs for function framework_exporter::__construct has incomplete parameters list
admin/tool/lpimportcsv/classes/framework_importer.php
(#56) Function framework_importer::fail is not documented
(#61) Function framework_importer::get_importid is not documented
(#65) Function framework_importer::list_required_headers is not documented
(#84) Function framework_importer::list_found_headers is not documented
(#88) Function framework_importer::read_mapping_data is not documented
(#126) Function framework_importer::get_row_data is not documented
(#335) Function framework_importer::set_related is not documented
(#353) Function framework_importer::set_rules is not documented
(#51) Variable framework_importer::$mappings is not documented
(#52) Variable framework_importer::$importid is not documented
(#53) Variable framework_importer::$importer is not documented
(#54) Variable framework_importer::$foundheaders is not documented
(#252) There is no description in phpdocs for function get_error
(#133) Phpdocs for function framework_importer::__construct has incomplete parameters list
(#240) Phpdocs for function framework_importer::add_children has incomplete parameters list
(#259) Phpdocs for function framework_importer::create_competency has incomplete parameters list
(#296) Phpdocs for function framework_importer::get_scale_configuration has incomplete parameters list
(#305) Phpdocs for function framework_importer::get_scale_id has incomplete parameters list
admin/tool/lpimportcsv/lang/en/tool_lpimportcsv.php
(#20) Package tool_lp is not valid

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]