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

(13 errors, 6 warnings)

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

local/catdup/classes/local_catdup_main_form.php
(#87) File must end with a newline character
local/catdup/classes/privacy/provider.php
(#40) File must end with a newline character
local/catdup/classes/task/duplicate_task.php
(#43) The use of function print_r() is forbidden
(#44) The use of function print_r() is forbidden
(#48) Line exceeds maximum limit of 180 characters; contains 213 characters
local/catdup/lang/en/local_catdup.php
(#37) File must end with a newline character
local/catdup/locallib.php
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) This comment is 44% valid code; is this commented out code?
(#42) No space found before comment text; expected "// for higher version" but found "//for higher version"
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) No space found before comment text; expected "// require_once( __DIR__ . '/../../lib/coursecatlib.php');" but found "//require_once( __DIR__ . '/../../lib/coursecatlib.php');"
(#72) Inline comments must start with a capital letter, digit or 3-dots sequence
(#72) This comment is 48% valid code; is this commented out code?
(#72) No space found before comment text; expected "// for higher version" but found "//for higher version"
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) No space found before comment text; expected "// $newcat = coursecat::create($data);" but found "//$newcat = coursecat::create($data);"
(#92) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#174) File must end with a newline character
local/catdup/settings.php
(#32) File must end with a newline character

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

(10 errors, 0 warnings)

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

local/catdup/classes/local_catdup_main_form.php
(#28) Class local_catdup_main_form is not documented
(#29) Function local_catdup_main_form::definition is not documented
(#77) Function local_catdup_main_form::validation is not documented
local/catdup/classes/privacy/provider.php
(#27) Class provider is not documented
local/catdup/classes/task/duplicate_task.php
(#33) Function duplicate_task::execute is not documented
local/catdup/lib.php
(#27) Function local_catdup_extend_settings_navigation is not documented
local/catdup/locallib.php
(#27) Function local_catdup_get_courses is not documented
(#33) Function local_catdup_get_categories is not documented
(#39) Function local_catdup_duplicate is not documented
(#86) Function local_catdup_duplicate_course is not documented

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]