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

(1 errors, 3 warnings)

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

local/recyclebin/classes/task/cleanup_activities.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion
local/recyclebin/classes/task/cleanup_courses.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion
local/recyclebin/db/tasks.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/recyclebin/index.php
(#25) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.

Javascript coding style problems

(2 errors, 4 warnings)

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

local/recyclebin/module.js
(#3) Identifier 'local_recyclebin' is not in camel case. (camelcase)
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#6) Missing JSDoc comment. (require-jsdoc)
(#11) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#11) 'YUI' is not defined. (no-undef)
(#11) 'Y' is defined but never used (no-unused-vars)

CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by csslint [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/recyclebin/classes/category.php
(#38) Variable category::$_categoryid is not documented
(#59) Phpdocs for function category::get_item has incomplete parameters list
(#93) Phpdocs for function category::store_item has incomplete parameters list
local/recyclebin/classes/course.php
(#38) Variable course::$_courseid is not documented
(#59) Phpdocs for function course::get_item has incomplete parameters list
(#83) Phpdocs for function course::store_item has incomplete parameters list
local/recyclebin/classes/recyclebin.php
(#48) Phpdocs for function recyclebin::get_item has incomplete parameters list
(#60) Phpdocs for function recyclebin::store_item has incomplete parameters list
local/recyclebin/cli/migrate.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag

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]