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, 6 warnings)

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

local/csp/collector.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#37) Line exceeds 132 characters; contains 143 characters
local/csp/csp_report.php
(#63) Line exceeds 132 characters; contains 149 characters
(#76) Line exceeds 132 characters; contains 135 characters
local/csp/lib.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
local/csp/settings.php
(#44) Line exceeds 132 characters; contains 133 characters

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(18 errors, 0 warnings)

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

local/csp/classes/helper.php
(#17) No one-line description found in phpdocs for file
(#28) Class helper does not have @copyright tag
(#28) Class helper does not have @license tag
local/csp/classes/table/csp_report.php
(#17) No one-line description found in phpdocs for file
(#30) No one-line description found in phpdocs for class csp_report
(#41) Phpdocs for function csp_report::col_timecreated has incomplete parameters list
(#56) Phpdocs for function csp_report::col_timeupdated has incomplete parameters list
(#71) Phpdocs for function csp_report::col_documenturi has incomplete parameters list
(#90) Phpdocs for function csp_report::col_blockeduri has incomplete parameters list
(#110) Phpdocs for function csp_report::col_action has incomplete parameters list
(#30) Class csp_report does not have @copyright tag
(#30) Class csp_report does not have @license tag
(#35) Package local_csp\table is not valid
local/csp/collector.php
(#17) No one-line description found in phpdocs for file
(#73) Phpdocs for function remove_sesskey has incomplete parameters list
local/csp/lang/en/local_csp.php
(#17) No one-line description found in phpdocs for file
local/csp/lib.php
(#34) Function local_csp_before_http_headers is not documented
local/csp/mixed_content_examples.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

(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]