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

(6 errors, 1 warnings)

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

local/courseexpiry/classes/locallib.php
(#73) Variable "_expiredcourseids" must not contain underscores.
(#75) Variable "_expiredcourseids" must not contain underscores.
(#142) Must use "self::" for local static member reference
(#152) Inline control structures are not allowed
(#203) Inline comments must start with a capital letter, digit or 3-dots sequence
local/courseexpiry/classes/privacy/provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/courseexpiry/externallib.php
(#48) Commas (,) must be followed by white space.

Javascript coding style problems

(7 errors, 2 warnings)

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

local/courseexpiry/amd/src/main.js
(#8) Expected { after 'if' condition. (curly)
(#8) Unexpected console statement. (no-console)
(#11) 'a' is assigned a value but never used. (no-unused-vars)
(#14) Expected { after 'if' condition. (curly)
(#14) Unexpected console statement. (no-console)
(#17) There should be no space after '{'. (babel/object-curly-spacing)
(#17) There should be no space before '}'. (babel/object-curly-spacing)
(#19) Expected { after 'if' condition. (curly)
(#19) Unexpected console statement. (no-console)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(23 errors, 0 warnings)

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

local/courseexpiry/classes/locallib.php
(#28) Class locallib is not documented
(#17) No one-line description found in phpdocs for file
(#31) Phpdocs for function locallib::check_expiry has incomplete parameters list
(#175) Phpdocs for function locallib::get_lasttimedelete has incomplete parameters list
(#192) Phpdocs for function locallib::notify_users has incomplete parameters list
local/courseexpiry/classes/privacy/provider.php
(#29) Class provider is not documented
(#30) Function provider::get_reason is not documented
(#17) No one-line description found in phpdocs for file
local/courseexpiry/classes/task/task.php
(#28) Class task is not documented
(#29) Function task::get_name is not documented
(#34) Function task::execute is not documented
(#17) No one-line description found in phpdocs for file
local/courseexpiry/db/services.php
(#17) No one-line description found in phpdocs for file
local/courseexpiry/db/tasks.php
(#17) No one-line description found in phpdocs for file
local/courseexpiry/expiredcourses.php
(#17) No one-line description found in phpdocs for file
local/courseexpiry/externallib.php
(#28) Class local_courseexpiry_external is not documented
(#29) Function local_courseexpiry_external::toggle_parameters is not documented
(#17) No one-line description found in phpdocs for file
(#36) Phpdocs for function local_courseexpiry_external::toggle has incomplete parameters list
local/courseexpiry/lang/de/local_courseexpiry.php
(#17) No one-line description found in phpdocs for file
local/courseexpiry/lang/en/local_courseexpiry.php
(#17) No one-line description found in phpdocs for file
local/courseexpiry/settings.php
(#17) No one-line description found in phpdocs for file
local/courseexpiry/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:amd" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(1 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]

local/courseexpiry/templates/expiredcourses.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error

Gherkin .feature problems

(0 errors, 0 warnings)

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