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

(0 errors, 10 warnings)

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

local/moodlecheck/file.php
(#701) This comment is 50% valid code; is this commented out code?
(#701) Inline comments must start with a capital letter, digit or 3-dots sequence
(#703) Line exceeds 132 characters; contains 173 characters
(#704) Inline comments must end in full-stops, exclamation marks, or question marks
(#704) This comment is 50% valid code; is this commented out code?
local/moodlecheck/rules/phpdocs_basic.php
(#27) Line exceeds 132 characters; contains 136 characters
(#43) Line exceeds 132 characters; contains 150 characters
(#44) Line exceeds 132 characters; contains 144 characters
(#447) Line exceeds 132 characters; contains 133 characters
(#483) Line exceeds 132 characters; contains 145 characters

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

(66 errors, 3 warnings)

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

local/moodlecheck/file.php
(#35) Variable local_moodlecheck_file::$filepath is not documented
(#36) Variable local_moodlecheck_file::$needsvalidation is not documented
(#37) Variable local_moodlecheck_file::$errors is not documented
(#38) Variable local_moodlecheck_file::$tokens is not documented
(#39) Variable local_moodlecheck_file::$tokenscount is not documented
(#40) Variable local_moodlecheck_file::$classes is not documented
(#41) Variable local_moodlecheck_file::$functions is not documented
(#42) Variable local_moodlecheck_file::$filephpdocs is not documented
(#43) Variable local_moodlecheck_file::$allphpdocs is not documented
(#44) Variable local_moodlecheck_file::$variables is not documented
(#45) Variable local_moodlecheck_file::$defines is not documented
(#46) Variable local_moodlecheck_file::$constants is not documented
(#1137) Inline phpdocs tag {@link self::$validtags} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
local/moodlecheck/locallib.php
(#43) Function local_moodlecheck_rule::__construct is not documented
(#47) Function local_moodlecheck_rule::set_callback is not documented
(#52) Function local_moodlecheck_rule::set_rulestring is not documented
(#57) Function local_moodlecheck_rule::set_errorstring is not documented
(#62) Function local_moodlecheck_rule::set_severity is not documented
(#67) Function local_moodlecheck_rule::get_name is not documented
(#77) Function local_moodlecheck_rule::get_error_message is not documented
(#98) Function local_moodlecheck_rule::validatefile is not documented
(#125) Function local_moodlecheck_registry::add_rule is not documented
(#131) Function local_moodlecheck_registry::get_registered_rules is not documented
(#135) Function local_moodlecheck_registry::enable_rule is not documented
(#149) Function local_moodlecheck_registry::get_enabled_rules is not documented
(#153) Function local_moodlecheck_registry::enable_all_rules is not documented
(#175) Function local_moodlecheck_path::__construct is not documented
(#186) Function local_moodlecheck_path::get_fullpath is not documented
(#195) Function local_moodlecheck_path::validate is not documented
(#218) Function local_moodlecheck_path::is_ignored is not documented
(#229) Function local_moodlecheck_path::is_file is not documented
(#233) Function local_moodlecheck_path::is_dir is not documented
(#237) Function local_moodlecheck_path::get_path is not documented
(#241) Function local_moodlecheck_path::get_file is not documented
(#245) Function local_moodlecheck_path::get_subpaths is not documented
(#249) Function local_moodlecheck_path::set_rootpath is not documented
(#253) Function local_moodlecheck_path::is_rootpath is not documented
(#257) Function local_moodlecheck_path::get_components is not documented
(#294) Function local_moodlecheck_form::definition is not documented
(#37) Variable local_moodlecheck_rule::$code is not documented
(#38) Variable local_moodlecheck_rule::$callback is not documented
(#39) Variable local_moodlecheck_rule::$rulestring is not documented
(#40) Variable local_moodlecheck_rule::$errorstring is not documented
(#41) Variable local_moodlecheck_rule::$severity is not documented
(#122) Variable local_moodlecheck_registry::$rules is not documented
(#123) Variable local_moodlecheck_registry::$enabledrules is not documented
(#168) Variable local_moodlecheck_path::$path is not documented
(#169) Variable local_moodlecheck_path::$ignorepaths is not documented
(#170) Variable local_moodlecheck_path::$file is not documented
(#171) Variable local_moodlecheck_path::$subpaths is not documented
(#172) Variable local_moodlecheck_path::$validated is not documented
(#173) Variable local_moodlecheck_path::$rootpath is not documented
local/moodlecheck/tests/fixtures/phpdoc_tags_general.php
(#58) Invalid phpdocs tag @small used
(#59) Invalid phpdocs tag @zzzing used
(#60) Invalid phpdocs tag @inheritdoc used
(#55) Incorrect path for phpdocs tag @covers detected
(#56) Incorrect path for phpdocs tag @dataProvider detected
(#57) Incorrect path for phpdocs tag @group detected
local/moodlecheck/tests/fixtures/phpdoc_tags_inline.php
(#69) Invalid inline phpdocs tag @param found
(#70) Invalid inline phpdocs tag @throws found
(#74) Inline phpdocs tag not enclosed with curly brackets @see found
(#71) Inline phpdocs tag {@link tags have to be 1 url} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#72) Inline phpdocs tag {@see must be 1 word only} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#66) Inline phpdocs tag {@see $this->tagrules['url']} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
local/moodlecheck/tests/fixtures/phpdoc_tags_test.php
(#66) Invalid phpdocs tag @small used
(#67) Invalid phpdocs tag @zzzing used
(#68) Invalid phpdocs tag @inheritdoc used
local/moodlecheck/tests/moodlecheck_rules_test.php
(#30) Class local_moodlecheck_rules_testcase is not documented
(#22) Category phpunit 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]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]