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

(0 errors, 2 warnings)

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

local/analytics/db/upgrade.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
local/analytics/lib.php
(#32) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.

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

(14 errors, 0 warnings)

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

local/analytics/classes/api/analytics.php
(#35) Class analytics does not have @copyright tag
(#35) Class analytics does not have @license tag
local/analytics/classes/api/ganalytics.php
(#34) Class ganalytics is not documented
(#35) Function ganalytics::insert_tracking is not documented
local/analytics/classes/api/guniversal.php
(#35) Class guniversal is not documented
(#36) Function guniversal::insert_tracking is not documented
local/analytics/classes/api/piwik.php
(#37) Class piwik is not documented
(#38) Function piwik::insert_tracking is not documented
local/analytics/classes/injector.php
(#41) Function injector::inject is not documented
(#70) Function injector::reset is not documented
(#17) No one-line description found in phpdocs for file
local/analytics/classes/privacy/provider.php
(#28) No one-line description found in phpdocs for class provider
local/analytics/db/upgrade.php
(#17) File-level phpdocs block is not found
(#17) Phpdocs for function xmldb_local_analytics_upgrade has incomplete parameters list

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

(3 errors, 0 warnings)

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

local/analytics/templates/ganalytics.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
local/analytics/templates/guniversal.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
local/analytics/templates/piwik.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error