Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

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


Javascript coding style problems

(7 errors, 6 warnings)

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

mod/pdfprotect/amd/src/view_page.js
(#19) Extra space after key 'init'. (key-spacing)
(#23) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#23) Identifier 'frame_resize' is not in camel case. (camelcase)
(#26) Missing semicolon. (@babel/semi)
mod/pdfprotect/classes/output/mobile.js
(#13) 'event' is defined but never used. (no-unused-vars)
(#16) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#29) Expected { after 'if' condition. (curly)
(#41) 'respond' is defined but never used. (no-unused-vars)
(#44) Expected { after 'if' condition. (curly)
(#47) Unexpected console statement. (no-console)
(#56) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#82) Extra space after key 'context'. (key-spacing)
(#83) Extra space after key 'action'. (key-spacing)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(13 errors, 0 warnings)

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

mod/pdfprotect/backup/moodle2/restore_pdfprotect_activity_task.class.php
(#78) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#80) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#94) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#96) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/pdfprotect/backup/moodle2/restore_pdfprotect_stepslib.php
(#46) Phpdocs for function restore_pdfprotect_activity_structure_step::process_pdfprotect has incomplete parameters list
mod/pdfprotect/classes/output/mobile.php
(#36) Phpdocs for function mobile::mobile_course_view has incomplete parameters list
mod/pdfprotect/db/upgrade.php
(#28) Phpdocs for function xmldb_pdfprotect_upgrade has incomplete parameters list
mod/pdfprotect/lib.php
(#504) Phpdocs for function pdfprotect_export_contents has incomplete parameters list
(#615) Phpdocs for function pdfprotect_print_header has incomplete parameters list
(#729) Phpdocs for function pdfprotect_set_mainfile has incomplete parameters list
(#202) Inline phpdocs tag {@link get_array_of_activities()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/pdfprotect/mod_form.php
(#77) Phpdocs for function mod_pdfprotect_mod_form::data_preprocessing has incomplete parameters list
(#102) Phpdocs for function mod_pdfprotect_mod_form::validation 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

(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

(0 errors, 0 warnings)

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

mod/pdfprotect/templates/mobile_view_page.mustache
(#1) HTML validation skipped
mod/pdfprotect/templates/view_page.mustache
(#1) HTML validation skipped

Gherkin .feature problems

(0 errors, 0 warnings)

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