Prechecker results: error


PHP lint problems

(1 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]

admin/tool/inactive_user_cleanup/classes/privacy/provider.php
(#29) PHP Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /admin/tool/inactive_user_cleanup/classes/privacy/provider.php on line 29

PHP coding style problems

(23 errors, 12 warnings)

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

admin/tool/inactive_user_cleanup/classes/privacy/provider.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#73) Short array syntax must be used to define arrays
(#107) File must end with a newline character
admin/tool/inactive_user_cleanup/classes/task/tool_inactive_user_cleanup_task.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#33) Expected 1 space(s) before asterisk; 0 found
(#50) Commas (,) must be followed by white space.
(#53) Expected "if (...) {\n"; found "if(...){\n"
(#53) Expected 1 space before ">"; 0 found
(#53) Expected 1 space after ">"; 0 found
(#56) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#67) Commas (,) must be followed by white space.
(#69) Commas (,) must be followed by white space.
(#78) Short array syntax must be used to define arrays
(#85) Commas (,) must be followed by white space.
(#86) Commas (,) must be followed by white space.
(#92) Expected "} else {\n"; found "}else{\n"
(#93) Commas (,) must be followed by white space.
(#95) Whitespace found at end of line
(#95) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#97) Commas (,) must be followed by white space.
admin/tool/inactive_user_cleanup/db/access.php
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#34) There should be a comma after the last array item in a multi-line array.
admin/tool/inactive_user_cleanup/db/tasks.php
(#25) Short array syntax must be used to define arrays
(#26) Short array syntax must be used to define arrays
(#33) There should be a comma after the last array item in a multi-line array.
(#34) There should be a comma after the last array item in a multi-line array.
(#35) File must end with a newline character
admin/tool/inactive_user_cleanup/index.php
(#51) File must end with a newline character
admin/tool/inactive_user_cleanup/settings_form.php
(#44) Commas (,) must be followed by white space.
(#44) Commas (,) must be followed by white space.
(#51) Short array syntax must be used to define arrays
(#52) There should be a comma after the last array item in a multi-line array.

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

(0 errors, 0 warnings)

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


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]