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

(24 errors, 3 warnings)

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

availability/condition/gps/classes/condition.php
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Expected "if (...) {\n"; found "if (...) { "
(#56) Closing brace must be on a line by itself
(#57) Expected "if (...) {\n"; found "if (...) { "
(#57) Closing brace must be on a line by itself
(#58) Expected "if (...) {\n"; found "if (...) { "
(#58) Closing brace must be on a line by itself
(#104) Expected "if (...) {\n"; found "if(...) {\n"
(#108) Usage of ELSEIF not allowed; use ELSE IF instead
(#145) Expected 1 space before "?"; 0 found
(#145) Expected 1 space after "?"; 0 found
(#145) Expected 1 space before ":"; 0 found
(#145) Expected 1 space after ":"; 0 found
(#157) Line exceeds 132 characters; contains 147 characters
availability/condition/gps/classes/frontend.php
(#30) Line indented incorrectly; expected 0 spaces, found 1
(#31) Line indented incorrectly; expected 4 spaces, found 5
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Line indented incorrectly; expected 4 spaces, found 5
(#43) Line indented incorrectly; expected 4 spaces, found 5
(#48) Line indented incorrectly; expected 4 spaces, found 5
(#50) Line indented incorrectly; expected 4 spaces, found 5
(#54) Line indented incorrectly; expected 8 spaces, found 9
(#56) Line indented incorrectly; expected 8 spaces, found 9
(#70) Line indented incorrectly; expected 8 spaces, found 9
(#71) Line indented incorrectly; expected 4 spaces, found 5
(#72) Line indented incorrectly; expected 0 spaces, found 1
availability/condition/gps/classes/privacy/provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"

Javascript coding style problems

(1 errors, 16 warnings)

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

availability/condition/gps/yui/src/form/js/form.js
(#1) Identifier 'availability_gps' is not in camel case. (camelcase)
(#3) There should be no space after '['. (array-bracket-spacing)
(#8) Unexpected console statement. (no-console)
(#23) There should be no space after this paren. (space-in-parens)
(#23) There should be no space before this paren. (space-in-parens)
(#23) There should be no space after this paren. (space-in-parens)
(#23) There should be no space before this paren. (space-in-parens)
(#24) There should be no space after this paren. (space-in-parens)
(#24) There should be no space before this paren. (space-in-parens)
(#24) There should be no space after this paren. (space-in-parens)
(#24) There should be no space before this paren. (space-in-parens)
(#35) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#54) Operator '?' must be spaced. (space-infix-ops)
(#64) Operator '?' must be spaced. (space-infix-ops)
(#72) Operator '?' must be spaced. (space-infix-ops)
(#80) Operator '?' must be spaced. (space-infix-ops)
(#115) Expected space(s) after "for". (keyword-spacing)

CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by stylelint [More info]


PHPDocs style problems

(20 errors, 0 warnings)

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

availability/condition/gps/classes/condition.php
(#47) Function condition::__construct is not documented
(#61) Function condition::save is not documented
(#77) Function condition::is_available is not documented
(#127) Function condition::get_description is not documented
(#163) Function condition::get_debug_string is not documented
(#41) Variable condition::$accuracy is not documented
(#42) Variable condition::$longitude is not documented
(#43) Variable condition::$latitude is not documented
(#44) Variable condition::$persistent is not documented
(#45) Variable condition::$reveal is not documented
availability/condition/gps/classes/frontend.php
(#30) Class frontend is not documented
(#31) Function frontend::get_javascript_strings is not documented
(#43) Function frontend::get_javascript_init_params is not documented
(#50) Function frontend::allow_add is not documented
availability/condition/gps/classes/privacy/provider.php
(#29) Class provider is not documented
(#30) Function provider::get_metadata is not documented
(#17) No one-line description found in phpdocs for file
availability/condition/gps/lang/de/availability_gps.php
(#17) No one-line description found in phpdocs for file
availability/condition/gps/lang/en/availability_gps.php
(#17) No one-line description found in phpdocs for file
availability/condition/gps/version.php
(#17) No one-line description found in phpdocs for file

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

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "eslint:yui" failed. Use --force to continue.

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]