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

(62 errors, 23 warnings)

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

blocks/report_free_seats/block_report_free_seats.php
(#30) Visibility must be declared on method "init"
(#34) Visibility must be declared on method "applicable_formats"
(#38) Visibility must be declared on method "get_content"
blocks/report_free_seats/csvlib.class.php
(#33) Inline doc block comments are not allowed; use "// Comment." instead
(#36) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#36) Scope modifier not specified for member variable "$delimiter"
(#37) Inline doc block comments are not allowed; use "// Comment." instead
(#40) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#40) Scope modifier not specified for member variable "$csvenclosure"
(#41) Inline doc block comments are not allowed; use "// Comment." instead
(#44) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#44) Scope modifier not specified for member variable "$mimetype"
(#45) 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 "$filename"
(#49) Inline doc block comments are not allowed; use "// Comment." instead
(#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 "$path"
(#61) Line exceeds 132 characters; contains 138 characters
(#152) Inline comments must start with a capital letter, digit or 3-dots sequence
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#280) Variable "delimiter_name" must not contain underscores.
(#280) Variable "column_validation" must not contain underscores.
(#287) Inline comments must start with a capital letter, digit or 3-dots sequence
(#287) Inline comments must end in full-stops, exclamation marks, or question marks
(#289) Inline comments must end in full-stops, exclamation marks, or question marks
(#292) Variable "delimiter_name" must not contain underscores.
(#293) Inline comments must start with a capital letter, digit or 3-dots sequence
(#299) Variable "csv_delimiter" must not contain underscores.
(#299) Must use "self::" for local static member reference
(#299) Variable "delimiter_name" must not contain underscores.
(#300) Inline comments must start with a capital letter, digit or 3-dots sequence
(#300) Inline comments must end in full-stops, exclamation marks, or question marks
(#300) This comment is 50% valid code; is this commented out code?
(#315) Inline comments must start with a capital letter, digit or 3-dots sequence
(#317) Variable "csv_delimiter" must not contain underscores.
(#328) Variable "col_count" must not contain underscores.
(#330) Inline comments must start with a capital letter, digit or 3-dots sequence
(#330) Inline comments must end in full-stops, exclamation marks, or question marks
(#337) Variable "col_count" must not contain underscores.
(#341) Variable "column_validation" must not contain underscores.
(#342) Variable "column_validation" must not contain underscores.
(#351) Inline comments must start with a capital letter, digit or 3-dots sequence
(#354) Variable "col_count" must not contain underscores.
(#424) Inline comments must start with a capital letter, digit or 3-dots sequence
(#424) Inline comments must end in full-stops, exclamation marks, or question marks
(#424) No space found before comment text; expected "// skip header" but found "//skip header"
(#489) Commas (,) must be followed by white space.
(#502) Variable "delimiter_name" must not contain underscores.
(#504) Variable "delimiter_name" must not contain underscores.
(#505) Closing brace must be on a line by itself
(#506) Closing brace must be on a line by itself
(#507) Closing brace must be on a line by itself
(#508) Expected "if (...) {\n"; found "if (...) { "
(#508) Closing brace must be on a line by itself
(#509) Closing brace must be on a line by itself
(#509) Closing brace must be on a line by itself
(#510) Closing brace must be on a line by itself
(#521) Variable "delimiter_name" must not contain underscores.
(#523) Variable "delimiter_name" must not contain underscores.
(#526) Must use "self::" for local static member reference
(#526) Variable "delimiter_name" must not contain underscores.
(#542) Inline comments must start with a capital letter, digit or 3-dots sequence
(#542) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/report_free_seats/edit_form.php
(#46) Line exceeds 132 characters; contains 136 characters
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) This comment is 67% valid code; is this commented out code?
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#48) Line indented incorrectly; expected at least 8 spaces, found 2
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Line indented incorrectly; expected at least 8 spaces, found 2
blocks/report_free_seats/generate_report.php
(#43) This comment is 60% valid code; is this commented out code?
(#44) Inline control structures are not allowed
(#53) Usage of ELSEIF not allowed; use ELSE IF instead
(#55) Usage of ELSEIF not allowed; use ELSE IF instead
(#61) Whitespace found at end of line within string
(#63) Whitespace found at end of line within string
(#83) Variable "course_data" must not contain underscores.
(#98) Variable "course_data" must not contain underscores.
(#100) Variable "course_data" must not contain underscores.
(#105) Variable "course_data" must not contain underscores.
(#108) Variable "course_data" must not contain underscores.

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

(26 errors, 6 warnings)

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

blocks/report_free_seats/block_report_free_seats.php
(#28) Class block_report_free_seats is not documented
(#30) Function block_report_free_seats::init is not documented
(#34) Function block_report_free_seats::applicable_formats is not documented
(#38) Function block_report_free_seats::get_content is not documented
(#17) File-level phpdocs block does not have @license tag
(#20) Package blocks is not valid
blocks/report_free_seats/csvlib.class.php
(#32) Class csv_export_writer is not documented
(#129) Phpdocs for function csv_export_writer::set_filename has incomplete parameters list
(#499) Phpdocs for function csv_import_reader::get_delimiter has incomplete parameters list
(#518) Phpdocs for function csv_import_reader::get_encoded_delimiter has incomplete parameters list
(#534) Phpdocs for function csv_import_reader::get_new_iid has incomplete parameters list
(#17) File-level phpdocs block does not have @license tag
(#407) Not recommended phpdocs tag @global used
(#407) Not recommended phpdocs tag @global used
(#468) Not recommended phpdocs tag @global used
(#468) Not recommended phpdocs tag @global used
(#517) Not recommended phpdocs tag @global used
(#533) Not recommended phpdocs tag @global used
(#20) Package blocks is not valid
(#223) Package moodlecore is not valid
blocks/report_free_seats/db/access.php
(#17) File-level phpdocs block does not have @license tag
(#20) Package blocks is not valid
blocks/report_free_seats/edit_form.php
(#28) Class block_report_free_seats_edit_form is not documented
(#29) Function block_report_free_seats_edit_form::specific_definition is not documented
(#17) File-level phpdocs block does not have @license tag
(#20) Package blocks is not valid
blocks/report_free_seats/generate_report.php
(#30) Function user_download_csv is not documented
(#17) File-level phpdocs block does not have @license tag
(#20) Package blocks is not valid
blocks/report_free_seats/lang/en/block_report_free_seats.php
(#20) Package block_blog_menu is not valid
blocks/report_free_seats/version.php
(#17) File-level phpdocs block does not have @license tag
(#20) Package blocks 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]