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

(11 errors, 44 warnings)

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

repository/mediawiki/db/install.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
repository/mediawiki/lib.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Inline comments must start with a capital letter, digit or 3-dots sequence
(#131) Inline comments must start with a capital letter, digit or 3-dots sequence
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#133) Inline comments must start with a capital letter, digit or 3-dots sequence
(#133) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) Inline comments must start with a capital letter, digit or 3-dots sequence
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Inline comments must start with a capital letter, digit or 3-dots sequence
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) Inline comments must start with a capital letter, digit or 3-dots sequence
(#170) Inline comments must start with a capital letter, digit or 3-dots sequence
(#171) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) Inline comments must start with a capital letter, digit or 3-dots sequence
(#186) Inline comments must end in full-stops, exclamation marks, or question marks
(#196) Inline comments must start with a capital letter, digit or 3-dots sequence
repository/mediawiki/mediawiki.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#122) Inline comments must start with a capital letter, digit or 3-dots sequence
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) Expected 1 space before "/"; 0 found
(#128) Expected 1 space after "/"; 0 found
(#131) Inline comments must start with a capital letter, digit or 3-dots sequence
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Inline comments must start with a capital letter, digit or 3-dots sequence
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Inline comments must start with a capital letter, digit or 3-dots sequence
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) Inline comments must start with a capital letter, digit or 3-dots sequence
(#177) Inline comments must end in full-stops, exclamation marks, or question marks
(#179) Inline comments must start with a capital letter, digit or 3-dots sequence
(#179) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) Inline comments must start with a capital letter, digit or 3-dots sequence
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#197) Inline comments must start with a capital letter, digit or 3-dots sequence
(#197) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) Inline comments must start with a capital letter, digit or 3-dots sequence
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#216) Expected 1 space before "=>"; 0 found
(#216) Expected 1 space after "=>"; 0 found
(#216) Inline comments must start with a capital letter, digit or 3-dots sequence
(#216) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) Inline comments must start with a capital letter, digit or 3-dots sequence
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
(#222) Expected 1 space before "=>"; 0 found
(#222) Expected 1 space after "=>"; 0 found
repository/mediawiki/tests/generator/lib.php
(#36) Expected MOODLE_INTERNAL check or config.php inclusion
repository/mediawiki/version.php
(#35) Inline comments must end in full-stops, exclamation marks, or question marks

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

(27 errors, 1 warnings)

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

repository/mediawiki/db/install.php
(#21) Category repository is not valid
repository/mediawiki/lib.php
(#39) Class repository_mediawiki is not documented
(#40) Function repository_mediawiki::__construct is not documented
(#95) Function repository_mediawiki::get_url is not documented
(#101) Function repository_mediawiki::get_api_endpoint is not documented
(#109) Function repository_mediawiki::get_common_dir is not documented
(#116) Function repository_mediawiki::get_listing is not documented
(#140) Function repository_mediawiki::check_login is not documented
(#145) Function repository_mediawiki::print_login is not documented
(#187) Function repository_mediawiki::global_search is not documented
(#190) Function repository_mediawiki::search is not documented
(#198) Function repository_mediawiki::logout is not documented
(#201) Function repository_mediawiki::supported_returntypes is not documented
(#232) Function repository_mediawiki::instance_config_form is not documented
repository/mediawiki/mediawiki.php
(#30) Class mediawiki is not documented
(#34) Function mediawiki::__construct is not documented
(#44) Function mediawiki::login is not documented
(#59) Function mediawiki::logout is not documented
(#64) Function mediawiki::get_image_url is not documented
(#85) Function mediawiki::get_images_by_page is not documented
(#31) Variable mediawiki::$_conn is not documented
(#32) Variable mediawiki::$_param is not documented
(#17) No one-line description found in phpdocs for file
(#150) Phpdocs for function mediawiki::search_images has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#109) Not recommended phpdocs tag @global used
(#30) Package is not specified for class mediawiki. It is also not specified in file-level phpdocs
repository/mediawiki/version.php
(#20) Package repository 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]